Skip to content

Commit abd28bb

Browse files
authored
Deprecate 8.0 and tests for PHP 8.3, 8.4 & 8.5 (#14)
1 parent 9844c27 commit abd28bb

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
strategy:
1313
matrix:
1414
php-versions:
15+
- 8.5
16+
- 8.4
17+
- 8.3
1518
- 8.2
1619
- 8.1
17-
- 8.0
1820

1921
name: PHP ${{ matrix.php-versions }}
2022
steps:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
},
2929
"config": {
3030
"platform": {
31-
"php": "8.0"
31+
"php": "8.1"
3232
}
3333
},
3434
"require": {
35-
"php": "^8.0",
35+
"php": "^8.1",
3636
"ext-json": "*"
3737
},
3838
"require-dev": {

phpstan.neon.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
parameters:
22
level: max
3-
checkGenericClassInNonGenericObjectType: false
43
paths:
54
- src
65
ignoreErrors:

src/BinaryFlags.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* This class holds useful methods for checking, adding or removing binary flags
1212
*
1313
* @author Reinder
14+
*
15+
* @implements Iterator<int|float, string>
1416
*/
1517
abstract class BinaryFlags implements Iterator, Countable, JsonSerializable
1618
{

0 commit comments

Comments
 (0)