gnu-social/phpstan.neon

51 lines
1.4 KiB
Plaintext

parameters:
level: 5
bootstrapFiles:
- config/bootstrap.php
paths:
- src
- tests
- components
- plugins
excludePaths:
- plugins/ActivityPub
- plugins/Poll
- components/FreeNetwork
- tests/CodeCeption/_support/
earlyTerminatingMethodCalls:
App\Core\Log:
- unexpected_exception
ignoreErrors:
-
message: '/Access to an undefined property App\\Util\\Bitmap::\$\w+/'
paths:
- *
-
message: '/^Property App\\PHPStan\\ClassFromTableNameDynamicStaticMethodReturnTypeExtension::\$provider is never read, only written\./'
path: src/PHPStan/ClassFromTableNameDynamicStaticMethodReturnTypeExtension.php
-
message: '/Parameter \$I of method [a-zA-Z]+::[a-zA-Z_]+\(\) has invalid type AcceptanceTester\./'
paths:
- *
-
message: '/Call to method [a-zA-Z]+\(\) on an unknown class AcceptanceTester\./'
paths:
- *
# -
# message: '/has no return typehint specified/'
# paths:
# - tests/*
services:
-
class: App\PHPStan\ClassFromTableNameDynamicStaticMethodReturnTypeExtension
tags:
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
-
class: App\PHPStan\GNUsocialProvider