Skip to content

Commit a30fa13

Browse files
Install phpunit polyfills dependencies package #859
1 parent 33594ca commit a30fa13

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.github/workflows/test-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
php-version: '7.1'
5353
extensions: simplexml, mysql
54-
tools: phpunit:7.5.15
54+
tools: phpunit-polyfills
5555
- name: Checkout source code
5656
uses: actions/checkout@v2
5757
- name: Install WordPress Test Suite

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"require-dev": {
4747
"wp-coding-standards/wpcs": "1.2.1",
4848
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
49-
"phpcompatibility/phpcompatibility-wp": "*",
50-
"yoast/phpunit-polyfills": "^1.0"
49+
"phpcompatibility/phpcompatibility-wp": "*"
5150
}
5251
}

phpunit.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,4 @@
1111
<directory prefix="test-" suffix=".php">./tests/</directory>
1212
</testsuite>
1313
</testsuites>
14-
<php>
15-
<const name="WP_TESTS_PHPUNIT_POLYFILLS_PATH" value="./vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php"/>
16-
</php>
1714
</phpunit>

0 commit comments

Comments
 (0)