Update dependency psalm/plugin-phpunit to ^0.19.0 #1708
continuous-integration.yml
on: pull_request
run
/
Generate test matrix
4s
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Lint symfony container
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / Lint twig files
Matrix: run / Lint XLIFF files
Matrix: run / Lint YML files
Matrix: run / tests
Annotations
23 warnings
run / Lint composer.json (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Code Coverage (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Static Code Analysis (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Coding Standards (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.2, Symfony 7.0, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Mutation Tests (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Mutation Tests (8.3):
src/Extension/DownloadTypeExtension.php#L33
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
{
public function configureOptions(OptionsResolver $resolver) : void
{
- $resolver->setDefaults(['download_path' => null, 'download_text' => 'link_download'])->setAllowedTypes('download_path', ['null', 'string'])->setAllowedTypes('download_text', ['null', 'string']);
+ $resolver->setDefaults(['download_path' => null, 'download_text' => 'link_download'])->setAllowedTypes('download_path', ['null', 'string'])->setAllowedTypes('download_text', ['string']);
}
public function buildForm(FormBuilderInterface $builder, array $options) : void
{
|
run / Mutation Tests (8.3):
src/Extension/DownloadTypeExtension.php#L46
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
}
public function buildView(FormView $view, FormInterface $form, array $options) : void
{
- if (null !== $options['download_path'] && null !== $form->getParent()) {
+ if (null !== $options['download_path'] || null !== $form->getParent()) {
$parentData = $form->getParent()->getData();
if (null !== $parentData) {
$propertyAccessor = PropertyAccess::createPropertyAccessor();
|
run / Mutation Tests (8.3):
src/Extension/ImageTypeExtension.php#L27
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
public function configureOptions(OptionsResolver $resolver) : void
{
- $resolver->setDefaults(['image_path' => null])->setAllowedTypes('image_path', ['null', 'string']);
+
}
public function buildForm(FormBuilderInterface $builder, array $options) : void
{
|
run / Mutation Tests (8.3):
src/Extension/ImageTypeExtension.php#L44
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
}
public function buildView(FormView $view, FormInterface $form, array $options) : void
{
- if (null !== $options['image_path'] && null !== $form->getParent()) {
+ if (null !== $options['image_path'] || null !== $form->getParent()) {
$parentData = $form->getParent()->getData();
if (null !== $parentData) {
$propertyAccessor = PropertyAccess::createPropertyAccessor();
|
run / Mutation Tests (8.3):
src/Handler/AbstractFormHandler.php#L61
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
/**
* Executes before form validating and processing is started.
*/
- protected function preProcess(FormInterface $form, Request $request) : ?Response
+ private function preProcess(FormInterface $form, Request $request) : ?Response
{
return null;
}
|
run / Mutation Tests (8.3):
src/Handler/AbstractFormHandler.php#L69
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
/**
* Executes after preprocessing and before form processing is started.
*/
- protected function validate(FormInterface $form, Request $request) : ?Response
+ private function validate(FormInterface $form, Request $request) : ?Response
{
return null;
}
|
run / Mutation Tests (8.3):
src/Handler/AbstractFormHandler.php#L82
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
/**
* Executes after form processing is finished and filters response.
*/
- protected function postProcess(FormInterface $form, Request $request, Response $response) : ?Response
+ private function postProcess(FormInterface $form, Request $request, Response $response) : ?Response
{
return $response;
}
}
|
run / Mutation Tests (8.3):
src/Model/BatchTime.php#L39
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
public function setDay(?int $day) : void
{
- $this->day = $day ?: 0;
+ $this->day = $day ?: -1;
}
public function getTime() : ?DateTimeInterface
{
|
run / Mutation Tests (8.3):
src/Model/BatchTime.php#L39
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
public function setDay(?int $day) : void
{
- $this->day = $day ?: 0;
+ $this->day = $day ?: 1;
}
public function getTime() : ?DateTimeInterface
{
|
run / Mutation Tests (8.3):
src/Model/BatchTime.php#L57
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
{
$seconds = $this->getDay() * 86400;
if (null !== $this->getTime()) {
- $time = clone $this->getTime();
+ $time = $this->getTime();
$seconds += (int) $time->format('U');
}
return $seconds;
}
}
|
run / Test: PHP 8.3, Symfony 6.4, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.2, Symfony 7.0, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.2, Symfony 6.4, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.3, Symfony 6.4, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.2, Symfony 6.4, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.3, Symfony 7.0, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.3, Symfony 7.0, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|