Skip to content

Commit 21063cf

Browse files
Quote the SuppressWarnings value so PHPStan can parse it
PHPStan parses an unquoted @SuppressWarnings value as an expression and fails on the dot in PHPMD.UnusedFormalParameter. The quoted form is valid PHPMD and parses cleanly, so both analysers pass.
1 parent efb52c2 commit 21063cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Providers/AuthServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class AuthServiceProvider extends ServiceProvider
9191
*
9292
* @return void
9393
*
94-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
94+
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
9595
*/
9696
public function boot()
9797
{

0 commit comments

Comments
 (0)