Skip to content

Commit 21e998e

Browse files
committed
Allow installation with PHP8, add Symfony 5.2 to tests
1 parent 6d9fccd commit 21e998e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
strategy:
5353
fail-fast: false
5454
matrix:
55-
php-versions: ['7.2', '7.3', '7.4']
56-
symfony-version: ['4.4.*', '5.0.*', '5.1.*']
55+
php-versions: ['7.2', '7.3', '7.4', '8.0']
56+
symfony-version: ['4.4.*', '5.0.*', '5.1.*', '5.2.*']
5757

5858
steps:
5959
- name: Set PHP Version
@@ -108,7 +108,7 @@ jobs:
108108
strategy:
109109
fail-fast: false
110110
matrix:
111-
php-versions: ['7.2', '7.3', '7.4']
111+
php-versions: ['7.2', '7.3', '7.4', '8.0']
112112

113113
steps:
114114
- name: Set PHP Version
@@ -155,7 +155,7 @@ jobs:
155155
strategy:
156156
fail-fast: false
157157
matrix:
158-
php-versions: ['7.2', '7.3', '7.4']
158+
php-versions: ['7.2', '7.3', '7.4', '8.0']
159159

160160
steps:
161161
- name: Set PHP Version

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"minimum-stability": "dev",
77
"require": {
8-
"php": "^7.2",
8+
"php": ">=7.2.5",
99
"symfony/config": "^4.4 | ^5.0",
1010
"symfony/dependency-injection": "^4.4 | ^5.0",
1111
"symfony/http-kernel": "^4.4 | ^5.0"

tests/FunctionalTests/Persistence/ResetPasswordRequestRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function testGetMostRecentNonExpiredRequestDateReturnsNullOnExpiredReques
127127
$expiredFixture = new ResetPasswordTestFixtureRequest();
128128
$expiredFixture->user = $userFixture;
129129
$expiredFixture->expiresAt = new \DateTimeImmutable('-1 hours');
130-
$expiredFixture->requestedAt = new\DateTimeImmutable('-2 hours');
130+
$expiredFixture->requestedAt = new \DateTimeImmutable('-2 hours');
131131

132132
$this->manager->persist($expiredFixture);
133133
$this->manager->flush();

0 commit comments

Comments
 (0)