Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 673 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 673 Bytes

TYPO3 extension for PHPStan

TYPO3 CMS class reflection extension for PHPStan & framework-specific rules

Build Status

Configuration

Put this into your phpstan.neon config:

includes:
    - vendor/saschaegerer/phpstan-typo3/extension.neon

If you do use constants of TYPO3 core you may have to bootstrap TYPO3 first. This can be done by using the unit testing bootstrap of the testing-framework

parameters:
    autoload_files:
        - %rootDir%/../../typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php