Skip to content

Coding standard for our projects based on doctrine/coding-standard and ninjify/coding-standard

License

Notifications You must be signed in to change notification settings

FiolaSoft/coding-standard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding standard

This is based on doctrine/coding-standard and heavily inspired by ninjify/coding-standard


Downloads total Latest stable

Install

composer require --dev fiolasoft/coding-standard

Usage

Create ruleset.xml in root of your project.

NOTE: It is recommanded to use this with FiolaSoft/qa

<?xml version="1.0"?>
<ruleset name="YourProject">
    <!-- Extending rulesets -->
    <rule ref="vendor/fiolasoft/coding-standard/ruleset.xml"/>
    
    <!-- OR (not both, since ruleset.xml is included in ruleset-nette.xml) -->
    
    <!-- FiolaSoft [Nette] -->
    <!-- <rule ref="vendor/fiolasoft/coding-standard/ruleset-nette.xml"/> -->

    <!-- My rules -->
    
    <!-- Exclude folders -->
    <exclude-pattern>/tests/tmp</exclude-pattern>
</ruleset>

About

Coding standard for our projects based on doctrine/coding-standard and ninjify/coding-standard

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published