Upgraded to APIP4 - except upload put #1421
ci.yml
on: push
Matrix: behat-lowest-deps
Matrix: behat-symfony-next
Matrix: behat
Matrix: php-cs-fixer
Matrix: phpunit-lowest-deps
Matrix: phpunit-symfony-next
Matrix: phpunit
Annotations
9 errors and 14 warnings
|
PHP-CS-Fixer (PHP 8.4)
Process completed with exit code 8.
|
|
PHPUnit (Symfony 7.3) (PHP 8.3)
Process completed with exit code 2.
|
|
PHPUnit (Symfony 7.3) (PHP 8.3)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php >=8.4 but your php version (8.3.25) does not satisfy that requirement.
|
|
Behat (Symfony 7.3) (PHP 8.3)
Process completed with exit code 2.
|
|
Behat (Symfony 7.3) (PHP 8.3)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php >=8.4 but your php version (8.3.25) does not satisfy that requirement.
|
|
PHPUnit (Symfony NEXT 7.4) (PHP 8.4)
Process completed with exit code 255.
|
|
Behat (Symfony NEXT 7.4) (PHP 8.4)
Process completed with exit code 255.
|
|
Behat (Symfony ^7.2) (PHP 8.4) (lowest dependencies)
Process completed with exit code 1.
|
|
Behat (Symfony 7.3) (PHP 8.4)
Process completed with exit code 1.
|
|
PHPUnit (Symfony 7.3) (PHP 8.3)
No files were found with the provided path: build/logs/phpunit. No artifacts will be uploaded.
|
|
Behat (Symfony 7.3) (PHP 8.3)
No files were found with the provided path: build/logs/behat. No artifacts will be uploaded.
|
|
PHPUnit (Symfony NEXT 7.4) (PHP 8.4)
No files were found with the provided path: build/logs/phpunit. No artifacts will be uploaded.
|
|
Behat (Symfony NEXT 7.4) (PHP 8.4)
No files were found with the provided path: build/logs/behat. No artifacts will be uploaded.
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/Entity/User/AbstractUser.php#L207
Escaped Mutant for Mutator "IfNegation":
@@ @@
public function setPlainPassword(?string $plainPassword): self
{
$this->plainPassword = $plainPassword;
- if ($plainPassword) {
+ if (!$plainPassword) {
// Needs to update mapped field to trigger update event which will encode the plain password
$this->passwordUpdatedAt = new \DateTime();
}
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/Entity/User/AbstractUser.php#L156
Escaped Mutant for Mutator "IfNegation":
@@ @@
public function setEmailAddress(?string $emailAddress): self
{
$this->emailAddress = $emailAddress;
- if ($emailAddress) {
+ if (!$emailAddress) {
$this->emailLastUpdatedAt = new \DateTime();
}
return $this;
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L79
Escaped Mutant for Mutator "SpreadAssignment":
@@ @@
* @var Operation $oldOperation
*/
foreach ($oldOperations as $key => $oldOperation) {
- $subRoutePrefixParts = [...$routePrefixParts];
+ $subRoutePrefixParts = $routePrefixParts;
if ($currentRoutePrefix = $oldOperation->getRoutePrefix()) {
$subRoutePrefixParts[] = trim($currentRoutePrefix, '/');
$subRoutePrefix = '/' . implode('/', $subRoutePrefixParts);
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L79
Escaped Mutant for Mutator "SpreadOneItem":
@@ @@
* @var Operation $oldOperation
*/
foreach ($oldOperations as $key => $oldOperation) {
- $subRoutePrefixParts = [...$routePrefixParts];
+ $subRoutePrefixParts = [[...$routePrefixParts][0]];
if ($currentRoutePrefix = $oldOperation->getRoutePrefix()) {
$subRoutePrefixParts[] = trim($currentRoutePrefix, '/');
$subRoutePrefix = '/' . implode('/', $subRoutePrefixParts);
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L78
Escaped Mutant for Mutator "Foreach_":
@@ @@
* @var string $key
* @var Operation $oldOperation
*/
- foreach ($oldOperations as $key => $oldOperation) {
+ foreach ([] as $key => $oldOperation) {
$subRoutePrefixParts = [...$routePrefixParts];
if ($currentRoutePrefix = $oldOperation->getRoutePrefix()) {
$subRoutePrefixParts[] = trim($currentRoutePrefix, '/');
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L66
Escaped Mutant for Mutator "SpreadAssignment":
@@ @@
$resources = [];
/** @var ApiResource $resourceMetadatum */
foreach ($resourceMetadata as $i => $resourceMetadatum) {
- $finalRoutePrefixParts = [...$routePrefixParts];
+ $finalRoutePrefixParts = $routePrefixParts;
if ($currentRoutePrefix = $resourceMetadatum->getRoutePrefix()) {
$finalRoutePrefixParts[] = trim($currentRoutePrefix, '/');
}
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L66
Escaped Mutant for Mutator "SpreadOneItem":
@@ @@
$resources = [];
/** @var ApiResource $resourceMetadatum */
foreach ($resourceMetadata as $i => $resourceMetadatum) {
- $finalRoutePrefixParts = [...$routePrefixParts];
+ $finalRoutePrefixParts = [[...$routePrefixParts][0]];
if ($currentRoutePrefix = $resourceMetadatum->getRoutePrefix()) {
$finalRoutePrefixParts[] = trim($currentRoutePrefix, '/');
}
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L65
Escaped Mutant for Mutator "Foreach_":
@@ @@
{
$resources = [];
/** @var ApiResource $resourceMetadatum */
- foreach ($resourceMetadata as $i => $resourceMetadatum) {
+ foreach ([] as $i => $resourceMetadatum) {
$finalRoutePrefixParts = [...$routePrefixParts];
if ($currentRoutePrefix = $resourceMetadatum->getRoutePrefix()) {
$finalRoutePrefixParts[] = trim($currentRoutePrefix, '/');
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L49
Escaped Mutant for Mutator "IfNegation":
@@ @@
// underscores for core resources
$reflection = new \ReflectionClass($resourceClass);
$namespace = $reflection->getNamespaceName();
- if (preg_match("/Silverback\\\\ApiComponentsBundle\\\\(?!Test)[\\w]+/", $namespace)) {
+ if (!preg_match("/Silverback\\\\ApiComponentsBundle\\\\(?!Test)[\\w]+/", $namespace)) {
$routePrefixParts[] = '_';
}
}
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L43
Escaped Mutant for Mutator "ElseIfNegation":
@@ @@
$routePrefixParts = [];
if (is_subclass_of($resourceClass, AbstractComponent::class)) {
$routePrefixParts[] = 'component';
- } elseif (is_subclass_of($resourceClass, AbstractPageData::class)) {
+ } elseif (!is_subclass_of($resourceClass, AbstractPageData::class)) {
$routePrefixParts[] = 'page_data';
} else {
// underscores for core resources
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
behat-logs-php8.4
Expired
|
9.5 KB |
sha256:b345795409392691941bfac8d73d0730b8556f0b2f6e74196d12e8f8b1e58600
|
|
|
behat-logs-php8.4-lowest-deps
Expired
|
6.99 KB |
sha256:b3adf09c004b849483e837756f670bcb2478f55865bf6b377550d8135802c27f
|
|
|
infection-logs-php8.4
Expired
|
4.09 KB |
sha256:48c82949b6be053139329123859b9ff93e75839be8bbe4fb7ad799bd0e98fe78
|
|
|
phpunit-logs-php8.4
Expired
|
629 KB |
sha256:236c344337967a458c26c718f9d762bf7b59ec560647485e676b0f8b0f2d6f85
|
|
|
phpunit-logs-php8.4-lowest-deps
Expired
|
3.71 KB |
sha256:4379d18c17446ad37dcae53785ba03b75b6aa8e6a1c856a09373e9b9f7122693
|
|