Skip to content

Commit 55f916c

Browse files
nicolas-grekasfabpot
authored andcommitted
Bump minimum version of PHP to 8.1
1 parent 9624954 commit 55f916c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Tests/Store/MongoDbStoreTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ public function testUriPrecedence()
121121
$storeReflection = new \ReflectionObject($store);
122122

123123
$optionsProperty = $storeReflection->getProperty('options');
124-
$optionsProperty->setAccessible(true);
125124
$options = $optionsProperty->getValue($store);
126125

127126
$this->assertSame('test_uri', $options['database']);
@@ -160,7 +159,6 @@ public function testUriCollectionStrip(string $uri, array $options, string $driv
160159
$storeReflection = new \ReflectionObject($store);
161160

162161
$uriProperty = $storeReflection->getProperty('uri');
163-
$uriProperty->setAccessible(true);
164162
$uri = $uriProperty->getValue($store);
165163
$this->assertSame($driverUri, $uri);
166164
}

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.0.2",
19+
"php": ">=8.1",
2020
"psr/log": "^1|^2|^3"
2121
},
2222
"require-dev": {

0 commit comments

Comments
 (0)