Skip to content

Commit 7847d73

Browse files
committed
Upgrade to Twig 3 and drop support for PHP 7.4 and 8.1
1 parent 48df627 commit 7847d73

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
20+
php: [8.1, 8.2, 8.3, 8.4]
2121

2222
env:
2323
ESB_CONSOLE_PORT: 8080

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Webgriffe ESB is designed to use a single binary which is used as the main entry
2828

2929
Requirements
3030
------------
31-
* PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4
31+
* PHP 8.1, 8.2, 8.3, 8.4
3232
* Beanstalk
3333
* Elasticsearch 7.*
3434

composer.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "~7.4.0|~8.0.0|~8.1.0|~8.2.0|~8.3.0|~8.4.0",
13+
"php": "~8.1.0|~8.2.0|~8.3.0|~8.4.0",
1414
"ext-pcntl": "*",
1515
"ext-json": "*",
1616
"ext-mbstring": "*",
@@ -20,7 +20,7 @@
2020
"amphp/beanstalk": "^0.3.2",
2121
"monolog/monolog": "^1.23",
2222
"dragonmantank/cron-expression": "^2.0",
23-
"twig/twig": "^2.5",
23+
"twig/twig": "^3.0",
2424
"nikic/fast-route": "^1.3",
2525
"amphp/http-server": "^2.0",
2626
"amphp/amp": "^2.5",
@@ -66,13 +66,5 @@
6666
"phpstan": "vendor/bin/phpstan analyse --no-progress -l max -c phpstan.neon src/",
6767
"phpunit": "vendor/bin/phpunit",
6868
"tests": ["@ecs", "@phpstan", "@phpunit"]
69-
},
70-
"config": {
71-
"audit": {
72-
"ignore": {
73-
"PKSA-yhcn-xrg3-68b1": "Needs upgrade to Twig 3.",
74-
"PKSA-2wrf-1xmk-1pky": "Needs upgrade to Twig 3."
75-
}
76-
}
7769
}
7870
}

0 commit comments

Comments
 (0)