Skip to content

Commit

Permalink
Allow usage of PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mitelg committed Feb 1, 2023
1 parent 41f98fc commit e2a068f
Show file tree
Hide file tree
Showing 7 changed files with 585 additions and 870 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
php-version: '7.4'
ini-values: phar.readonly=Off

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
php: [ 7.3, 7.4 ]
php: [ 7.4, 8.0, 8.1, 8.2 ]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ set -o pipefail
./bin/download_box.sh

# Build PHAR
./box.phar build -vv
./box.phar compile -vv
2 changes: 1 addition & 1 deletion bin/download_box.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

echo "Download Box"
wget -O box.phar https://github.com/box-project/box/releases/download/3.13.0/box.phar
wget -O box.phar https://github.com/box-project/box/releases/download/3.16.0/box.phar
chmod 755 box.phar
1 change: 0 additions & 1 deletion box.json.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"chmod": "0755",
"alias": "sw.phar",
"compactors": [
"KevinGH\\Box\\Compactor\\Json",
Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"type": "project",
"license": "MIT",
"require": {
"php": "^7.3",
"php": "^7.4 || ^8.0",
"ext-curl": "*",
"symfony/console": "~4.4",
"symfony/config": "~4.4",
"symfony/yaml": "~4.4",
"symfony/process": "~4.4",
"symfony/dependency-injection": "~4.4",
"dnoegel/php-xdg-base-dir": "~0.1",
"shopwarelabs/plugin-info": "0.1.0",
"fzaninotto/faker": "^1.9.1",
"fakerphp/faker": "^1.21.0",
"guzzlehttp/guzzle": "^6.5.2",
"padraic/phar-updater": "^1.0.6"
"laravel-zero/phar-updater": "^1.1",
"shopwarelabs/plugin-info": "0.1.0",
"symfony/config": "~4.4",
"symfony/console": "~4.4",
"symfony/dependency-injection": "~4.4",
"symfony/process": "~4.4",
"symfony/yaml": "~4.4"
},
"require-dev": {
"ext-phar": "*",
Expand Down
Loading

0 comments on commit e2a068f

Please sign in to comment.