chore: Remove deprecation and start v2.0 #FRAM-221 #91
Annotations
4 errors and 17 warnings
|
Symfony 6.4
Process completed with exit code 2.
|
|
Symfony 7.4
The strategy configuration was canceled because "sf-compatibility._6_4" failed
|
|
Symfony 8.0
The strategy configuration was canceled because "sf-compatibility._6_4" failed
|
|
Symfony 8.0
The operation was canceled.
|
|
PHP 8.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, shivammathur/setup-php@v2, szenius/set-timezone@v1.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHP 8.5
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, shivammathur/setup-php@v2, szenius/set-timezone@v1.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Symfony 6.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, shivammathur/setup-php@v2, szenius/set-timezone@v1.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Symfony 7.4
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, shivammathur/setup-php@v2, szenius/set-timezone@v1.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Test coverage
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, codecov/codecov-action@v3, shivammathur/setup-php@v2, szenius/set-timezone@v1.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Symfony 8.0
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, shivammathur/setup-php@v2, szenius/set-timezone@v1.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Analysis
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, shivammathur/setup-php@v2, szenius/set-timezone@v1.0. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Analysis:
src/Aggregate/RootForm.php#L120
Escaped Mutant for Mutator "NullSafeMethodCall":
@@ @@
#[Override]
public function value(): mixed
{
- return $this->form->get()?->value();
+ return $this->form->get()->value();
}
#[Override]
|
|
Analysis:
src/Aggregate/RootForm.php#L112
Escaped Mutant for Mutator "NullSafeMethodCall":
@@ @@
#[Override]
public function import(mixed $entity): static
{
- $this->form->get()?->import($entity);
+ $this->form->get()->import($entity);
return $this;
}
|
|
Analysis:
src/Aggregate/RootForm.php#L104
Escaped Mutant for Mutator "NullSafeMethodCall":
@@ @@
public function patch(mixed $data): static
{
$this->submitToButtons($data);
- $this->form->get()?->patch($data);
+ $this->form->get()->patch($data);
return $this;
}
|
|
Analysis:
src/Aggregate/RootForm.php#L95
Escaped Mutant for Mutator "NullSafeMethodCall":
@@ @@
public function submit(mixed $data): static
{
$this->submitToButtons($data);
- $this->form->get()?->submit($data);
+ $this->form->get()->submit($data);
return $this;
}
|
|
Analysis:
src/Aggregate/Form.php#L185
Escaped Mutant for Mutator "LogicalAnd":
@@ @@
#[Override]
public function import(mixed $entity): static
{
- if ($entity !== null && $entity !== []) {
+ if ($entity !== null || $entity !== []) {
$this->generator->attach($entity);
}
|
|
Analysis:
src/Aggregate/Collection/DependencyIterator.php#L60
Escaped Mutant for Mutator "NullSafeMethodCall":
@@ @@
// We need to skip empty levels
while (!$this->levelIterator->valid()) {
$this->levelIterator = null;
- $this->currentLevel = $this->reverse ? $this->currentLevel?->prev() : $this->currentLevel?->next();
+ $this->currentLevel = $this->reverse ? $this->currentLevel?->prev() : $this->currentLevel->next();
// There is no more level, the iterator will be "invalid"
if ($this->currentLevel === null) {
|
|
Analysis:
src/Aggregate/Collection/DependencyIterator.php#L60
Escaped Mutant for Mutator "NullSafeMethodCall":
@@ @@
// We need to skip empty levels
while (!$this->levelIterator->valid()) {
$this->levelIterator = null;
- $this->currentLevel = $this->reverse ? $this->currentLevel?->prev() : $this->currentLevel?->next();
+ $this->currentLevel = $this->reverse ? $this->currentLevel->prev() : $this->currentLevel?->next();
// There is no more level, the iterator will be "invalid"
if ($this->currentLevel === null) {
|
|
Analysis:
src/Aggregate/ArrayElementBuilder.php#L417
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
}
#[Override]
- protected function registry(): RegistryInterface
+ private function registry(): RegistryInterface
{
return $this->registry;
}
|
|
Analysis:
src/Aggregate/ArrayElementBuilder.php#L369
Escaped Mutant for Mutator "TrueValue":
@@ @@
public ChoiceConstraint $constraint;
#[Override]
- public function satisfy(Constraint|callable $constraint, ?string $message = null, bool $append = true): static
+ public function satisfy(Constraint|callable $constraint, ?string $message = null, bool $append = false): static
{
assert($constraint instanceof ChoiceConstraint);
$this->constraint = $constraint;
|
|
Analysis:
src/Aggregate/ArrayElementBuilder.php#L368
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
public ChoiceConstraint $constraint;
#[Override]
- public function satisfy(Constraint|callable $constraint, ?string $message = null, bool $append = true): static
+ protected function satisfy(Constraint|callable $constraint, ?string $message = null, bool $append = true): static
{
assert($constraint instanceof ChoiceConstraint);
$this->constraint = $constraint;
|