Skip to content

drivetechusa/php-styles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Add repository to composer.json

"repositories": [
  {
    "type": "vcs",
    "url": "https://github.com/drivetechusa/php-styles"
  }
]

Composer require

composer require drivetechusa/php-styles --dev

Create file .php_cs.dist

<?php
  $finder = PhpCsFixer\Finder::create()
    ->in([
        __DIR__.'/app',
        __DIR__.'/config',
        __DIR__.'/database',
        __DIR__.'/routes',
        __DIR__.'/tests',
    ]);
  return Drivetechusa\styles($finder);
>

Run the following command

./vendor/bin/php-cs-fixer fix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages