includes:
  - vendor/phpstan/phpstan-deprecation-rules/rules.neon

parameters:
  level: max
  paths:
    - realid.php
    - includes/

  # This simulates PHP 5.6 compatibility
  phpVersion: 
    min: 70100
    max: 80499

  # Optional: ignore deprecated WP functions (you can remove these if you want to see them)
  ignoreErrors:
    - '#Function .* is deprecated since WordPress version#'
