Update dependency phpunit/phpunit to v10 #531
continuous-integration.yml
on: push
Generate job matrix
12s
Matrix: QA Checks
Annotations
7 errors and 18 warnings
QA Checks (PHPUnit [8.0, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^10.3.3 -> satisfiable by phpunit/phpunit[10.3.3, 10.3.x-dev, 10.4.x-dev].
- phpunit/phpunit[10.3.3, ..., 10.4.x-dev] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
|
QA Checks (README Linting [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
README.md#L11
Trailing spaces [Expected: 0 or 2; Actual: 1]
|
QA Checks (README Linting [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
README.md#L47
Unordered list indentation [Expected: 0; Actual: 1]
|
QA Checks (README Linting [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
README.md#L48
Unordered list indentation [Expected: 2; Actual: 3]
|
QA Checks (README Linting [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...:
README.md#L50
Unordered list indentation [Expected: 2; Actual: 3]
|
QA Checks (PHPUnit [8.0, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires phpunit/phpunit ^10.3.3 -> satisfiable by phpunit/phpunit[10.3.3, 10.3.x-dev, 10.4.x-dev].
- phpunit/phpunit[10.3.3, ..., 10.4.x-dev] require php >=8.1 -> your php version (8.0.30) does not satisfy that requirement.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
|
QA Checks (PHPUnit [8.2, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
'/github/workspace/vendor/composer/tmp-c31342adb454e30ada2943bfe85ae0ee' is not a zip archive.
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/Exception/CacheException.php#L11
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
use Doctrine\Common\Cache\Cache as DoctrineCache;
final class CacheException extends \RuntimeException implements PsrCacheException
{
- public static function fromNonClearableCache(DoctrineCache $cache) : self
+ protected static function fromNonClearableCache(DoctrineCache $cache) : self
{
return new self(sprintf('The given cache %s was not clearable, but you tried to use a feature that requires a clearable cache.', get_class($cache)));
}
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/Exception/CacheException.php#L19
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
{
return new self(sprintf('The given cache %s was not clearable, but you tried to use a feature that requires a clearable cache.', get_class($cache)));
}
- public static function fromNonMultiOperationCache(DoctrineCache $cache) : self
+ protected static function fromNonMultiOperationCache(DoctrineCache $cache) : self
{
return new self(sprintf('The given cache %s does not support multiple operations, ' . 'but you tried to use a feature that requires a multi-operation cache.', get_class($cache)));
}
}
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/Exception/CacheException.php#L22
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
public static function fromNonMultiOperationCache(DoctrineCache $cache) : self
{
- return new self(sprintf('The given cache %s does not support multiple operations, ' . 'but you tried to use a feature that requires a multi-operation cache.', get_class($cache)));
+ return new self(sprintf('but you tried to use a feature that requires a multi-operation cache.' . 'The given cache %s does not support multiple operations, ', get_class($cache)));
}
}
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/Exception/CacheException.php#L22
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
public static function fromNonMultiOperationCache(DoctrineCache $cache) : self
{
- return new self(sprintf('The given cache %s does not support multiple operations, ' . 'but you tried to use a feature that requires a multi-operation cache.', get_class($cache)));
+ return new self(sprintf('but you tried to use a feature that requires a multi-operation cache.', get_class($cache)));
}
}
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/Exception/CacheException.php#L22
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
public static function fromNonMultiOperationCache(DoctrineCache $cache) : self
{
- return new self(sprintf('The given cache %s does not support multiple operations, ' . 'but you tried to use a feature that requires a multi-operation cache.', get_class($cache)));
+ return new self(sprintf('The given cache %s does not support multiple operations, ', get_class($cache)));
}
}
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/SimpleCacheAdapter.php#L63
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
private function filterValidateMultipleKeys($keys) : array
{
if ($keys instanceof \Traversable) {
- $keys = iterator_to_array($keys, false);
+ $keys = iterator_to_array($keys, true);
}
if (!is_array($keys)) {
throw Exception\InvalidArgumentException::fromNonIterableKeys($keys);
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/SimpleCacheAdapter.php#L80
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public function get($key, $default = null)
{
- $this->validateKey($key);
+
$value = $this->doctrineCache->fetch($key);
if ($value === false) {
// Doctrine cache returns `false` when cache doesn't contain, but also `false` if the value stored is
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/SimpleCacheAdapter.php#L100
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public function set($key, $value, $ttl = null) : bool
{
- $this->validateKey($key);
+
if ($ttl === null) {
return $this->doctrineCache->save($key, $value);
}
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/SimpleCacheAdapter.php#L114
Escaped Mutant for Mutator "LessThanOrEqualTo":
--- Original
+++ New
@@ @@
if (!is_int($ttl)) {
throw InvalidArgumentException::fromKeyAndInvalidTTL($key, $ttl);
}
- if ($ttl <= 0) {
+ if ($ttl < 0) {
return $this->delete($key);
}
return $this->doctrineCache->save($key, $value, $ttl);
|
QA Checks (Infection [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-action@...:
src/SimpleCacheAdapter.php#L126
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
*/
public function delete($key) : bool
{
- $this->validateKey($key);
+
return $this->doctrineCache->delete($key);
}
/**
|
QA Checks (README Linting [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...
Failed to download action 'https://api.github.com/repos/laminas/laminas-continuous-integration-action/tarball/aaf728e066ae4a29ee48b1a6349e3206f053e6a2'. Error: Response status code does not indicate success: 500 (Internal Server Error).
|
QA Checks (README Linting [8.0, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...
Back off 15.653 seconds before retry.
|
QA Checks (PHPUnit [8.0, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Failed to download action 'https://api.github.com/repos/laminas/laminas-continuous-integration-action/tarball/aaf728e066ae4a29ee48b1a6349e3206f053e6a2'. Error: Response status code does not indicate success: 500 (Internal Server Error).
|
QA Checks (PHPUnit [8.0, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Back off 16.293 seconds before retry.
|
QA Checks (PHPUnit [8.1, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Failed to download action 'https://api.github.com/repos/laminas/laminas-continuous-integration-action/tarball/aaf728e066ae4a29ee48b1a6349e3206f053e6a2'. Error: Response status code does not indicate success: 500 (Internal Server Error).
|
QA Checks (PHPUnit [8.1, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Back off 10.738 seconds before retry.
|
QA Checks (PHPUnit [8.2, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Failed to download action 'https://api.github.com/repos/laminas/laminas-continuous-integration-action/tarball/aaf728e066ae4a29ee48b1a6349e3206f053e6a2'. Error: Response status code does not indicate success: 500 (Internal Server Error).
|
QA Checks (PHPUnit [8.2, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Back off 23.079 seconds before retry.
|