Actions to recreate and resend new email and verify email tokens and … #1404
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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
1 error and 10 warnings
|
Behat (Symfony 7.3) (PHP 8.4)
Process completed with exit code 1.
|
|
PHPUnit (Symfony 7.3) (PHP 8.4):
src/Entity/User/AbstractUser.php#L204
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#L153
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.3
Expired
|
7.94 KB |
sha256:f7cc22bee0ccdee615ba94359c59e0b16f0e5afa7aba14f4699d45159d548ade
|
|
|
behat-logs-php8.4
Expired
|
7.94 KB |
sha256:c14d558043c54d7abce8b2c9eeea15bd84816235587a71052cee73c3c4d80321
|
|
|
behat-logs-php8.4-lowest-deps
Expired
|
6.59 KB |
sha256:bc7ea7c5d72bd757c87db6035d0a959533a48148661a5062d748808f1a227c75
|
|
|
behat-logs-php8.4-symfony7.4
Expired
|
8.92 KB |
sha256:a0110eddc19cc762ff4ca5b72701325b9729ca3b6d198f5ba301c4971ee7eb47
|
|
|
infection-logs-php8.4
Expired
|
3.9 KB |
sha256:7351a7171819c5657a8c3feec1670f936365430d8543e3675cbf45f9b6a8dbee
|
|
|
phpunit-logs-php8.3
Expired
|
3.7 KB |
sha256:60149f28641da640abef633be94cce2266ebe02ae1df86fee2b1fb59e38bc997
|
|
|
phpunit-logs-php8.4
Expired
|
628 KB |
sha256:2c64c20e82632bb17ef2574035bf125115d0f0b222b6509c5c3a2d81e0a23ca0
|
|
|
phpunit-logs-php8.4-lowest-deps
Expired
|
3.69 KB |
sha256:fc30f35f789696e48bfbf991d2b5e97de7ade89922c18548c71204f03e352f14
|
|
|
phpunit-logs-php8.4-symfony7.4
Expired
|
3.67 KB |
sha256:5f2d3c8806362b063ce2f7ea5ef64f19589db982a3ccdc4a388b45e893709358
|
|