Ignore specific error in PHP_CodeSniffer

This page summarizes the projects mentioned and recommended in the original post on /r/PHPhelp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • PHP Code Sniffer

    PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

  • But sometimes you just have to ignore errors, and you can do that in many different ways. Most (if not all) are explained in the advanced usages and the annotated ruleset parts of the docs.

  • php-code-sniffer-baseliner

    Discontinued Baseline tool for PHP_CodeSniffer

  • Looks like you want to build a baseline (like you can with phpstan). PHP Codesniffer doesn't have this out-of-the-box, but we created a tool to do this. See: https://github.com/isaaceindhoven/php-code-sniffer-baseliner.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts