Skip to content

Commit 4b9fd39

Browse files
fix versions and docs
1 parent 885be22 commit 4b9fd39

File tree

5 files changed

+18
-78
lines changed

5 files changed

+18
-78
lines changed

.github/workflows/continous-integration.yml

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-24.04
1515
strategy:
1616
matrix:
17-
php-versions: ['7.3', '7.4', '8.0']
17+
php-versions: ['8.1', '8.2', '8.3', '8.4', '8.5']
1818

1919
steps:
2020
- uses: actions/checkout@v4
@@ -40,49 +40,10 @@ jobs:
4040
run: composer update --prefer-dist --no-interaction
4141

4242
- name: Run phpunit
43-
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --configuration=phpunit-ci-old-versions.xml
43+
run: XDEBUG_MODE=coverage vendor/bin/phpunit --color="always" --coverage-text --configuration=phpunit-ci.xml
4444

4545
- name: Install lowest dependencies
4646
run: composer update --prefer-dist --no-interaction --prefer-lowest
4747

4848
- name: Run phpunit with lowest dependencies
49-
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --configuration=phpunit-ci-old-versions.xml
50-
51-
build-new-php-version:
52-
53-
services:
54-
rabbitmq:
55-
image: rabbitmq:4.1
56-
ports:
57-
- 5672:5672
58-
59-
runs-on: ubuntu-24.04
60-
strategy:
61-
matrix:
62-
php-versions: ['8.1', '8.2', '8.3', '8.4', '8.5']
63-
64-
steps:
65-
- uses: actions/checkout@v4
66-
67-
- name: Setup PHP
68-
uses: shivammathur/setup-php@v2
69-
with:
70-
php-version: ${{ matrix.php-versions }}
71-
extensions: sockets, xdebug
72-
coverage: xdebug
73-
tools: phpunit:latest
74-
75-
- name: Cache Composer packages
76-
id: composer-cache
77-
uses: actions/cache@v4
78-
with:
79-
path: vendor
80-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
81-
restore-keys: |
82-
${{ runner.os }}-php-
83-
84-
- name: Install dependencies
85-
run: composer update --prefer-dist --no-interaction
86-
87-
- name: Run phpunit
88-
run: XDEBUG_MODE=coverage vendor/bin/phpunit --color="always" --coverage-text --configuration=phpunit-ci.xml
49+
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --configuration=phpunit-ci.xml

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Added
1010
- Support PHP 8.5
1111

12+
### Removed
13+
- Support PHP 7.3, 7.4, 8.0
14+
- Support Laravel ~6.0, ~7.0
15+
1216
## [v2.7.0]
1317
### Added
1418
- Support for RabbitMQ 4.x.x

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
}
1818
],
1919
"require": {
20-
"php": ">=7.3",
20+
"php": ">=8.1",
2121
"ext-json": "*",
2222
"ext-sockets": "*",
2323
"php-amqplib/php-amqplib": "^3.1",
24-
"laravel/framework": "^6.20.12|^7.30.4|^8.22.1|^9.2|^10.0|^11.0|^12.0"
24+
"laravel/framework": "^8.22.1|^9.2|^10.0|^11.0|^12.0"
2525
},
2626
"require-dev": {
2727
"ext-curl": "*",
28-
"phpunit/phpunit": "^9.5|^10.0|^11.0",
28+
"phpunit/phpunit": "^10.0|^11.0",
2929
"squizlabs/php_codesniffer": "^2.5",
30-
"orchestra/testbench": "^4.18|^6.21|^8.0|^9.0|^10.0",
30+
"orchestra/testbench": "^6.21|^8.0|^9.0|^10.0",
3131
"mockery/mockery": "^1.3"
3232
},
3333
"autoload": {

docs/INSTALLATION.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@
55
3. [Configuring Pigeon](#configuring)
66

77
## Requirements
8-
- PHP >= 7.1.3
98
- JSON PHP extension
109
- Sockets PHP Extension
1110

11+
## Compatibility
12+
| Package Version | PHP Compatibility | Laravel Compatibility |
13+
|-----------------|-------------------|------------------------|
14+
| Version 1 | >= 7.1.3 | 5.6, 6.x, 7.x, 8.x |
15+
| Version 2 | >= 7.3 | 6.20.12+, 7.30.4+, 8.22.1+, 9.x, 10.x, 11.x, 12.x |
16+
| Version 3 | >= 8.1 | 8.22.1+, 9.x, 10.x, 11.x, 12.x |
17+
1218
## Installing
1319
Pigeon utilizes [Composer](https://getcomposer.org/) to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.
1420

phpunit-ci-old-versions.xml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)