Skip to content

swow/swow-php-cs-fixer-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Swow php-cs-fixer config

Usage

composer require swow/swow-php-cs-fixer-config:dev-develop
touch .php-cs-fixer.dist.php
<?php

use Swow\PhpCsFixer\Config;

require __DIR__ . '/vendor/autoload.php';

return (new Config())
    ->setHeaderComment(
        projectName: 'your project name',
        projectLink: 'your project link',
        contactName: 'your name',
        contactMail: 'your mail address'
    )->setFinder(
        PhpCsFixer\Finder::create()
            ->in([
                __DIR__ . '/src',
            ])
            ->append([
                __FILE__,
            ])
    );

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages