Files
archived-recipes-contrib/kocal/symfony-app-pack/1.0/phpstan.dist.neon
Hugo Alliaume cdc5b03530 [Kocal/SymfonyAppPack] Add recipe (#1936)
* [Kocal/SymfonyAppPack] Add recipe

* Remove Makefile from copy-from-recipe
2026-02-11 03:01:04 +04:00

37 lines
1.2 KiB
Plaintext

includes:
- vendor/kocal/phpstan-symfony-ux/extension.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- tools/phpstan/symfony-configuration.php
parameters:
level: 9
paths:
- bin/
- config/
- public/
- src/
- tools/
- tests/
excludePaths:
- config/reference.php
- tools/.cache
tmpDir: tools/.cache/phpstan
symfony:
consoleApplicationLoader: tools/phpstan/console-application.php
doctrine:
objectManagerLoader: tools/phpstan/object-manager.php
rules:
- Kocal\PHPStanSymfonyUX\Rules\TwigComponent\ClassMustBeFinalRule
- Kocal\PHPStanSymfonyUX\Rules\TwigComponent\ClassNameMustNotEndWithComponentRule
- Kocal\PHPStanSymfonyUX\Rules\TwigComponent\ForbiddenAttributesPropertyRule
- Kocal\PHPStanSymfonyUX\Rules\TwigComponent\ForbiddenClassPropertyRule
- Kocal\PHPStanSymfonyUX\Rules\TwigComponent\MethodsVisibilityRule
- Kocal\PHPStanSymfonyUX\Rules\TwigComponent\PostMountMethodSignatureRule
- Kocal\PHPStanSymfonyUX\Rules\TwigComponent\PreMountMethodSignatureRule
- Kocal\PHPStanSymfonyUX\Rules\TwigComponent\PublicPropertiesMustBeCamelCaseRule