Skip to content

Commit

Permalink
Add minimal PHP version in composer.json (#210)
Browse files Browse the repository at this point in the history
* Add minimal PHP version in composer.json

* Add php extensions json and zip in composer.json
As the documentation explain that are needed.

* Add json and zip extensions in GH actions runners

* Update minimum PHP 7.4
for next Leaf version
  • Loading branch information
joanhey authored Aug 10, 2023
1 parent 01918a7 commit 223cf1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, zip
tools: composer:v2
coverage: xdebug

Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"ext-zip": "*",
"leafs/http": "*",
"leafs/router": "*",
"leafs/anchor": "*",
Expand Down

0 comments on commit 223cf1a

Please sign in to comment.