Skip to content

Commit

Permalink
Drop PHP 7.4 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmy committed Dec 21, 2023
1 parent 3b41306 commit eda3d7d
Show file tree
Hide file tree
Showing 56 changed files with 59 additions and 71 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
coverage: none
extensions: mongodb, redis, :xdebug
ini-values: memory_limit=2048M
Expand All @@ -77,16 +77,10 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']
symfony_version: ['5.4.*', '6.3.*', '6.4.*', '7.0.*']
dependencies: ['--prefer-lowest', '--prefer-dist']
exclude:
- php: '7.4'
symfony_version: '6.3.*'
- php: '7.4'
symfony_version: '6.4.*'
- php: '7.4'
symfony_version: '7.0.*'
- php: '8.0'
symfony_version: '6.3.*'
- php: '8.0'
Expand Down Expand Up @@ -133,16 +127,10 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2'] # same as in the container
php: ['8.0', '8.1', '8.2'] # same as in the container
symfony_version: ['5.4.*', '6.3.*', '6.4.*', '7.0.*']
dependencies: ['--prefer-lowest', '--prefer-dist']
exclude:
- php: '7.4'
symfony_version: '6.3.*'
- php: '7.4'
symfony_version: '6.4.*'
- php: '7.4'
symfony_version: '7.0.*'
- php: '8.0'
symfony_version: '6.3.*'
- php: '8.0'
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"phpstan": "bin/phpstan analyse --memory-limit=512M -c phpstan.neon"
},
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",

"ext-amqp": "^1.9.3|^2.0.0",
"ext-gearman": "^2.0",
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ version: '2'
services:
dev:
# when image publishing gets sorted:
# image: enqueue/dev:${PHP_VERSION:-7.4}
# image: enqueue/dev:${PHP_VERSION:-8.0}
build:
context: docker
args:
PHP_VERSION: "${PHP_VERSION:-7.4}"
PHP_VERSION: "${PHP_VERSION:-8.0}"
depends_on:
- rabbitmq
- mysql
Expand Down
2 changes: 1 addition & 1 deletion docker/thruway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM makasim/nginx-php-fpm:7.4-all-exts
FROM makasim/nginx-php-fpm:8.0-all-exts

RUN mkdir -p /thruway
WORKDIR /thruway
Expand Down
2 changes: 1 addition & 1 deletion pkg/amqp-bunny/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/amqp-bunny/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"queue-interop/amqp-interop": "^0.8.2",
"queue-interop/queue-interop": "^0.8",
"bunny/bunny": "^0.4|^0.5",
Expand Down
2 changes: 1 addition & 1 deletion pkg/amqp-ext/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/amqp-ext/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"ext-amqp": "^1.9.3|^2.0.0",
"queue-interop/amqp-interop": "^0.8.2",
"queue-interop/queue-interop": "^0.8",
Expand Down
2 changes: 1 addition & 1 deletion pkg/amqp-lib/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/amqp-lib/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"php-amqplib/php-amqplib": "^3.2",
"queue-interop/amqp-interop": "^0.8.2",
"queue-interop/queue-interop": "^0.8",
Expand Down
2 changes: 1 addition & 1 deletion pkg/amqp-tools/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/amqp-tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"queue-interop/amqp-interop": "^0.8.2",
"queue-interop/queue-interop": "^0.8",
"enqueue/dsn": "^0.10"
Expand Down
2 changes: 1 addition & 1 deletion pkg/async-command/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/async-command/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"enqueue/enqueue": "^0.10",
"queue-interop/queue-interop": "^0.8",
"symfony/console": "^5.4|^6.0|^7.0",
Expand Down
2 changes: 1 addition & 1 deletion pkg/async-event-dispatcher/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/async-event-dispatcher/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"enqueue/enqueue": "^0.10",
"queue-interop/queue-interop": "^0.8",
"symfony/event-dispatcher": "^5.4|^6.0|^7.0"
Expand Down
2 changes: 1 addition & 1 deletion pkg/dbal/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/dbal/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"queue-interop/queue-interop": "^0.8",
"doctrine/dbal": "^2.12|^3.1",
"doctrine/persistence": "^2.0|^3.0",
Expand Down
2 changes: 1 addition & 1 deletion pkg/dsn/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/dsn/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0"
"php": "^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
Expand Down
2 changes: 1 addition & 1 deletion pkg/enqueue-bundle/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/enqueue-bundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"symfony/framework-bundle": "^5.4|^6.0|^7.0",
"queue-interop/amqp-interop": "^0.8.2",
"queue-interop/queue-interop": "^0.8",
Expand Down
2 changes: 1 addition & 1 deletion pkg/enqueue/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/enqueue/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"queue-interop/amqp-interop": "^0.8.2",
"queue-interop/queue-interop": "^0.8",
"enqueue/null": "^0.10",
Expand Down
2 changes: 1 addition & 1 deletion pkg/fs/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/fs/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"queue-interop/queue-interop": "^0.8",
"enqueue/dsn": "^0.10",
"symfony/filesystem": "^5.4|^6.0|^7.0",
Expand Down
2 changes: 1 addition & 1 deletion pkg/gearman/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/gearman/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"ext-gearman": "^2.0",
"queue-interop/queue-interop": "^0.8"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/gps/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/gps/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"queue-interop/queue-interop": "^0.8",
"google/cloud-pubsub": "^1.4.3",
"enqueue/dsn": "^0.10"
Expand Down
2 changes: 1 addition & 1 deletion pkg/job-queue/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/job-queue/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"enqueue/enqueue": "^0.10",
"enqueue/null": "^0.10",
"queue-interop/queue-interop": "^0.8",
Expand Down
2 changes: 1 addition & 1 deletion pkg/mongodb/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/mongodb/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"queue-interop/queue-interop": "^0.8",
"mongodb/mongodb": "^1.2",
"ext-mongodb": "^1.5"
Expand Down
2 changes: 1 addition & 1 deletion pkg/monitoring/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/monitoring/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"enqueue/enqueue": "^0.10",
"enqueue/dsn": "^0.10"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/null/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/null/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"queue-interop/queue-interop": "^0.8"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/pheanstalk/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

name: PHP ${{ matrix.php }} tests

Expand Down
2 changes: 1 addition & 1 deletion pkg/pheanstalk/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage": "https://enqueue.forma-pro.com/",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"pda/pheanstalk": "^3.1",
"queue-interop/queue-interop": "^0.8"
},
Expand Down
Loading

0 comments on commit eda3d7d

Please sign in to comment.