Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: xdebug
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
Expand All @@ -46,4 +47,4 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
files: coverage.xml
files: .phpunit/coverage.xml
17 changes: 13 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,31 @@ vendor/
# NPM
node_modules/

# user-configured files
# PHPUnit
.phpunit/
phpunit.xml
.phpunit.xml
.phpunit.cache
.phpunit.result.cache

## PHPUnit code coverage
coverage
coverage.*
clover.xml
crap4j.xml
html-coverage/
coverage.php
coverage.txt
xml-coverage/

# phpDocumentor
.phpdoc
phpdoc.xml
docs/build/
docs/cache/

# code coverage
coverage
coverage.*
# PHPStorm
.idea

# PHPActor LSP
.phpactor.json
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"phpunit/phpunit": "11.5.6"
"phpunit/phpunit": "12.0.3"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor --exclude node_modules",
"./vendor/bin/phpunit tests",
"@phpunit:xml",
"minus-x check .",
"phpcs -p -s"
],
"phpunit": "phpunit tests",
"phpunit:xml": "@phpunit --coverage-clover .phpunit/coverage.xml",
"phpunit:html": "@phpunit --coverage-html .phpunit/html/",
"fix": [
"minus-x fix .",
"phpcbf"
Expand Down
Loading