bmitch/churn-php

View on GitHub
phpstan.neon

Summary

Maintainability
Test Coverage
parameters:
  level: 8
  paths:
    - %currentWorkingDirectory%/src/
    - %currentWorkingDirectory%/tests/

  bootstrapFiles:
    - vendor/bin/.phpunit/phpunit/vendor/autoload.php
    - tests/Integration/Command/Assets/hooks

  checkGenericClassInNonGenericObjectType: false
  reportUnmatchedIgnoredErrors: true
  ignoreErrors:
    - '/^Casting to .+ something that''s already/'

  checkTooWideReturnTypesInProtectedAndPublicMethods: true
  checkUninitializedProperties: true

  symfony:
    console_application_loader: %currentWorkingDirectory%/tests/console-application.php