| Server IP : 216.238.66.20 / Your IP : 216.73.216.199 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sweetheart.mx/htdocs/wp-content/plugins/wp-slimstat/ |
Upload File : |
# PHPStan — wp-slimstat (free)
#
# Static analysis focused on the PHP 8.x null/type class, complementing the
# source-level scanners. Analyzes own code only; src/Dependencies (Mozart-scoped
# Symfony polyfill) is scanned for symbols but not analyzed. Legacy findings are
# parked in phpstan-baseline.neon (a migration tool — ratchet down over time,
# never baseline newly introduced errors).
#
# Requires dev deps: phpstan/phpstan + szepeviktor/phpstan-wordpress (WP stubs).
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
- phpstan-baseline.neon
parameters:
level: 5
phpVersion: 70400 # analyze against the 7.4 floor
# The baseline is a ceiling, not an exact set: CI's real composer autoloader
# resolves scoped src/Dependencies classes that are "unknown" in a local
# throwaway analysis, so some baseline entries legitimately don't recur in
# CI. Tolerate those (don't fail on unmatched ignores); still fail on NEW errors.
reportUnmatchedIgnoredErrors: false
paths:
- wp-slimstat.php
- admin
- src
excludePaths:
- src/Dependencies/* # Mozart-scoped vendor — not own code
scanDirectories:
- src/Dependencies # known to the analyzer, but not analyzed
treatPhpDocTypesAsCertain: false