-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
32 lines (30 loc) · 1.22 KB
/
phpstan.dist.neon
File metadata and controls
32 lines (30 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- ../../.phpstan/extension.neon
parameters:
level: 6
paths:
- src/
- tests/
ignoreErrors:
-
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
-
message: '#^Call to( static)? method PHPUnit\\Framework\\Assert::.* will always evaluate to true\.$#'
reportUnmatched: false
-
message: '#\\AuthorizationCheckerInterface::isGranted\(\) invoked with 3 parameters, 1-2 required#'
path: src/*
reportUnmatched: false # only needed for Symfony <= 7.4 versions
-
message: '#method_exists\(\) with Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException and ''setAccessDecision'' will always evaluate to true#'
path: src/*
reportUnmatched: false # only needed for Symfony < 7.3 versions
-
identifier: empty.notAllowed
path: config/options.php
services:
- # Conditionally enabled by bleeding edge in phpstan/phpstan-phpunit 2.x
class: PHPStan\Type\PHPUnit\DataProviderReturnTypeIgnoreExtension
tags:
- phpstan.ignoreErrorExtension