Allow PHP 8.4 #1033
Annotations
1 error and 2 warnings
|
src/Psl/DateTime/DateTime.php#L182
Escaped Mutant for Mutator "GreaterThanOrEqualTo":
--- Original
+++ New
@@ @@
* @var IntlCalendar $calendar
*/
$calendar = IntlCalendar::createInstance(Internal\to_intl_timezone($timezone));
- if (PHP_VERSION_ID >= 80300) {
+ if (PHP_VERSION_ID > 80300) {
$calendar->setDateTime($year, $month - 1, $day, $hours, $minutes, $seconds);
} else {
$calendar->set($year, $month - 1, $day, $hours, $minutes, $seconds);
|
src/Psl/DateTime/DateTime.php#L182
Escaped Mutant for Mutator "GreaterThanOrEqualToNegotiation":
--- Original
+++ New
@@ @@
* @var IntlCalendar $calendar
*/
$calendar = IntlCalendar::createInstance(Internal\to_intl_timezone($timezone));
- if (PHP_VERSION_ID >= 80300) {
+ if (PHP_VERSION_ID < 80300) {
$calendar->setDateTime($year, $month - 1, $day, $hours, $minutes, $seconds);
} else {
$calendar->set($year, $month - 1, $day, $hours, $minutes, $seconds);
|
This job failed
Loading