Skip to content

Commit 874b51c

Browse files
committed
Expand support for PHP 7 and 8
1 parent f2b5b47 commit 874b51c

4 files changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
strategy:
1313
matrix:
1414
operating-system: ['ubuntu-latest']
15-
php-versions: ['7.2', '7.3', '7.4']
15+
php-version: ['7.2', '7.4', '8.0']
1616

1717
steps:
1818
- uses: actions/checkout@v3
1919
- name: Setup PHP
20-
uses: shivammathur/setup-php@2.18.0
20+
uses: shivammathur/setup-php@2.26.0
2121
with:
22-
php-version: ${{ matrix.php-versions }}
22+
php-version: ${{ matrix.php-version }}
2323
coverage: xdebug
2424
tools: phpunit
2525
extensions: simplexml, dom, xml, xdebug, intl

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ If you discover any security related issues, please notify and open an issue.
7676

7777
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
7878

79+
## Dcoker usage
80+
```
81+
docker run --rm -it --volume $(pwd):/var/www/html/ php:7.4-fpm-alpine /bin/ash
82+
```
83+
7984
[ico-version]: https://img.shields.io/packagist/v/webkod3r/laravel-swivel.svg?style=flat-square
8085
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
8186
[ico-scrutinizer-coverage]: https://scrutinizer-ci.com/g/webkod3r/laravel-swivel/badges/coverage.png?b=master

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^7.2",
24+
"php": ">=7.0",
2525
"illuminate/container": "^6.0|^7.0|^8.0",
2626
"illuminate/database": "^6.0|^7.0|^8.0",
2727
"illuminate/http": "^6.0|^7.0|^8.0",

composer.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)