Skip to content

Commit fdb8265

Browse files
staabmclxmstaab
andauthored
ReflectionCache::load() is deprecated (#235)
Co-authored-by: Markus Staab <[email protected]>
1 parent 4bce571 commit fdb8265

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ $config = new RuntimeConfiguration();
122122

123123
QueryReflection::setupReflector(
124124
new ReplayQueryReflector(
125-
ReflectionCache::load(
125+
ReflectionCache::create(
126126
$cacheFile
127127
)
128128
),

bootstrap.php

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

4545
// when we can't connect to the database, we rely on replaying pre-recorded db-reflection information
4646
$reflector = new ReplayQueryReflector(
47-
ReflectionCache::load(
47+
ReflectionCache::create(
4848
$cacheFile
4949
)
5050
);

tests/default/config/bootstrap.php

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

4545
// when we can't connect to the database, we rely on replaying pre-recorded db-reflection information
4646
$reflector = new ReplayQueryReflector(
47-
ReflectionCache::load(
47+
ReflectionCache::create(
4848
$cacheFile
4949
)
5050
);

tests/stringify/config/bootstrap.php

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

4545
// when we can't connect to the database, we rely on replaying pre-recorded db-reflection information
4646
$reflector = new ReplayQueryReflector(
47-
ReflectionCache::load(
47+
ReflectionCache::create(
4848
$cacheFile
4949
)
5050
);

0 commit comments

Comments
 (0)