give
Last commit date
.phpstan
3 years ago
assets
3 years ago
blocks
3 years ago
includes
3 years ago
languages
3 years ago
sample-data
6 years ago
src
3 years ago
templates
3 years ago
vendor
3 years ago
.phpstorm.meta.php
4 years ago
changelog.txt
5 years ago
give.php
3 years ago
license.txt
6 years ago
phpstan.neon
3 years ago
readme.txt
3 years ago
uninstall.php
3 years ago
wpml-config.xml
6 years ago
phpstan.neon
33 lines
| 1 | includes: |
| 2 | - vendor/timeweb/phpstan-enum/extension.neon |
| 3 | - vendor/szepeviktor/phpstan-wordpress/extension.neon |
| 4 | |
| 5 | parameters: |
| 6 | level: 0 |
| 7 | paths: |
| 8 | - src/ |
| 9 | bootstrapFiles: |
| 10 | - give.php |
| 11 | scanDirectories: |
| 12 | - includes/ |
| 13 | - vendor/vendor-prefixed/ |
| 14 | scanFiles: |
| 15 | - vendor/wordpress/wordpress/src/wp-includes/compat.php |
| 16 | excludePaths: |
| 17 | analyse: |
| 18 | - src/LegacySubscriptions/includes/ # Scan but do not analyse |
| 19 | analyseAndScan: |
| 20 | - src/Form/LegacyConsumer/ServiceProvider.php # Needs a closer look |
| 21 | - src/Framework/FieldsAPI/Concerns/HasType.php # Trait assumes class constant TYPE, which is defined on each Node class. |
| 22 | - src/Framework/Migrations/ # Give\Framework\Migrations\Actions has use of undefined constant MigrationsRunner::MIGRATION_OPTION |
| 23 | - src/Framework/PaymentGateways/ # Known use of unsafe static |
| 24 | - src/PaymentGateways/Actions/CreateSubscriptionAction/ # phpstan isn't finding inherited constructor for LegacySubscriber |
| 25 | - src/TestData/ # Non-production code. |
| 26 | - src/Tracking/Events/ThemeTracking.php # Unsure how undefined property $trackId is supposed to be declared or used. |
| 27 | |
| 28 | services: |
| 29 | - |
| 30 | class: Give\PHPStan\Log\StaticFacadeMethodsReflectionExtension |
| 31 | tags: |
| 32 | - phpstan.broker.methodsClassReflectionExtension |
| 33 |