HEX
Server: Apache
System: Linux wyse1.wyseservers.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64
User: kochikidswysewor (1061)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: /home/kochikidswysewor/public_html/wp-content/plugins/give/phpstan.neon
includes:
    - vendor/timeweb/phpstan-enum/extension.neon
    - vendor/szepeviktor/phpstan-wordpress/extension.neon

parameters:
    level: 0
    paths:
        - src/
    bootstrapFiles:
        - give.php
    scanDirectories:
        - includes/
        - vendor/vendor-prefixed/
    scanFiles:
        - vendor/wordpress/wordpress/src/wp-includes/compat.php
    excludePaths:
        analyse:
            - src/LegacySubscriptions/includes/ # Scan but do not analyse
        analyseAndScan:
            - src/Form/LegacyConsumer/ServiceProvider.php # Needs a closer look
            - src/Framework/FieldsAPI/Concerns/HasType.php # Trait assumes class constant TYPE, which is defined on each Node class.
            - src/Framework/Migrations/ # Give\Framework\Migrations\Actions has use of undefined constant MigrationsRunner::MIGRATION_OPTION
            - src/Framework/PaymentGateways/ # Known use of unsafe static
            - src/PaymentGateways/Actions/CreateSubscriptionAction/ # phpstan isn't finding inherited constructor for LegacySubscriber
            - src/TestData/ # Non-production code.
            - src/Tracking/Events/ThemeTracking.php # Unsure how undefined property $trackId is supposed to be declared or used.

services:
  -
    class: Give\PHPStan\Log\StaticFacadeMethodsReflectionExtension
    tags:
      - phpstan.broker.methodsClassReflectionExtension