Skip to content

Commit

Permalink
validator
Browse files Browse the repository at this point in the history
  • Loading branch information
EC-tleckie committed May 18, 2021
1 parent 2355f39 commit 15bb55e
Show file tree
Hide file tree
Showing 22 changed files with 4,081 additions and 115 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor/
/bin/
20 changes: 8 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,10 @@
},
"require": {
"php": "^8",
"tleckie/collection": "^1.0",
"tleckie/enum": "^1.0"
"infection/infection": "^0.23.0"
},
"require-dev": {
"infection/infection": "^0.21.5",
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "v3.0.0-beta.2",
"mikey179/vfsstream": "^1.6",
"squizlabs/php_codesniffer": "^3.6"
"phpunit/phpunit": "^9.5"
},
"config": {
"sort-packages": true,
Expand All @@ -49,15 +44,16 @@
"bin-dir": "bin"
},
"scripts": {
"fix-src": "./bin/php-cs-fixer fix src/ ",
"fix-tests": "./bin/php-cs-fixer fix tests/",
"tests": "./bin/phpunit ./tests/",
"infection": "infection",
"infection": "./bin/infection",
"check": [
"@fix-src",
"@fix-tests",
"@putenv XDEBUG_MODE=coverage",
"@tests",
"@infection"
],
"test:coverage-html": [
"@putenv XDEBUG_MODE=coverage",
"./bin/phpunit tests --color=always --coverage-html=\"/var/www/html\""
]
}
}
Loading

0 comments on commit 15bb55e

Please sign in to comment.