Files
php-flasher/docs/pages/phpstan.md
T
2024-04-12 07:10:52 +00:00

1021 B

permalink, title, description
permalink title description
/phpstan/ PHPStan Seamlessly integrate PHPFlasher with PHPStan to validate dynamic methods and enhance code analysis in your projects. This open-source initiative is designed to help maintain clean and reliable code with minimal configuration.

PHPFlasher extension for PHPStan

{% PHPFlasher %} extends PHPStan by providing a straightforward solution to validate dynamic methods. This integration aids in keeping your code analysis precise and free of errors that may occur due to the dynamic nature of {% PHPFlasher %}.


Configuration

Add the {% PHPFlasher %} extension to your PHPStan setup by updating your project's phpstan.neon file:

includes:
    - vendor/php-flasher/flasher/extension.neon

By including this configuration, PHPStan will recognize and validate all dynamic methods introduced by {% PHPFlasher %}, ensuring a clean and accurate code analysis process.