Skip to content

Commit

Permalink
Use PHPStan v1
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Dec 2, 2021
1 parent bdba7f4 commit 7cbbf39
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"matthiasnoback/symfony-dependency-injection-test": "^4.2",
"mikey179/vfsstream": "^1.6.8",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "0.12.99",
"phpstan/phpstan-phpunit": "0.12.22",
"phpstan/phpstan-strict-rules": "^0.12.7",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "0.16.1",
"vimeo/psalm": "^4.13.1"
Expand Down
35 changes: 35 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,38 @@ parameters:
count: 1
path: src/DependencyInjection/Configuration.php

-
message: "#^Cannot access offset 'browser' on mixed\\.$#"
count: 1
path: src/DependencyInjection/TracyBlueScreenExtension.php

-
message: "#^Cannot access offset 'collapse_paths' on mixed\\.$#"
count: 1
path: src/DependencyInjection/TracyBlueScreenExtension.php

-
message: "#^Cannot access offset 'enabled' on mixed\\.$#"
count: 2
path: src/DependencyInjection/TracyBlueScreenExtension.php

-
message: "#^Cannot access offset 'listener_priority' on mixed\\.$#"
count: 2
path: src/DependencyInjection/TracyBlueScreenExtension.php

-
message: "#^Cannot access offset 'log_directory' on mixed\\.$#"
count: 1
path: src/DependencyInjection/TracyBlueScreenExtension.php

-
message: "#^Parameter \\#1 \\$configOption of method Cdn77\\\\TracyBlueScreenBundle\\\\DependencyInjection\\\\TracyBlueScreenExtension\\:\\:isEnabled\\(\\) expects bool\\|null, mixed given\\.$#"
count: 2
path: src/DependencyInjection/TracyBlueScreenExtension.php

-
message: "#^Parameter \\#2 \\$value of method Symfony\\\\Component\\\\DependencyInjection\\\\Container\\:\\:setParameter\\(\\) expects array\\|bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
count: 5
path: src/DependencyInjection/TracyBlueScreenExtension.php

0 comments on commit 7cbbf39

Please sign in to comment.