Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnpdlk committed Sep 15, 2017
1 parent 89186b6 commit 03ebed6
Show file tree
Hide file tree
Showing 13 changed files with 1,855 additions and 5 deletions.
22 changes: 22 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
engines:
phpmd:
enabled: true
checks:
Design/TooManyPublicMethods:
enabled: false
Naming/ShortVariable:
enabled: false
CleanCode/StaticAccess:
enabled: false
Controversial/CamelCaseMethodName:
enabled: false
fixme:
enabled: true
duplication:
enabled: true
config:
languages:
- php:
ratings:
paths:
- src/**
21 changes: 18 additions & 3 deletions .idea/deployment.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/php-test-framework.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

113 changes: 113 additions & 0 deletions .idea/validator.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build:
tests:
override:
-
command: './vendor/bin/phpunit --coverage-clover=coverage.clover'
coverage:
file: 'coverage.clover'
format: 'clover'
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: php
php:
- '7.0'
before_script: composer install
script: ./vendor/bin/phpunit
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
"require": {
"php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "~6.3",
"mockery/mockery": "~0"
},
"autoload": {
"psr-4": {
"mrcnpdlk\\Validator\\": "src/mrcnpdlk/Validator/"
Expand Down
Loading

0 comments on commit 03ebed6

Please sign in to comment.