Skip to content

Commit

Permalink
[TASK] Add friendsofphp/php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Dec 7, 2019
1 parent 5d0cd5c commit 3c5024e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion composer.json
Expand Up @@ -23,6 +23,7 @@
"typo3/cms-frontend": "^9.5.5 || ^10.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "^8.4"
},
Expand All @@ -46,6 +47,7 @@
}
},
"scripts": {
"zip": "grep -Po \"(?<='version' => ')([0-9]+\\.[0-9]+\\.[0-9]+)\" ext_emconf.php | xargs -I {version} sh -c 'mkdir -p ../zip; git archive -v -o \"../zip/${PWD##*/}_{version}.zip\" v{version}'"
"zip": "grep -Po \"(?<='version' => ')([0-9]+\\.[0-9]+\\.[0-9]+)\" ext_emconf.php | xargs -I {version} sh -c 'mkdir -p ../zip; git archive -v -o \"../zip/${PWD##*/}_{version}.zip\" v{version}'",
"fix-cs": ".Build/bin/php-cs-fixer fix"
}
}

0 comments on commit 3c5024e

Please sign in to comment.