@@ -4,7 +4,8 @@
root = true
[*]
-indent_style = tab
+indent_style = space
+indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
@@ -42,7 +42,7 @@ before_script:
script:
- sh -c "if [ '$PHPCS' != '1' ]; then phpunit; fi"
- - sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi"
+ - sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p -n --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests; fi"
notifications:
email: false
@@ -28,7 +28,7 @@
},
"require-dev": {
"phpunit/phpunit": "*",
- "cakephp/cakephp-codesniffer": "*"
+ "cakephp/cakephp-codesniffer": "dev-master"
"autoload": {
"psr-4": {