mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-13 17:23:27 +03:00
- Fixed issue causing default-namespace to add duplicate namespace when using type-hints (issue: #561). - Fixed phpstan issues. - Tests: Fixed TestRouter not resetting namespace upon reset. - Tests: Added NSController (namespace controller) class. - Tests: added test for class hint + default namespace case. - Composer: added phpstan support + configuration. - Composer: updated phpunit version.
22 lines
580 B
Plaintext
22 lines
580 B
Plaintext
parameters:
|
|
level: 6
|
|
paths:
|
|
- src
|
|
fileExtensions:
|
|
- php
|
|
bootstrapFiles:
|
|
- ./vendor/autoload.php
|
|
ignoreErrors:
|
|
reportUnmatchedIgnoredErrors: true
|
|
checkMissingIterableValueType: false
|
|
checkGenericClassInNonGenericObjectType: false
|
|
parallel:
|
|
processTimeout: 300.0
|
|
jobSize: 10
|
|
maximumNumberOfProcesses: 4
|
|
minimumNumberOfJobsPerProcess: 4
|
|
includes:
|
|
- vendor/phpstan/phpstan-strict-rules/rules.neon
|
|
- vendor/phpstan/phpstan-phpunit/extension.neon
|
|
- vendor/phpstan/phpstan-phpunit/rules.neon
|
|
- vendor/phpstan/phpstan-deprecation-rules/rules.neon |