PHP Code Sniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards. (by squizlabs)

PHP Code Sniffer Alternatives

Similar projects and alternatives to PHP Code Sniffer

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better PHP Code Sniffer alternative or higher similarity.

PHP Code Sniffer reviews and mentions

Posts with mentions or reviews of PHP Code Sniffer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-08.
  • Laravel code-quality tools
    16 projects | dev.to | 8 Feb 2024
    PHP Insights supports sniffs from PHP CodeSniffer and fixers from PHP CS Fixer. This allows you to add any sniff or fixer as long as it implements PHP_CodeSniffer\Sniffs\Sniff or PhpCsFixer\Fixer\FixerInterface.
  • Top 6 PHP code quality tools 2023
    7 projects | dev.to | 30 May 2023
    PHP_CodeSniffer is a widely-used tool for enforcing coding standards in PHP. It checks the code against a set of predefined coding standards (such as PSR-12, PSR-2, and many others) and provides reports with violations and recommendations for improvement. Documentation: You can find more information about PHP_CodeSniffer and its usage in the official documentation: PHP_CodeSniffer Repository
  • PHP in 2023 - stitcher.io
    7 projects | /r/PHP | 17 Jan 2023
    While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
  • how can I know if I am following PSR standards
    2 projects | /r/PHP | 6 Jan 2023
    See https://github.com/squizlabs/PHP_CodeSniffer
  • change versions
    2 projects | /r/PHPhelp | 8 Dec 2022
    If you are well-versed in programming then you might wanna take a look at PHPCompatibility. It will scan your codebase at different PHP version rulesets to point out code that needs upgrading. You will be needing PHPCS for this.
  • Your experience switching from vanilla PHP spaghetti/OOP to Symfony?
    3 projects | /r/symfony | 2 Dec 2022
    PHP code sniffer
  • Extensionless scripts in PHP_CodeSniffer
    2 projects | /r/PHPhelp | 21 Nov 2022
    That Stack Overflow question has a link to a GitHub issue that basically says it isn't supported out of the box and you need to write your own file filter class.
    2 projects | /r/PHPhelp | 21 Nov 2022
  • Tool to assist with PHP migration (Rector?)
    3 projects | /r/PHPhelp | 12 Oct 2022
    I would use either PHPStan or PHP CodeSniffer + PHPCompatibility
  • Ignore specific error in PHP_CodeSniffer
    2 projects | /r/PHPhelp | 11 Oct 2022
    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.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 28 Mar 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic PHP Code Sniffer repo stats
47
10,592
7.5
about 2 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com