Skip to content
Open
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
uses: actions/checkout@v4

- name: Install
run: npm install
run: npm ci

- name: Setup Environment
run: |
rm composer.lock
composer install --no-interaction --no-security-blocking
npm run setup

- name: Test
Expand Down
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,23 @@
"support" : {
"issues": "https://github.com/WordPress/phpdoc-parser/issues"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/dmsnell/Reflection.git"
}
],
"require" : {
"php" : ">=5.4",
"php" : ">=7.4",
"composer/installers" : "~1.0",
"phpdocumentor/reflection" : "~3.0",
"phpdocumentor/reflection" : "dev-fix/update-parser",
"erusev/parsedown" : "~1.7",
"scribu/lib-posts-to-posts": "dev-master@dev",
"scribu/scb-framework" : "dev-master@dev",
"psr/log" : "~1.0"
},
"require-dev" : {
"phpunit/phpunit": "^7",
"phpunit/phpunit": "~8",
"spatie/phpunit-watcher": "^1.23",
"yoast/phpunit-polyfills": "^1.0"
},
Expand Down
Loading