Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Upgrade nikic/php-parser to v5+ #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BrianHenryIE wants to merge 8 commits into voku:master
base: master
Choose a base branch
Loading
from BrianHenryIE:upgrade-phpparser-5
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add test-coverage Composer script
  • Loading branch information
BrianHenryIE committed May 17, 2025
commit 6f1542fb2b3454e2094d881fb9bab486d8522ced
1 change: 1 addition & 0 deletions .gitignore
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ composer.lock
# php (phpunit)
build/logs/
.phpunit.result.cache
/.phpunit.result/

# phpcs fixer
.php_cs.cache
Expand Down
11 changes: 11 additions & 0 deletions composer.json
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,16 @@
"psr-4": {
"voku\\tests\\": "tests/"
}
},
"scripts": {
"test-coverage": [
"Composer\\Config::disableProcessTimeout",
"if [ \"$XDEBUG_MODE\" != \"coverage\" ]; then echo \"Run with 'XDEBUG_MODE=coverage composer test-coverage'\"; exit 1; fi;",
"phpunit --coverage-text --coverage-clover .phpunit.result/unitclover.xml --coverage-php .phpunit.result/unitphp.cov --coverage-html .phpunit.result/html -d memory_limit=-1 --order-by=random",
"# Run 'open ./.phpunit.result/html/index.html' to view report."
]
},
"scripts-descriptions": {
"test-coverage": "Run PHPUnit tests with coverage. Use 'XDEBUG_MODE=coverage composer test-coverage' to run, 'open ./.phpunit.result/html/index.html' to view."
}
}

AltStyle によって変換されたページ (->オリジナル) /