Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Barsotti committed Oct 8, 2018
1 parent b8c729f commit 1013b51
Show file tree
Hide file tree
Showing 11 changed files with 1,725 additions and 206 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{php,html,twig}]
[*.{php,html,twig,json,xml}]
indent_style = space
indent_size = 4

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor/
bin/*
tests/coverage/*
.php_cs.cache

8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,17 @@
},
"require-dev": {
"phpunit/phpunit": "~6.0",
"friendsofphp/php-cs-fixer": "^2.10",
"phpmd/phpmd" : "@stable",
"webmozart/assert": "^1.2"
},
"config": {
"bin-dir": "bin"
},
"scripts": {
"lint": "bin/php-cs-fixer fix src/ --rules=@PSR2 --dry-run",
"lint:fix": "php-cs-fixer fix src/ --rules=@PSR2",
"mess": "bin/phpmd src/ text ./phpmd.xml",
"test": "bin/phpunit -c tests"
}
}
Loading

0 comments on commit 1013b51

Please sign in to comment.