Skip to content
Snippets Groups Projects
Select Git revision
  • 9bf2b4a9cd1f5bb4cb8cbaa16f10dfadd077bf1e
  • main default protected
  • v0.2.1
  • v0.2.0
  • v0.1.2
  • v0.1.0
  • v0.1.1
7 results

phpstan.neon

Blame
  • Christoph Reiter's avatar
    Reiter, Christoph authored
    This adds one config entry and injects the value into a service when the bundle gets loaded.
    
    See the README changes for how to set the config in the symfony app.
    
    Fixes #2
    cc5c4582
    History
    phpstan.neon 425 B
    includes:
        - vendor/phpstan/phpstan-phpunit/extension.neon
    
    parameters:
        inferPrivatePropertyTypeFromConstructor: true
        level: 3
        paths:
            - src
            - tests
        bootstrapFiles:
            - vendor/bin/.phpunit/phpunit-9-0/vendor/autoload.php
        excludes_analyse:
            - tests/bootstrap.php
        ignoreErrors:
            - message: '#.*NodeDefinition::children.*#'
              path: ./src/DependencyInjection