Skip to content

Pararius/cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code style configurations

This repository contains configurations to set up and maintain code style across Pararius repositories.

Installation & usage

Add it to your dev requirements. This will install php-cs-fixer as well.

composer require --dev pararius/cs

Now create/update your cs-fixer configuration file like this:

# .php-cs-fixer.dist.php
$config = require __DIR__ . '/vendor/pararius/cs/php-cs-fixer.ta.php';
$config->getFinder()->in([
    __DIR__ . '/src',
    __DIR__ . '/tests',
]);

return $config;

About

Code style configurations

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages