mirror of
https://github.com/mrclay/minify.git
synced 2025-01-16 20:58:13 +01:00
263381a23f
Setup only to apply @PSR2 rules
24 lines
434 B
PHP
24 lines
434 B
PHP
<?php
|
|
|
|
$rules = array(
|
|
'@PSR2' => true,
|
|
);
|
|
|
|
$config = PhpCsFixer\Config::create();
|
|
$finder = $config->getFinder();
|
|
|
|
$finder
|
|
->in(array('.', 'builder/', 'lib/', 'tests/', 'min_extras/', 'static/'))
|
|
->name('*.php')
|
|
->ignoreDotFiles(true)
|
|
->ignoreVCS(true);
|
|
|
|
return $config
|
|
->setUsingCache(true)
|
|
->setRiskyAllowed(true)
|
|
->setRules($rules)
|
|
->setIndent(' ')
|
|
->setLineEnding("\n");
|
|
|
|
// vim:ft=php
|