Skip to content

Bump micromatch from 4.0.5 to 4.0.8 in /website #926

Bump micromatch from 4.0.5 to 4.0.8 in /website

Bump micromatch from 4.0.5 to 4.0.8 in /website #926

Triggered via pull request August 30, 2024 11:00
Status Success
Total duration 1m 18s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

27 warnings
test (7.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (8.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (8.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (8.2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (8.2): src/Domain/Entity/Calendar.php#L47
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ */ private function ensureEventsObject($events = []) : Events { - if ($events instanceof Events) { + if (false) { return $events; } if (is_array($events)) {
test (8.2): src/Domain/Entity/Calendar.php#L55
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if (is_array($events)) { return new EventsArray($events); } - if ($events instanceof Iterator) { + if (true) { return new EventsGenerator($events); } throw new InvalidArgumentException('$events must be an array, an object implementing Iterator or an instance of Events.');
test (8.2): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if ($beginDateTime !== null || $endDateTime === null) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.2): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if ($beginDateTime === null || $endDateTime !== null) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.2): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if ($beginDateTime === null && $endDateTime === null) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.2): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if (!($beginDateTime === null) || !($endDateTime === null)) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.2): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "LogicalOrNegation": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if (!($beginDateTime === null || $endDateTime === null)) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.2): src/Domain/Entity/TimeZone.php#L59
Escaped Mutant for Mutator "Ternary": --- Original +++ New @@ @@ $fromDateTime = DateTimeImmutable::createFromFormat(DateTimeImmutable::ISO8601, $transitionArray['time']); assert($fromDateTime instanceof DateTimeImmutable, $transitionArray['time']); $localFromDateTime = $fromDateTime->setTimezone($phpDateTimeZone); - $timeZone->addTransition(new TimeZoneTransition($transitionArray['isdst'] ? TimeZoneTransitionType::DAYLIGHT() : TimeZoneTransitionType::STANDARD(), $localFromDateTime, $phpDateTimeZone->getOffset($fromDateTime->sub(new DateInterval('PT1S'))), $transitionArray['offset'], $transitionArray['abbr'])); + $timeZone->addTransition(new TimeZoneTransition($transitionArray['isdst'] ? TimeZoneTransitionType::STANDARD() : TimeZoneTransitionType::DAYLIGHT(), $localFromDateTime, $phpDateTimeZone->getOffset($fromDateTime->sub(new DateInterval('PT1S'))), $transitionArray['offset'], $transitionArray['abbr'])); } return $timeZone; }
test (8.2): src/Domain/Enum/CalendarUserType.php#L44
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ } public static function UNKNOWN() : self { - return self::$unknown ??= new self(); + return self::$unknown = new self(); } }
test (8.2): src/Domain/Enum/TimeZoneTransitionType.php#L26
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ } public static function STANDARD() : self { - return self::$standard ??= new TimeZoneTransitionType(); + return self::$standard = new TimeZoneTransitionType(); } }
test (8.3): src/Domain/Entity/Calendar.php#L47
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ */ private function ensureEventsObject($events = []) : Events { - if ($events instanceof Events) { + if (false) { return $events; } if (is_array($events)) {
test (8.3): src/Domain/Entity/Calendar.php#L55
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ if (is_array($events)) { return new EventsArray($events); } - if ($events instanceof Iterator) { + if (true) { return new EventsGenerator($events); } throw new InvalidArgumentException('$events must be an array, an object implementing Iterator or an instance of Events.');
test (8.3): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if ($beginDateTime !== null || $endDateTime === null) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.3): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if ($beginDateTime === null || $endDateTime !== null) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.3): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if ($beginDateTime === null && $endDateTime === null) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.3): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if (!($beginDateTime === null) || !($endDateTime === null)) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.3): src/Domain/Entity/TimeZone.php#L40
Escaped Mutant for Mutator "LogicalOrNegation": --- Original +++ New @@ @@ } public static function createFromPhpDateTimeZone(PhpDateTimeZone $phpDateTimeZone, DateTimeInterface $beginDateTime = null, DateTimeInterface $endDateTime = null) : self { - if ($beginDateTime === null || $endDateTime === null) { + if (!($beginDateTime === null || $endDateTime === null)) { trigger_deprecation('eluceo/ical', '2.1.0', 'Relying on the default values for begin and end date when calling TimeZone::createFromPhpDateTimeZone() is deprecated. Please provide a begin and an end date.'); } $transitions = $phpDateTimeZone->getTransitions($beginDateTime ? $beginDateTime->getTimestamp() : (new DateTimeImmutable('0000-01-01 12:00:00'))->getTimestamp(), $endDateTime ? $endDateTime->getTimestamp() : PHP_INT_MAX);
test (8.3): src/Domain/Entity/TimeZone.php#L59
Escaped Mutant for Mutator "Ternary": --- Original +++ New @@ @@ $fromDateTime = DateTimeImmutable::createFromFormat(DateTimeImmutable::ISO8601, $transitionArray['time']); assert($fromDateTime instanceof DateTimeImmutable, $transitionArray['time']); $localFromDateTime = $fromDateTime->setTimezone($phpDateTimeZone); - $timeZone->addTransition(new TimeZoneTransition($transitionArray['isdst'] ? TimeZoneTransitionType::DAYLIGHT() : TimeZoneTransitionType::STANDARD(), $localFromDateTime, $phpDateTimeZone->getOffset($fromDateTime->sub(new DateInterval('PT1S'))), $transitionArray['offset'], $transitionArray['abbr'])); + $timeZone->addTransition(new TimeZoneTransition($transitionArray['isdst'] ? TimeZoneTransitionType::STANDARD() : TimeZoneTransitionType::DAYLIGHT(), $localFromDateTime, $phpDateTimeZone->getOffset($fromDateTime->sub(new DateInterval('PT1S'))), $transitionArray['offset'], $transitionArray['abbr'])); } return $timeZone; }
test (8.3): src/Domain/Enum/CalendarUserType.php#L44
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ } public static function UNKNOWN() : self { - return self::$unknown ??= new self(); + return self::$unknown = new self(); } }
test (8.3): src/Domain/Enum/TimeZoneTransitionType.php#L26
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ } public static function STANDARD() : self { - return self::$standard ??= new TimeZoneTransitionType(); + return self::$standard = new TimeZoneTransitionType(); } }
test (8.3)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.5.0/dist/codecov' failed with exit code 1
test (8.3)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/