-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpstan.neon
More file actions
41 lines (41 loc) · 3.67 KB
/
phpstan.neon
File metadata and controls
41 lines (41 loc) · 3.67 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
33
34
35
36
37
38
39
40
41
includes:
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
parameters:
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
level: 8
paths:
- src
- tests
excludePaths:
- src/Bundle/DataGridBundle/DependencyInjection/Configuration.php
- src/Bundle/DataSourceBundle/DependencyInjection/Configuration.php
- tests/Bundle/DataGridBundle/Fixtures/var?
- tests/Bundle/DataSourceBundle/Fixtures/var?
ignoreErrors:
- message: '#Property Symfony\\Component\\HttpFoundation\\Request::\$request \(Symfony\\Component\\HttpFoundation\\InputBag\) does not accept Symfony\\Component\\HttpFoundation\\InputBag(.*)\|Symfony\\Component\\HttpFoundation\\ParameterBag\.#'
path: tests/Bundle/DataGridBundle/DataGrid/EventSubscriber/BindRequestTest.php
- message: '#Property Symfony\\Component\\HttpFoundation\\Request::\$request \(Symfony\\Component\\HttpFoundation\\ParameterBag\) does not accept Symfony\\Component\\HttpFoundation\\InputBag(.*)\|Symfony\\Component\\HttpFoundation\\ParameterBag\.#'
path: tests/Bundle/DataGridBundle/DataGrid/EventSubscriber/BindRequestTest.php
- message: '#Call to method set\(\) on an unknown class Symfony\\Component\\HttpFoundation\\InputBag\.#'
path: tests/Bundle/DataGridBundle/DataGrid/EventSubscriber/BindRequestTest.php
- message: '#Strict comparison using === between false and array will always evaluate to false\.#'
path: src/Component/DataIndexer/DoctrineDataIndexer.php
- message: '#PHPDoc tag @return contains generic type Gedmo\\Tree\\RepositoryInterface<object> but interface Gedmo\\Tree\\RepositoryInterface is not generic\.#'
path: src/Component/DataGrid/Gedmo/ColumnType/Tree.php
- message: '#Call to an undefined method Tests\\FSi\\Component\\DataGrid\\ColumnTypeExtension\\ValueFormatColumnOptionsExtensionTest\:\:expectError\(\)\.#'
path: tests/Component/DataGrid/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php
- message: "#Call to function method_exists\\(\\) with \\$this\\(Tests\\\\FSi\\\\Component\\\\DataGrid\\\\ColumnTypeExtension\\\\ValueFormatColumnOptionsExtensionTest\\) and 'expectError' will always evaluate to false.#"
path: tests/Component/DataGrid/ColumnTypeExtension/ValueFormatColumnOptionsExtensionTest.php
- message: "#Return type of call to method PHPUnit\\\\Framework\\\\MockObject\\\\MockBuilder<Doctrine\\\\ORM\\\\Query>::getMock\\(\\) contains unresolvable type\\.#"
path: tests/Bundle/DataGridBundle/DataGrid/ColumnTypeExtension/FormExtensionTest.php
- message: '#Access to an undefined property Doctrine\\ORM\\Mapping\\ClassMetadata<Tests\\FSi\\Bundle\\DataGridBundle\\Fixtures\\EntityCategory>::\$propertyAccessors\.#'
path: 'tests/Bundle/DataGridBundle/DataGrid/ColumnTypeExtension/FormExtensionTest.php'
- message: '#.*Symfony\\Component\\Routing\\RouteCollectionBuilder.*#'
path: 'tests/Bundle/DataGridBundle/Fixtures/TestKernel.php'
- message: '#.*Symfony\\Component\\Routing\\RouteCollectionBuilder.*#'
path: 'tests/Bundle/DataSourceBundle/Fixtures/TestKernel.php'
- message: "#Property Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata<Tests\\\\FSi\\\\Bundle\\\\DataGridBundle\\\\Fixtures\\\\EntityCategory>::\\$fieldMappings \\(array<string, Doctrine\\\\ORM\\\\Mapping\\\\FieldMapping>\\) does not accept array<string, array<string, array\\|string>>\\.#"
- message: '#Call to an undefined method Doctrine\\DBAL\\Query\\QueryBuilder::\w+\(\).#'
path: 'src/Component/DataSource/Driver/Doctrine/DBAL/Paginator.php'