File tree Expand file tree Collapse file tree 4 files changed +10
-60
lines changed Expand file tree Collapse file tree 4 files changed +10
-60
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,13 @@ Put this into your phpstan.neon config:
99includes:
1010 - vendor/saschaegerer/phpstan-typo3/extension.neon
1111```
12+
13+ If you do use constants of TYPO3 core you may have to
14+ bootstrap TYPO3 first. This can be done by using the
15+ unit testing bootstrap of the testing-framework
16+
17+ ```
18+ parameters:
19+ autoload_files:
20+ - %rootDir%/../../typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php
21+ ```
Original file line number Diff line number Diff line change 1- parameters :
2- bootstrap : %rootDir%/../../saschaegerer/phpstan-typo3/src/PhpstanTypo3Bootstrap.php
3-
41services :
52 -
63 class : SaschaEgerer\PhpstanTypo3\Reflection\RepositoryMethodsClassReflectionExtension
Original file line number Diff line number Diff line change 11includes :
22 - vendor/phpstan/phpstan-strict-rules/rules.neon
3- parameters :
4- excludes_analyse :
5- - src/PhpstanTypo3Bootstrap.php
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments