diff --git a/.php_cs b/.php_cs index 9ed370d..9210c5b 100644 --- a/.php_cs +++ b/.php_cs @@ -4,7 +4,6 @@ require_once __DIR__.'/src/Decoupling/Fixer/ShortArraySyntaxFixer.php'; $finder = Symfony\CS\Finder\DefaultFinder::create() ->notName('README.md') - ->notName('.php_cs') ->notName('composer.*') ->notName('phpunit.xml') ->exclude('app') @@ -16,7 +15,7 @@ $finder = Symfony\CS\Finder\DefaultFinder::create() return Symfony\CS\Config\Config::create() ->addCustomFixer(new Decoupling\Fixer\ShortArraySyntaxFixer) ->fixers( - array( + [ 'encoding', 'linefeed', 'indentation', @@ -39,7 +38,8 @@ return Symfony\CS\Config\Config::create() 'eof_ending', 'one_class_per_file', 'unused_use', - ) + 'short_array_syntax' + ] ) ->finder($finder) ; diff --git a/src/Collabs/ZipperZippy.php b/src/Collabs/ZipperZippy.php index 782bd08..051a2bd 100644 --- a/src/Collabs/ZipperZippy.php +++ b/src/Collabs/ZipperZippy.php @@ -39,7 +39,7 @@ public function zipAndBreak() public function unzipAndJoin() { - foreach (array('archive.zip', 'archive2.zip', 'archive3.zip') as $path) { + foreach (['archive.zip', 'archive2.zip', 'archive3.zip'] as $path) { $archive = $zipAdapter->open($path); }