Commit e3d88da8 authored by Tino Goratsch's avatar Tino Goratsch

updated the PHP-CS-Fixer to version 2.1.1

parent 12c1e9da
/.idea
/.php_cs
/.php_cs.cache
/ACP3/config.yml
/build/logs/
/cache/*
......
<?php
$finder = PhpCsFixer\Finder::create()
->exclude('ACP3/Modules/ACP3/Filemanager/libraries')
->exclude('build')
->exclude('cache')
->exclude('designs')
->exclude('node_modules')
->exclude('uploads')
->exclude('vendor')
->in(__DIR__);
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder)
;
......@@ -44,7 +44,7 @@
"require-dev": {
"phpunit/phpunit": "^5.5",
"satooshi/php-coveralls": "dev-master",
"friendsofphp/php-cs-fixer": "^1.11"
"friendsofphp/php-cs-fixer": "^2.0.0"
},
"autoload": {
"psr-4": {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment