Skip to content

Commit

Permalink
ci: Update to PHPUnit 10
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Jul 29, 2024
1 parent f437510 commit a2639cc
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 400 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ nbproject
# Tests - auto-generated files
/tests/coverage*
/tests/clover.xml
/tests/.phpunit.cache
/tests/.phpunit.result.cache
.php-cs-fixer.cache

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "8.0.2"
"php": "8.1"
},
"sort-packages": true
},
"scripts": {
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
"test:unit": "vendor/bin/phpunit -c tests/phpunit.xml",
"test:unit": "vendor/bin/phpunit --color -c tests/phpunit.xml",
"test:integration": "cd tests/Integration && ./run.sh"
},
"require-dev": {
"nextcloud/coding-standard": "^1.1",
"nextcloud/coding-standard": "^1.2.1",
"nextcloud/ocp": "dev-master",
"phpunit/phpunit": "^9.6"
"phpunit/phpunit": "^10.5.28"
}
}
Loading

0 comments on commit a2639cc

Please sign in to comment.