Skip to content

Commit 0b6060c

Browse files
committed
Drop PSR v1 support (simple-cache, log, container, http-message) and require berlioz/helpers ^1.10 for PHP 8.4/8.5 compatibility
1 parent d4661a8 commit 0b6060c

File tree

14 files changed

+33
-33
lines changed

14 files changed

+33
-33
lines changed

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"ext-intl": "*",
9393
"ext-mbstring": "*",
9494
"ext-xml": "*",
95-
"berlioz/helpers": "^1.0",
95+
"berlioz/helpers": "^1.10",
9696
"colinodell/json5": "^2.2",
9797
"doctrine/sql-formatter": "^1.1",
9898
"elgigi/har-parser": "^1.0",
@@ -101,15 +101,15 @@
101101
"league/flysystem": "^2.1 || ^3.0",
102102
"league/mime-type-detection": "^1.0",
103103
"psr/clock": "^1.0",
104-
"psr/container": "^1.0 || ^2.0",
104+
"psr/container": "^2.0",
105105
"psr/event-dispatcher": "^1.0",
106106
"psr/http-client": "^1.0",
107107
"psr/http-factory": "^1.0 || ^2.0",
108-
"psr/http-message": "^1.0 || ^2.0",
108+
"psr/http-message": "^2.0",
109109
"psr/http-server-handler": "^1.0",
110110
"psr/http-server-middleware": "^1.0",
111-
"psr/log": "^1.0 || ^2.0 || ^3.0",
112-
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
111+
"psr/log": "^2.0 || ^3.0",
112+
"psr/simple-cache": "^2.0 || ^3.0",
113113
"twig/twig": "^3.0"
114114
},
115115
"require-dev": {
@@ -139,12 +139,12 @@
139139
"hectororm/query": "To use database queue in QueueManager"
140140
},
141141
"provide": {
142-
"psr/container-implementation": "^1.0",
142+
"psr/container-implementation": "^2.0",
143143
"psr/event-dispatcher-implementation": "^1.0",
144-
"psr/http-message-implementation": "^1.0",
144+
"psr/http-message-implementation": "^2.0",
145145
"psr/http-server-handler-implementation": "^1.0",
146146
"psr/http-server-middleware-implementation": "^1.0",
147-
"psr/simple-cache-implementation": "^1.0"
147+
"psr/simple-cache-implementation": "^2.0 || ^3.0"
148148
},
149149
"extra": {
150150
"branch-alias": {

src/Cli/Core/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"league/climate": "^3.7"
2727
},
2828
"provide": {
29-
"psr/container-implementation": "^1.0",
29+
"psr/container-implementation": "^2.0",
3030
"psr/event-dispatcher-implementation": "^1.0",
31-
"psr/simple-cache-implementation": "^1.0"
31+
"psr/simple-cache-implementation": "^2.0 || ^3.0"
3232
},
3333
"extra": {
3434
"branch-alias": {

src/Config/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"require": {
2222
"php": "^8.2",
23-
"berlioz/helpers": "^1.0",
23+
"berlioz/helpers": "^1.10",
2424
"colinodell/json5": "^2.2"
2525
},
2626
"suggest": {

src/Core/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"ext-mbstring": "*",
2525
"berlioz/config": "self.version",
2626
"berlioz/event-manager": "self.version",
27-
"berlioz/helpers": "^1.2",
27+
"berlioz/helpers": "^1.10",
2828
"berlioz/service-container": "self.version",
2929
"league/flysystem": "^2.1 || ^3.0",
30-
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
30+
"psr/simple-cache": "^2.0 || ^3.0"
3131
},
3232
"extra": {
3333
"branch-alias": {

src/Form/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
},
2121
"require": {
2222
"php": "^8.2",
23-
"berlioz/helpers": "^1.2",
24-
"psr/http-message": "^1.0 || ^2.0",
23+
"berlioz/helpers": "^1.10",
24+
"psr/http-message": "^2.0",
2525
"league/mime-type-detection": "^1.0"
2626
},
2727
"extra": {

src/HtmlSelector/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"php": "^8.2",
2323
"ext-mbstring": "*",
2424
"ext-xml": "*",
25-
"psr/http-message": "^1.0 || ^2.0"
25+
"psr/http-message": "^2.0"
2626
},
2727
"extra": {
2828
"branch-alias": {

src/Http/Client/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"berlioz/http-message": "self.version",
2525
"elgigi/har-parser": "^1.0",
2626
"psr/http-client": "^1.0",
27-
"psr/log": "^1.0 || ^2.0 || ^3.0"
27+
"psr/log": "^2.0 || ^3.0"
2828
},
2929
"suggest": {
3030
"ext-curl": "To use CURL adapter",

src/Http/Core/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
"psr/http-server-middleware": "^1.0"
3333
},
3434
"provide": {
35-
"psr/container-implementation": "^1.0",
36-
"psr/http-message-implementation": "^1.0",
35+
"psr/container-implementation": "^2.0",
36+
"psr/http-message-implementation": "^2.0",
3737
"psr/http-server-handler-implementation": "^1.0",
3838
"psr/http-server-middleware-implementation": "^1.0",
39-
"psr/simple-cache-implementation": "^1.0"
39+
"psr/simple-cache-implementation": "^2.0 || ^3.0"
4040
},
4141
"extra": {
4242
"branch-alias": {

src/Http/Message/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
"require": {
2222
"php": "^8.2",
2323
"ext-fileinfo": "*",
24-
"berlioz/helpers": "^1.5",
25-
"psr/http-message": "^1.0 || ^2.0",
24+
"berlioz/helpers": "^1.10",
25+
"psr/http-message": "^2.0",
2626
"psr/http-factory": "^1.0 || ^2.0"
2727
},
2828
"suggest": {
2929
"ext-zlib": "To use GzStream"
3030
},
3131
"provide": {
32-
"psr/http-message-implementation": "*",
32+
"psr/http-message-implementation": "^2.0",
3333
"psr/http-factory-implementation": "*"
3434
},
3535
"extra": {

src/Mailer/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"php": "^8.2",
2323
"ext-mbstring": "*",
2424
"ext-fileinfo": "*",
25-
"psr/log": "^1.0 || ^2.0 || ^3.0"
25+
"psr/log": "^2.0 || ^3.0"
2626
},
2727
"extra": {
2828
"branch-alias": {

0 commit comments

Comments
 (0)