Skip to content

Commit

Permalink
upgrade tests to PHPUnit v9
Browse files Browse the repository at this point in the history
  • Loading branch information
pryley committed Aug 2, 2022
1 parent 6dfec05 commit c5b280f
Show file tree
Hide file tree
Showing 15 changed files with 859 additions and 593 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ coverage.xml
mix-manifest.json

/node_modules
/tests/coverage
/vendor
assets/scripts/site-reviews-blocks.js.LICENSE.txt
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build:
- composer require --dev johnpbloch/wordpress
environment:
node: false
php: '7.4.0'
php: '7.4'
mysql: '5.7'
project_setup:
override: true
Expand Down
12 changes: 5 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=5.6.20"
"php": ">=7.2"
},
"require-dev": {
"fakerphp/faker": "1.9.2",
"phpstan/phpstan": "^1.4.2",
"phpunit/phpunit": "^7.5",
"szepeviktor/phpstan-wordpress": "^1.0.2",
"yoast/phpunit-polyfills": "^1.0",
"brain/monkey": "^2.6"
"fakerphp/faker": "1.20.0",
"phpstan/phpstan": "^1.8.2",
"szepeviktor/phpstan-wordpress": "^1.1.2",
"yoast/phpunit-polyfills": "^1.0.1"
}
}
Loading

0 comments on commit c5b280f

Please sign in to comment.