Detect changes in ENUMs as BC breaks #1554
continuous-integration.yml
on: pull_request
Generate job matrix
9s
Matrix: Check Backwards Compatibility
Matrix: Composer Require Checker
Matrix: QA Checks
Annotations
4 errors and 3 warnings
Check Backwards Compatibility (locked, 8.2, ubuntu-latest):
src/CompareClasses.php#L20
The number of required arguments for Roave\BackwardCompatibility\CompareClasses#__construct() increased from 3 to 4
|
Check Backwards Compatibility (locked, 8.2, ubuntu-latest)
Process completed with exit code 3.
|
Check Backwards Compatibility (locked, 8.3, ubuntu-latest)
The job was canceled because "locked_8_2_ubuntu-latest" failed.
|
Check Backwards Compatibility (locked, 8.3, ubuntu-latest)
The operation was canceled.
|
Check Backwards Compatibility (locked, 8.2, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: shivammathur/setup-php@2.24.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Composer Require Checker (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: shivammathur/setup-php@2.24.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
QA Checks (Infection [8.2, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/DetectChanges/BCBreak/EnumBased/CasesChanged.php#L63
Escaped Mutant for Mutator "UnwrapArrayValues":
--- Original
+++ New
@@ @@
$caseName = $case->getName();
return Change::removed('Case ' . $fromEnumName . '::' . $caseName . ' was removed');
}, $removedCases));
- $caseAddedChanges = array_values(array_map(static function (ReflectionEnumCase $case) use($fromEnumName) : Change {
+ $caseAddedChanges = array_map(static function (ReflectionEnumCase $case) use($fromEnumName) : Change {
$caseName = $case->getName();
return Change::added('Case ' . $fromEnumName . '::' . $caseName . ' was added');
- }, $addedCases));
+ }, $addedCases);
return Changes::fromList(...$caseRemovedChanges, ...$caseAddedChanges);
}
/**
|