Skip to content

Commit

Permalink
Check if PHP 8.1 can install packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevers committed Jun 19, 2024
1 parent 10e55ec commit b2848c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.2, 8.3]
php: [8.1, 8.2, 8.3]

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@
}
],
"require": {
"php": ">=8.2",
"php": ">=8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^6.0|^7.0",
"saloonphp/saloon": "^3.4",
"openspout/openspout": "^4.23",
"illuminate/support": "^11.5"
"illuminate/support": "^10.0|^11.5"
},
"require-dev": {
"composer/semver": "^3.4",
"highsidelabs/saloon-sdk-generator": "^2.0",
"highsidelabs/saloon-sdk-generator": "^2.1",
"symfony/console": "^7.0",
"psy/psysh": "^0.12.0",
"voku/simple_html_dom": "^4.8",
Expand Down Expand Up @@ -60,7 +60,7 @@
"@php-compatibility-check"
],
"pint": "php vendor/bin/pint",
"php-compatibility-check": "./vendor/bin/phpcs -p ./src ./bin --standard=PHPCompatibility --runtime-set testVersion 8.2-",
"php-compatibility-check": "./vendor/bin/phpcs -p ./src ./bin --standard=PHPCompatibility --runtime-set testVersion 8.1-",
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"post-update-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"test": "vendor/bin/phpunit"
Expand Down

0 comments on commit b2848c7

Please sign in to comment.