Skip to content

Commit

Permalink
Merge pull request #3 from dollyaswin/master
Browse files Browse the repository at this point in the history
Add PHPMD
  • Loading branch information
dollyaswin committed Sep 13, 2015
2 parents 5338123 + 5440db3 commit 6839152
Show file tree
Hide file tree
Showing 7 changed files with 6,584 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ nbproject
.idea
.project
.settings
composer.lock
vendor/
config/development.config.php
data/cache/*
Expand Down
3 changes: 3 additions & 0 deletions build/bin/phpmd.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

./vendor/bin/phpmd src/ text ruleset.xml
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"zendframework/zendframework" : ">=2.3.2,<3.0.0",
"squizlabs/php_codesniffer" : "1.4.*",
"zfcampus/zf-apigility" : "1.0.3",
"phpmd/phpmd" : "2.*",
"phpunit/phpunit": "4.*"
},
"license" : "BSD-3-Clause",
Expand Down
Loading

0 comments on commit 6839152

Please sign in to comment.