includes: - vendor/szepeviktor/phpstan-wordpress/extension.neon # Baseline: existing type-completeness debt (mostly missing iterable value # types + WP template-scope variables). New code is checked clean at L6. # Burn down incrementally; regenerate with `composer stan:baseline`. - phpstan-baseline.neon parameters: level: 6 paths: - includes - admin - cli - modules - 2meet-data-optimizer.php - uninstall.php bootstrapFiles: # Plugin constants (define()'d at runtime; PHPStan can't see them). - .phpstan/stubs.php scanFiles: # WP-CLI classes/functions (runtime-injected by wp-cli; use official stubs). - vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php excludePaths: - vendor - tests - .phpstan # interface wrappers: PHPStan sees WPDO_X extends TMDO_X as circular - includes/back-compat reportUnmatchedIgnoredErrors: false treatPhpDocTypesAsCertain: false