Skip to content

Commit

Permalink
Config
Browse files Browse the repository at this point in the history
  • Loading branch information
lennyrouanet committed Oct 21, 2022
1 parent 81f3dfe commit 3ddf8a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ vendor/*

# Test
.phpunit*
public/code-coverage
.public

# Dev
.DS_Store
.nova/*
.php-cs-fixer.cache
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@
}
],
"require": {
"php": "^8.0",
"php": ">=8.1",
"phant/error": "1.*",
"ramsey/uuid": "^4.3",
"firebase/php-jwt": "^5.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.4",
"phpunit/phpunit": "^9.5"
},
"scripts": {
"lint": "vendor/bin/php-cs-fixer fix ./ --rules=@PSR12",
"analyse": "vendor/bin/phpstan analyse component test -c phpstan.neon --memory-limit=4G",
"test": "vendor/bin/phpunit test --testdox",
"code-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html public/code-coverage"
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html .public/code-coverage"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 3ddf8a4

Please sign in to comment.