Skip to content

Commit

Permalink
Use phpstan extension installer (#6592)
Browse files Browse the repository at this point in the history
* Use phpstan extension installer

* Remove not reported errors
  • Loading branch information
VincentLanglet committed Nov 15, 2020
1 parent d0cffae commit f87ea9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"matthiasnoback/symfony-config-test": "^4.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"phpdocumentor/reflection-docblock": "^5.2",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.29",
"phpstan/phpstan-symfony": "^0.12.10",
"psalm/plugin-symfony": "^2.0",
Expand Down
18 changes: 0 additions & 18 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -127,24 +127,6 @@ parameters:
count: 1
path: src/Datagrid/ListMapper.php

-
# will be fixed in v4. Currently BC break
message: "#^Constructor of class Sonata\\\\AdminBundle\\\\Form\\\\DataTransformer\\\\ModelsToArrayTransformer has an unused parameter \\$choiceList\\.$#"
count: 1
path: src/Form/DataTransformer/ModelsToArrayTransformer.php

-
# will be fixed in v4. Currently BC break
message: "#^Constructor of class Sonata\\\\AdminBundle\\\\Form\\\\DataTransformer\\\\ModelsToArrayTransformer has an unused parameter \\$class\\.$#"
count: 1
path: src/Form/DataTransformer/ModelsToArrayTransformer.php

-
# will be fixed in v4. Currently BC break
message: "#^Constructor of class Sonata\\\\AdminBundle\\\\Form\\\\DataTransformer\\\\ModelsToArrayTransformer has an unused parameter \\$modelManager\\.$#"
count: 1
path: src/Form/DataTransformer/ModelsToArrayTransformer.php

-
# will be fixed in v4. Currently BC break
message: "#^Method Sonata\\\\AdminBundle\\\\Admin\\\\AdminInterface\\<object\\>\\:\\:getFormGroups\\(\\) invoked with 1 parameter, 0 required\\.$#"
Expand Down

0 comments on commit f87ea9f

Please sign in to comment.