bytic/phpqaconfig

Meta package for configuration files for PHP QA tools

Maintainers

Package info

github.com/bytic/phpqaconfig

pkg:composer/bytic/phpqaconfig

Statistics

Installs: 1 742

Dependents: 5

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.14 2026-04-02 14:58 UTC

This package is auto-updated.

Last update: 2026-04-02 14:59:45 UTC


README

PHP Code Sniffer

Configuration file: bytic.phpcs.xml

Usage

  1. Link bytic/qaconfig repo as composer dependency

    $ composer require bytic/qaconfig:^1.0

  2. Extend provided configuration to adapt it to your project.

     <?xml version="1.0" encoding="UTF-8"?>
     <ruleset name="DEMO-PHP project code style checker config">
         <rule ref="./vendor/bytic/qaconfig/bytic.phpcs.xml">
             <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
         </rule>
         <rule ref="PSR1.Classes.ClassDeclaration">
             <exclude-pattern>*/_stubs.php</exclude-pattern>
         </rule>
         <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement.Found">
             <exclude-pattern>*/_stubs.php</exclude-pattern>
         </rule>
     </ruleset>

Inspiration