{"repo":"inpsyde/php-coding-standards","free":true,"listed":false,"github":"https://github.com/inpsyde/php-coding-standards","clone":"git clone https://github.com/inpsyde/php-coding-standards.git","description":"Style guide for writing consistent PHP for WordPress projects.","language":"PHP","stars":101,"topics":["php","styleguide","wordpress","codesniffer","wpcs","phpcs"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Syde PHP Coding Standards PHP 7.4+ coding standards for Syde WordPress projects. --- [!IMPORTANT] Please note that development on this package has shifted to maintenance mode only. We remain committed to fixing bugs, ensuring compatibility, and addressing security concerns until July 31, 2025 . New features are not planned at this time. Maintenance mode will end on August 1, 2025, effectively marking the End-of-Life date of this package. For active projects, we strongly recommend migrating to syde/phpcs , the next-generation Syde PHP Coding Standards for WordPress development at scale, supporting PHP 8.1+. Please refer to the dedicated Migration docs to get a high-level understanding of the potential migration effort. --- Usage When the package is installed via Composer, and dependencies are updated, everything is ready and the coding standards can be checked via: Here, is at least one file or directory to check, for example: There are many options that can be used to customise the behavior of the command, to get documentation use: Configuration File A phpcs.xml.dist file can be used to avoid passing many arguments via the command line. For example: Such a configuration allows to run the code style check like so: Moreover, thanks to the text domain setting, PHP CodeSniffer will also check that all WordPress internationalization functions are called with the proper text domain. --- Included rules For the detailed lists of included rules, refer to ruleset.xml . PSR-1, PSR-2, PS","default_branch":null,"files":null,"tree":[],"storefront":"/r/inpsyde","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/inpsyde/php-coding-standards/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}