Skip to content

Commit 23da848

Browse files
authored
Merge pull request #148 from greg0ire/php-8-4
Require PHP 8.4
2 parents 7be2ebd + 21dcb5f commit 23da848

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
name: "PHPUnit"
1515
uses: "doctrine/.github/.github/workflows/continuous-integration.yml@13.1.0"
1616
with:
17-
php-versions: '["8.1", "8.2", "8.3", "8.4", "8.5"]'
17+
php-versions: '["8.4", "8.5"]'
1818
secrets:
1919
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

.github/workflows/phpbench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
php-version:
23-
- "8.1"
23+
- "8.4"
2424
- "8.5"
2525

2626
steps:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1"
19+
"php": "^8.4"
2020
},
2121
"require-dev": {
2222
"ext-phar": "*",

phpcs.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<!-- Ignore warnings, show progress of the run and show sniff names -->
1313
<arg value="nps"/>
1414

15-
<config name="php_version" value="80100"/>
15+
<config name="php_version" value="80400"/>
1616

1717
<file>src</file>
1818
<file>tests</file>

phpstan.neon.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44

55
parameters:
66
level: max
7-
phpVersion: 80200
7+
phpVersion: 80400
88
paths:
99
- src
1010
- tests

src/Doctrine/Instantiator/Instantiator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ final class Instantiator implements InstantiatorInterface
2929
* the method {@see \Serializable::unserialize()} when dealing with classes implementing
3030
* the {@see \Serializable} interface.
3131
*/
32-
private const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C';
33-
private const SERIALIZATION_FORMAT_AVOID_UNSERIALIZER = 'O';
32+
private const string SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C';
33+
private const string SERIALIZATION_FORMAT_AVOID_UNSERIALIZER = 'O';
3434

3535
/**
3636
* Used to instantiate specific classes, indexed by class name.

0 commit comments

Comments
 (0)