Skip to content

Bump phpstan/phpstan from 1.11.8 to 1.12.2 #1726

Bump phpstan/phpstan from 1.11.8 to 1.12.2

Bump phpstan/phpstan from 1.11.8 to 1.12.2 #1726

Triggered via pull request September 6, 2024 04:44
Status Failure
Total duration 1m 53s
Artifacts 1

CI.yml

on: pull_request
Mutation testing
1m 44s
Mutation testing
Code quality
24s
Code quality
Dependencies state
56s
Dependencies state
Backward Compatible Changes
3s
Backward Compatible Changes
Working Nix Shell
1m 11s
Working Nix Shell
Matrix: integration
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 16 warnings
Integration tests on PHP 8.1
Process completed with exit code 127.
Integration tests on PHP 8.2
The job was canceled because "_8_1" failed.
Integration tests on PHP 8.2
The operation was canceled.
Integration tests on PHP 8.3
The job was canceled because "_8_1" failed.
Integration tests on PHP 8.3
The operation was canceled.
Tests on PHP 8.3 --prefer-lowest --prefer-stable
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
Tests on PHP 8.2
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
Tests on PHP 8.1 --prefer-lowest --prefer-stable
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
Tests on PHP 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
Tests on PHP 8.2 --prefer-lowest --prefer-stable
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
Tests on PHP 8.1
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
Mutation testing: src/Registry/CollectorRegistry.php#L67
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->gauges[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException($metricIdentifier . 'Metric not found:'); } return $this->gauges[$metricIdentifier]; }
Mutation testing: src/Registry/CollectorRegistry.php#L67
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->gauges[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException($metricIdentifier); } return $this->gauges[$metricIdentifier]; }
Mutation testing: src/Registry/CollectorRegistry.php#L67
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->gauges[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException('Metric not found:'); } return $this->gauges[$metricIdentifier]; }
Mutation testing: src/Registry/CollectorRegistry.php#L105
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->counters[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException($metricIdentifier . 'Metric not found:'); } return $this->counters[$metricIdentifier]; }
Mutation testing: src/Registry/CollectorRegistry.php#L105
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->counters[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException($metricIdentifier); } return $this->counters[$metricIdentifier]; }
Mutation testing: src/Registry/CollectorRegistry.php#L105
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->counters[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException('Metric not found:'); } return $this->counters[$metricIdentifier]; }
Mutation testing: src/Registry/CollectorRegistry.php#L144
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->histograms[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException($metricIdentifier . 'Metric not found:'); } return $this->histograms[$metricIdentifier]; }
Mutation testing: src/Registry/CollectorRegistry.php#L144
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->histograms[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException($metricIdentifier); } return $this->histograms[$metricIdentifier]; }
Mutation testing: src/Registry/CollectorRegistry.php#L144
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $metricIdentifier = $name->toString(); if (!isset($this->histograms[$metricIdentifier])) { - throw new MetricNotFoundException('Metric not found:' . $metricIdentifier); + throw new MetricNotFoundException('Metric not found:'); } return $this->histograms[$metricIdentifier]; }
Mutation testing: src/Storage/APCUStore.php#L69
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ // Taken from https://github.com/prometheus/client_golang/blob/66058aac3a83021948e5fb12f1f408ff556b9037/prometheus/value.go#L91 $done = false; while (!$done) { - $old = (int) apcu_fetch($sumKey); + $old = apcu_fetch($sumKey); $done = apcu_cas($sumKey, $old, $this->toInteger($this->fromInteger($old) + $value)); } // Figure out in which bucket the observation belongs

Artifacts

Produced during runtime
Name Size
Infection report
2.38 KB