Skip to content

Commit c40e762

Browse files
committed
AC-10665: Integration Failures with PHP8.3
1 parent 1e1277a commit c40e762

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

dev/tests/integration/framework/Magento/TestFramework/Annotation/ComponentRegistrarFixture.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private function restoreComponents()
144144
$reflection = new ReflectionClass(self::REGISTRAR_CLASS);
145145
$paths = $reflection->getProperty(self::PATHS_FIELD);
146146
$paths->setAccessible(true);
147-
$paths->setValue($this->origComponents);
147+
$paths->setValue(null, $this->origComponents);
148148
$paths->setAccessible(false);
149149
$this->origComponents = null;
150150
}

dev/tests/setup-integration/framework/Magento/TestFramework/Annotation/CopyModules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ private function unsergisterModuleFromComponentRegistrar($moduleName)
100100
$reflectionProperty->setAccessible(true);
101101
$value = $reflectionProperty->getValue();
102102
unset($value[ComponentRegistrar::MODULE][$moduleName]);
103-
$reflectionProperty->setValue($value);
103+
$reflectionProperty->setValue(null, $value);
104104
}
105105
}

lib/internal/Magento/Framework/Stdlib/DateTime/Timezone.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ public function formatDateTime(
325325
if ($pattern) {
326326
$formatter->setPattern($pattern);
327327
}
328-
329-
return $formatter->format($date);
328+
return str_replace(""," ",$formatter->format($date));
330329
}
331330

332331
/**

0 commit comments

Comments
 (0)