Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require at least PHP v7.4 #349

Merged
merged 9 commits into from
Mar 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ jobs:
strategy:
matrix:
php:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
vars:
- symfony_version: "^v3.4.5"
phpunit_bridge_version: "^v3.4.41"
phpunit_bridge_version: "^v3.4.45"
dependencies: "high"
- symfony_version: "^v3.4.5"
phpunit_bridge_version: "^v3.4.41"
phpunit_bridge_version: "^v3.4.45"
dependencies: "low"
- symfony_version: "~v4.4.0"
phpunit_bridge_version: "~v4.4.9"
Expand Down Expand Up @@ -58,7 +56,7 @@ jobs:
strategy:
matrix:
php:
- '7.2'
- '7.4'
vars:
- dependencies: "high"
composerExtraFlags: ''
Expand All @@ -73,6 +71,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
coverage: none # disable xdebug, pcov
extensions: 'curl'

- uses: "actions/cache@v2"
with:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Crunz is capable of executing any kind of executable command as well as PHP clos
[![Packagist](https://img.shields.io/packagist/dt/lavary/crunz.svg?style=flat-square)](https://packagist.org/packages/lavary/crunz/stats)
[![Packagist](https://img.shields.io/packagist/dm/lavary/crunz.svg?style=flat-square)](https://packagist.org/packages/lavary/crunz/stats)

|Version|Supported PHP versions|Windows build|
|---|---|---|
|stable (v2.3.0)|![7.2+](https://img.shields.io/badge/php-%3E=7.2-blue.svg?style=flat-square)|*Tag build not supported*
|dev v2 (master/v2.x-dev)|![7.2+](https://img.shields.io/badge/php-%3E=7.2-blue.svg?style=flat-square)|[![AppVeyor branch](https://img.shields.io/appveyor/ci/lavary/crunz/master.svg?style=flat-square)](https://ci.appveyor.com/project/lavary/crunz)
|dev v1.12.x (v1.12.x-dev)|![5.6+](https://img.shields.io/badge/php-%5E5.6%20%7C%7C%20%5E7.0-blue.svg?style=flat-square)|[![AppVeyor branch](https://img.shields.io/appveyor/ci/lavary/crunz/1.12.x.svg?style=flat-square)](https://ci.appveyor.com/project/lavary/crunz)
|Version|Supported PHP versions
|---|---|
|dev v3 (v3.0-dev)|![7.4+](https://img.shields.io/badge/php-%3E=7.4-blue.svg?style=flat-square)
|stable v2 (v2.3.0)|![7.2+](https://img.shields.io/badge/php-%3E=7.2-blue.svg?style=flat-square)
|stable v1 (v1.12.4)|![5.6-7.0+](https://img.shields.io/badge/php-%5E5.6%20%7C%7C%20%5E7.0-blue.svg?style=flat-square)

## Roadmap
|Version|Release date|Active support until|Bug support until|Status
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"issues": "http://github.com/lavary/crunz/issues"
},
"require": {
"php": ">=7.2",
"php": ">=7.4",
"dragonmantank/cron-expression": "^2.0",
"opis/closure": "^3.5",
"swiftmailer/swiftmailer": "^6.0",
Expand All @@ -41,9 +41,9 @@
"ext-json": "*",
"ext-mbstring": "*",
"bamarni/composer-bin-plugin": "^1.2",
"phpunit/phpunit": "^8.5.1 || ^9.4.0",
"phpunit/phpunit": "^9.5.2",
"symfony/error-handler": "^4.4 || ^5.1",
"symfony/phpunit-bridge": "^3.4.40 || ^4.4.8 || ^5.1.0"
"symfony/phpunit-bridge": "^v3.4.45 || ^4.4.8 || ^5.1.0"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: '3'

services:
php72:
php74:
build:
context: ./docker/php72
context: ./docker/php74
working_dir: /var/www/html
environment:
CRUNZ_CONTAINER_DEBUG: 1
Expand All @@ -16,7 +16,7 @@ services:
"
volumes:
- .:/var/www/html
- ./docker/php72/php.ini:/usr/local/etc/php/php.ini:ro
- ./docker/php74/php.ini:/usr/local/etc/php/php.ini:ro
stop_grace_period: 1s

php80:
Expand Down
2 changes: 1 addition & 1 deletion docker/php72/Dockerfile → docker/php74/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.2.34-cli-alpine
FROM php:7.4.16-cli-alpine

RUN apk add --no-cache \
shadow \
Expand Down
File renamed without changes.