Skip to content

Commit a62ac51

Browse files
authored
adds PHP 8.5 and fixes Symfony 8 support (#398)
1 parent 4e05d9d commit a62ac51

File tree

38 files changed

+321
-216
lines changed

38 files changed

+321
-216
lines changed

.github/workflows/test-suite.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: "Get Composer Cache Directory"
3838
id: composer-cache
3939
run: |
40-
echo "::set-output name=dir::$(composer config cache-files-dir)"
40+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4141
4242
- name: "Cache Composer dependencies"
4343
uses: "actions/cache@v4"
@@ -84,7 +84,7 @@ jobs:
8484
- name: "Get Composer Cache Directory"
8585
id: composer-cache
8686
run: |
87-
echo "::set-output name=dir::$(composer config cache-files-dir)"
87+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
8888
8989
- name: "Cache Composer dependencies"
9090
uses: "actions/cache@v4"
@@ -117,6 +117,7 @@ jobs:
117117
- "8.2"
118118
- "8.3"
119119
- "8.4"
120+
- "8.5"
120121
operating-system:
121122
- "ubuntu-latest"
122123

@@ -135,7 +136,7 @@ jobs:
135136
- name: "Get Composer Cache Directory"
136137
id: composer-cache
137138
run: |
138-
echo "::set-output name=dir::$(composer config cache-files-dir)"
139+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
139140
140141
- name: "Cache Composer dependencies"
141142
uses: "actions/cache@v4"
@@ -192,7 +193,7 @@ jobs:
192193
- name: "Get Composer Cache Directory"
193194
id: composer-cache
194195
run: |
195-
echo "::set-output name=dir::$(composer config cache-files-dir)"
196+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
196197
197198
- name: "Cache Composer dependencies"
198199
uses: "actions/cache@v4"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"license": "MIT",
1313
"require": {
14-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
14+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
1515
"ext-json": "*",
1616
"ext-mbstring": "*",
1717
"azuyalabs/yasumi": "~2.8",

composer.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/business-hours/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"business hours"
1010
],
1111
"require": {
12-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
12+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
1313
"aeon-php/calendar": "~1.0"
1414
},
1515
"require-dev": {

src/calendar-doctrine/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"doctrine"
99
],
1010
"require": {
11-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
11+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
1212
"aeon-php/calendar": "~1.0",
1313
"doctrine/dbal": "~3.0"
1414
},

src/calendar-holidays-yasumi/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"bridge"
1111
],
1212
"require": {
13-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
13+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
1414
"aeon-php/calendar-holidays": "~1.0",
1515
"azuyalabs/yasumi": "~2.8"
1616
},

src/calendar-holidays/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"holidays"
99
],
1010
"require": {
11-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
11+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
1212
"ext-json": "*",
1313
"ext-mbstring": "*",
1414
"aeon-php/calendar": "~1.0"

src/calendar-twig/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"extension"
1010
],
1111
"require": {
12-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
12+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
1313
"aeon-php/calendar": "~1.0",
1414
"twig/twig": "^3.19"
1515
},

src/calendar/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"datetime"
1111
],
1212
"require": {
13-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0"
13+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0"
1414
},
1515
"require-dev": {
1616
"ext-bcmath": "*",

src/calendar/src/Aeon/Calendar/Gregorian/Days.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ public function all() : array
5555
/**
5656
* @psalm-template MapResultType
5757
*
58-
* @psalm-param pure-callable(Day $day) : MapResultType $iterator
59-
*
6058
* @param callable(Day $day) : MapResultType $iterator
6159
*
60+
* @psalm-param pure-callable(Day $day) : MapResultType $iterator
61+
*
6262
* @return array<MapResultType>
6363
*/
6464
public function map(callable $iterator) : array
@@ -69,9 +69,9 @@ public function map(callable $iterator) : array
6969
/**
7070
* @psalm-suppress InvalidScalarArgument
7171
*
72-
* @psalm-param pure-callable(Day $day) : bool $iterator
73-
*
7472
* @param callable(Day $day) : bool $iterator
73+
*
74+
* @psalm-param pure-callable(Day $day) : bool $iterator
7575
*/
7676
public function filter(callable $iterator) : self
7777
{

0 commit comments

Comments
 (0)