Skip to content

Commit

Permalink
PHP 8.1 (#27)
Browse files Browse the repository at this point in the history
* Update bootstrap.php

* Install `yoast/phpunit-polyfills`

* Update php.yml

* Delete composer.lock

* Update php.yml

* Update composer.json

* Update php.yml

* wip

* Update phpunit.xml
  • Loading branch information
SebKay authored Oct 4, 2023
1 parent d298fe4 commit ca74c88
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5,463 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.1

- name: Install dependencies
run: composer dev
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Directories
vendor/
node_modules/

# Files
composer.lock
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@
}
],
"require": {
"php": "^8.0",
"phpunit/phpunit": "^10.3",
"php": "^8.1",
"phpunit/phpunit": "^10.2",
"sebkay/wp-unit-test-stubs": "^1.0",
"symfony/console": "^5.3",
"guzzlehttp/guzzle": "^7.3",
"league/flysystem": "^2.3",
"wp-cli/wp-config-transformer": "^1.2",
"symfony/process": "^5.3",
"php-stubs/wordpress-stubs": "^5.8",
"vlucas/phpdotenv": "^5.5"
"vlucas/phpdotenv": "^5.5",
"yoast/phpunit-polyfills": "^2.0"
},
"require-dev": {
"spatie/ray": "^1.26",
Expand Down
Loading

0 comments on commit ca74c88

Please sign in to comment.