Skip to content

Commit ecfed4b

Browse files
committed
support for symfony 7
1 parent b61cc15 commit ecfed4b

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
run: tools/php-cs-fixer fix --dry-run --no-interaction
3232

3333
- name: Run static analysis
34-
run: tools/phpstan analyse --memory-limit=-1
34+
run: vendor/bin/phpstan analyse --memory-limit=-1
3535

3636
- name: Run tests
3737
run: tools/phpunit test/ --bootstrap vendor/autoload.php
3838

3939
php82a:
40-
name: "php 8.2, laravel 9, PSR log 2"
40+
name: "php 8.2, laravel 9, PSR log 2, symfony 6"
4141
runs-on: ubuntu-latest
4242
container: "nofutur3/php-tests:8.2"
4343
services:
@@ -54,10 +54,10 @@ jobs:
5454
run: phive install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A,51C67305FFC2E5C0
5555

5656
- name: Install dependencies
57-
run: composer update --no-interaction --with illuminate/support:^9.0 --with psr/log:^2.0
57+
run: composer update --no-interaction --with illuminate/support:^9.0 --with psr/log:^2.0 --with symfony/http-foundation:^6.0 --with symfony/http-kernel:^6.0 --with symfony/psr-http-message-bridge:^6.0
5858

5959
- name: Run static analysis
60-
run: tools/phpstan analyse --memory-limit=-1
60+
run: vendor/bin/phpstan analyse --memory-limit=-1
6161

6262
- name: Run tests
6363
run: tools/phpunit test/ --bootstrap vendor/autoload.php
@@ -86,7 +86,7 @@ jobs:
8686
run: vendor/bin/phpunit test/
8787

8888
php81a:
89-
name: "php 8.1, laravel 8, symfony 5"
89+
name: "php 8.1, laravel 8, symfony 5, PSR bridge 2"
9090
runs-on: ubuntu-latest
9191
container: "nofutur3/php-tests:8.1"
9292
services:
@@ -100,7 +100,7 @@ jobs:
100100
uses: actions/checkout@v3
101101

102102
- name: Install dependencies
103-
run: composer update --no-interaction --with illuminate/support:^8.81 --with symfony/http-kernel:^5.4 --with symfony/http-foundation:^5.4
103+
run: composer update --no-interaction --with illuminate/support:^8.81 --with symfony/http-kernel:^5.4 --with symfony/http-foundation:^5.4 --with symfony/psr-http-message-bridge:^2.1
104104

105105
- name: Run static analysis
106106
run: vendor/bin/phpstan analyse --memory-limit=-1

.phive/phars.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
33
<phar name="phpunit" version="^10.2.6" installed="10.2.6" location="./tools/phpunit" copy="false"/>
4-
<phar name="phpstan" version="^1.10.26" installed="1.10.26" location="./tools/phpstan" copy="false"/>
54
<phar name="php-cs-fixer" version="^3.22.0" installed="3.22.0" location="./tools/php-cs-fixer" copy="false"/>
65
</phive>

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616
"kayex/http-codes": "^1.1",
1717
"guzzlehttp/psr7": "^2.1",
1818
"psr/log": "^2.0|^3.0",
19-
"symfony/psr-http-message-bridge": "^2.1",
20-
"symfony/http-foundation": "^5.4|^6.0",
21-
"symfony/http-kernel": "^5.4|^6.0"
19+
"symfony/psr-http-message-bridge": "^2.1|^6.0|^7.0",
20+
"symfony/http-foundation": "^5.4|^6.0|^7.0",
21+
"symfony/http-kernel": "^5.4|^6.0|^7.0"
2222
},
2323
"require-dev": {
2424
"ext-pdo": "*",
2525
"phpstan/phpstan": "^1.2",
26-
"friendsofphp/php-cs-fixer": "^3.4",
2726
"phpunit/phpunit": "^9.5|^10.0",
2827
"phpstan/phpstan-strict-rules": "^1.1",
2928
"phpstan/phpstan-deprecation-rules": "^1.0"

0 commit comments

Comments
 (0)