Skip to content

build: bump squizlabs/php_codesniffer from 3.9.0 to 3.9.1 (#361) #588

build: bump squizlabs/php_codesniffer from 3.9.0 to 3.9.1 (#361)

build: bump squizlabs/php_codesniffer from 3.9.0 to 3.9.1 (#361) #588

Triggered via push April 22, 2024 15:41
Status Failure
Total duration 3m 2s
Artifacts

tests.yml

on: push
Mutation tests (Infection)
2m 52s
Mutation tests (Infection)
Test coverage (PHPUnit)
42s
Test coverage (PHPUnit)
Matrix: Unit tests (PHPUnit)
Fit to window
Zoom out
Zoom in

Annotations

1 error and 50 warnings
Test coverage (PHPUnit)
Process completed with exit code 2.
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests (PHPUnit) (ubuntu-latest, 8.1, locked)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
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/
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests (PHPUnit) (ubuntu-latest, 8.1, highest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test coverage (PHPUnit)
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 coverage (PHPUnit)
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 coverage (PHPUnit)
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 coverage (PHPUnit)
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 coverage (PHPUnit)
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 coverage (PHPUnit)
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 coverage (PHPUnit)
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 coverage (PHPUnit)
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 coverage (PHPUnit)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test coverage (PHPUnit)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Mutation tests (Infection)
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/
Mutation tests (Infection)
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/
Mutation tests (Infection)
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/
Mutation tests (Infection)
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/
Mutation tests (Infection)
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/
Mutation tests (Infection)
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/
Mutation tests (Infection)
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/
Mutation tests (Infection)
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/
Mutation tests (Infection)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mutation tests (Infection)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Mutation tests (Infection): src/Blocks/BulletedListItem.php#L119
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ } public function changeChildren(BlockInterface ...$children) : self { - $hasChildren = count($children) > 0; + $hasChildren = count($children) >= 0; return new self($this->metadata->updateHasChildren($hasChildren), $this->text, $this->color, $children); } public function addChild(BlockInterface $child) : self
Mutation tests (Infection): src/Blocks/BulletedListItem.php#L119
Escaped Mutant for Mutator "GreaterThanNegotiation": --- Original +++ New @@ @@ } public function changeChildren(BlockInterface ...$children) : self { - $hasChildren = count($children) > 0; + $hasChildren = count($children) <= 0; return new self($this->metadata->updateHasChildren($hasChildren), $this->text, $this->color, $children); } public function addChild(BlockInterface $child) : self
Mutation tests (Infection): src/Blocks/BulletedListItem.php#L135
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ { $children = $this->children; $children[] = $child; - return new self($this->metadata->updateHasChildren(true), $this->text, $this->color, $children); + return new self($this->metadata->updateHasChildren(false), $this->text, $this->color, $children); } public function changeColor(Color $color) : self {
Mutation tests (Infection): src/Blocks/Callout.php#L141
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ } public function changeChildren(BlockInterface ...$children) : self { - $hasChildren = count($children) > 0; + $hasChildren = count($children) >= 0; return new self($this->metadata->updateHasChildren($hasChildren), $this->text, $this->icon, $this->color, $children); } public function addChild(BlockInterface $child) : self
Mutation tests (Infection): src/Blocks/Callout.php#L141
Escaped Mutant for Mutator "GreaterThanNegotiation": --- Original +++ New @@ @@ } public function changeChildren(BlockInterface ...$children) : self { - $hasChildren = count($children) > 0; + $hasChildren = count($children) <= 0; return new self($this->metadata->updateHasChildren($hasChildren), $this->text, $this->icon, $this->color, $children); } public function addChild(BlockInterface $child) : self
Mutation tests (Infection): src/Blocks/Callout.php#L158
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ { $children = $this->children; $children[] = $child; - return new self($this->metadata->updateHasChildren(true), $this->text, $this->icon, $this->color, $children); + return new self($this->metadata->updateHasChildren(false), $this->text, $this->icon, $this->color, $children); } public function changeColor(Color $color) : self {
Mutation tests (Infection): src/Blocks/Column.php#L53
Escaped Mutant for Mutator "SpreadOneItem": --- Original +++ New @@ @@ } public function addChild(BlockInterface $child) : self { - return new self($this->block, [...$this->children, $child]); + return new self($this->block, [[...$this->children][0], $child]); } public function changeChildren(BlockInterface ...$children) : self {
Mutation tests (Infection): src/Blocks/ColumnList.php#L71
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ throw ColumnListException::childNotColumn(); } /** @var Column $child */ - return new self($this->metadata(), [...$this->columns, $child]); + return new self($this->metadata(), [$child]); } public function changeChildren(BlockInterface ...$children) : self {
Mutation tests (Infection): src/Blocks/Heading1.php#L151
Escaped Mutant for Mutator "SpreadOneItem": --- Original +++ New @@ @@ if (!$this->isToggleable) { throw BlockException::noChindrenSupport(); } - $children = $this->children ? [...$this->children, $child] : [$child]; + $children = $this->children ? [[...$this->children][0], $child] : [$child]; return new self($this->metadata, $this->text, $this->isToggleable, $this->color, $children); } public function changeChildren(BlockInterface ...$children) : self
Mutation tests (Infection): src/Blocks/Heading1.php#L151
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ if (!$this->isToggleable) { throw BlockException::noChindrenSupport(); } - $children = $this->children ? [...$this->children, $child] : [$child]; + $children = $this->children ? [$child] : [$child]; return new self($this->metadata, $this->text, $this->isToggleable, $this->color, $children); } public function changeChildren(BlockInterface ...$children) : self