Skip to content

yumemi-inc/phpcs-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›  yumemi-inc/phpcs-config

Customised configuration for PHPCodeSniffer.

Warning
This is not an official product of YUMEMI Inc.

πŸ“¦ Installation

composer require --dev yumemi-inc/phpcs-config

Write your phpcs.xml to enable the configuration:

<?xml version="1.0"?>
<ruleset name="Custom">
    <description>Custom coding standard.</description>
    <rule ref="vendor/yumemi-inc/phpcs-config/phpcs.xml" scope="path" />
</ruleset>

βœ… Versioning

Version x.y.z of this package will work on PHP x.y (e.g. 8.1.x works on PHP 8.1). On the ruleset changes, the z number will be increased.

Package Version PHP Version Maintained?
8.2.x ^8.2 Yes
8.1.x ^8.1 Yes

πŸ™Œ Contributing

Contributes of adding new rules or resolving conflicts with our other packages ( php-cs-fixer-config, php-intellij-profiles ) are welcome. Other contributions may not be accepted such as changing the existing rules or removing them.