Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed some PHPStan ignoreErrors #5356

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,6 @@ parameters:
count: 1
path: lizmap/modules/lizmap/lib/Form/QgisForm.php

-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$cnx$#"
count: 1
path: lizmap/modules/lizmap/lib/Form/QgisForm.php

-
message: "#^Result of && is always false\\.$#"
count: 2
Expand Down Expand Up @@ -459,11 +454,6 @@ parameters:
count: 3
path: lizmap/modules/lizmap/lib/Form/QgisFormControl.php

-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$aliasXml$#"
count: 1
path: lizmap/modules/lizmap/lib/Form/QgisFormControl.php

-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 3
Expand Down Expand Up @@ -514,11 +504,6 @@ parameters:
count: 1
path: lizmap/modules/lizmap/lib/Project/ProjectCache.php

-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$props$#"
count: 1
path: lizmap/modules/lizmap/lib/Project/ProjectCache.php

-
message: "#^Left side of && is always true\\.$#"
count: 1
Expand Down Expand Up @@ -584,11 +569,6 @@ parameters:
count: 1
path: lizmap/modules/view/classes/lizmapMapDockItem.class.php

-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$repository$#"
count: 1
path: lizmap/modules/view/controllers/default.classic.php

-
message: "#^Inner named functions are not supported by PHPStan\\. Consider refactoring to an anonymous function, class method, or a top\\-level\\-defined function\\. See issue \\#165 \\(https\\://github\\.com/phpstan/phpstan/issues/165\\) for more details\\.$#"
count: 1
Expand Down
Loading