Add cs fixer config
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- .php_cs.dist 18 additions, 0 deletions.php_cs.dist
- composer.json 3 additions, 0 deletionscomposer.json
- composer.lock 982 additions, 14 deletionscomposer.lock
- tests/Unit/Listener/MessageCacheUpdaterListenerTest.php 0 additions, 1 deletiontests/Unit/Listener/MessageCacheUpdaterListenerTest.php
.php_cs.dist
0 → 100644
... | ... | @@ -43,10 +43,13 @@ |
"roave/security-advisories": "dev-master", | ||
"christophwurst/nextcloud": "v17.0.2", | ||
"christophwurst/nextcloud_testing": "0.10.0", | ||
"nextcloud/coding-standard": "^0.1.0", | ||
"phan/phan": "^2.0", | ||
"vimeo/psalm": "^3.9" | ||
}, | ||
"scripts": { | ||
"cs:check": "php-cs-fixer fix --dry-run", | ||
"cs:fix": "php-cs-fixer fix", | ||
"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;", | ||
"phan": "phan --allow-polyfill-parser -k .phan/config.php", | ||
"test:integration": "phpunit -c tests/phpunit.integration.xml tests/Integration --fail-on-warning", | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment