Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

Repository files navigation

phpcs-custom-rules

PHP_CodeSnifferのカスタムルールを作ってみた

Installation

composer req naopusyu/phpcs-custom-rules --dev

Usage

Create phpcs.xml file.

<?xml version="1.0"?>
<ruleset>
    <arg name="colors" />
    <arg value="ps" />

    <rule ref="vendor/naopusyu/phpcs-custom-rules/src/PHPCSCustomRules/ruleset.xml"/>
</ruleset>

Then run the phpcs command.

vendor/bin/phpcs src

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages