New developer command to test all third-party extensions
* `composer run-script phpstan-third-party` * Rename the directory for generate.php to `third-party` instead of `tmp` * Take advantage of PHPStan checkMissingOverrideMethodAttribute https://phpstan.org/config-reference#checkmissingoverridemethodattribute * Detected and fixed bug in URL of https://github.com/tunbridgep/freshrss-invidious
This commit is contained in:
parent
9f21984b8c
commit
cc6bf0d1e6
45 changed files with 192 additions and 100 deletions
24
phpstan-third-party.neon
Normal file
24
phpstan-third-party.neon
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
parameters:
|
||||
level: 0
|
||||
treatPhpDocTypesAsCertain: false
|
||||
fileExtensions:
|
||||
- php
|
||||
- phtml
|
||||
paths:
|
||||
- ../FreshRSS
|
||||
- third-party/
|
||||
excludePaths:
|
||||
analyse:
|
||||
- ../FreshRSS
|
||||
- third-party/*/vendor/*
|
||||
analyseAndScan:
|
||||
- .git/
|
||||
- node_modules/
|
||||
- symbolic/
|
||||
- third-party/*/tests/*
|
||||
- tmp/
|
||||
- vendor/
|
||||
- xExtension-*
|
||||
dynamicConstantNames:
|
||||
- TYPE_GIT
|
||||
reportMaybesInPropertyPhpDocTypes: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue