Fix JWTEventListener cookie name resolution crashing on invalid dummy… #1552
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
3 errors and 19 warnings
|
PHP-CS-Fixer (PHP 8.5)
Process completed with exit code 8.
|
|
PHPUnit (Symfony NEXT 8.2) (PHP 8.5)
Process completed with exit code 1.
|
|
Behat (Symfony 7.4) (PHP 8.5)
Process completed with exit code 255.
|
|
PHP-CS-Fixer (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPUnit (Symfony ^7.4) (PHP 8.5) (lowest dependencies)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPUnit (Symfony 8.1) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPUnit (Symfony NEXT 8.2) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPUnit (Symfony 7.4) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4, codecov/codecov-action@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/DataCollector/CwaDataCollector.php#L101
Escaped Mutant for Mutator "FalseValue":
@@ @@
}
public function isPageDataFound(): bool
{
- return (bool) ($this->data['page_data_found'] ?? false);
+ return (bool) ($this->data['page_data_found'] ?? true);
}
/** @return list<string> */
public function getPublishedTopics(): array
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/DataCollector/CwaDataCollector.php#L86
Escaped Mutant for Mutator "CastBool":
@@ @@
}
public function isJwtCookieCleared(): bool
{
- return (bool) ($this->data['jwt_cookie_cleared'] ?? false);
+ return $this->data['jwt_cookie_cleared'] ?? false;
}
public function getResolvedPath(): ?string
{
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/DataCollector/CwaDataCollector.php#L86
Escaped Mutant for Mutator "FalseValue":
@@ @@
}
public function isJwtCookieCleared(): bool
{
- return (bool) ($this->data['jwt_cookie_cleared'] ?? false);
+ return (bool) ($this->data['jwt_cookie_cleared'] ?? true);
}
public function getResolvedPath(): ?string
{
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/DataCollector/CwaDataCollector.php#L81
Escaped Mutant for Mutator "CastBool":
@@ @@
}
public function isJwtRefreshIssued(): bool
{
- return (bool) ($this->data['jwt_refresh_issued'] ?? false);
+ return $this->data['jwt_refresh_issued'] ?? false;
}
public function isJwtCookieCleared(): bool
{
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/DataCollector/CwaDataCollector.php#L71
Escaped Mutant for Mutator "CastBool":
@@ @@
// -----------------------------------------------------------------------
public function isJwtCookiePresent(): bool
{
- return (bool) ($this->data['jwt_cookie_present'] ?? false);
+ return $this->data['jwt_cookie_present'] ?? false;
}
public function getJwtCookieName(): ?string
{
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/DataCollector/CwaDataCollector.php#L62
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function reset(): void
{
$this->data = [];
- $this->collectorData->reset();
+
}
// -----------------------------------------------------------------------
// Accessors used in the Twig template
|
|
PHPUnit (Symfony 7.4) (PHP 8.5):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L77
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.4) (PHP 8.5):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L77
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.4) (PHP 8.5):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L64
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.4) (PHP 8.5):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L64
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, '/');
}
|
|
Behat (Symfony 8.1) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Behat (Symfony NEXT 8.2) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Behat (Symfony ^7.4) (PHP 8.5) (lowest dependencies)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Behat (Symfony 7.4) (PHP 8.5)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/upload-artifact@v4, codecov/codecov-action@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
behat-logs-php8.5-lowest-deps
|
8.18 KB |
sha256:e6d9a831b72770efe1ee7c436985747f4345d13e7cbe94e463329c4a1bc5689b
|
|
|
behat-logs-php8.5-symfony7.4
|
11.2 KB |
sha256:6cb8acd25db4408a9305be9609cde770729ff60fbc910c74a1c4166e2c37bce5
|
|
|
behat-logs-php8.5-symfony8.1
|
11.1 KB |
sha256:eb371adb14d303dc0b3a2de574d75f57f3a45479f55621131ed1024790b5e966
|
|
|
behat-logs-php8.5-symfony8.2
|
11.1 KB |
sha256:27e6a7b1861d536b41750bce4e9bca07bf1038b0785f0753b9af327452c5676d
|
|
|
infection-logs-php8.5
|
9.5 KB |
sha256:97cad1f079c5c440d4af6b3716f0a6189ff5ca29fcf19998a6e0f4c10dbd2d6e
|
|
|
phpunit-logs-php8.5-lowest-deps
|
8.98 KB |
sha256:a07ef177f017892d9db0b7ec5337d1c56e26fabcdaf95b9ac3220b78bfe0ab7c
|
|
|
phpunit-logs-php8.5-symfony7.4
|
776 KB |
sha256:ac187825f3cc8fc3c81242d4111141650f81182e18d4957eb34f22c2a2e9ab49
|
|
|
phpunit-logs-php8.5-symfony8.1
|
9.01 KB |
sha256:edafd3c14c21b297ece28ac91ff9e64e65566599979cc592a6f9dd9c110e4458
|
|
|
phpunit-logs-php8.5-symfony8.2
|
8.95 KB |
sha256:366495773ad71676ea301e6da1f77da9c8122ed1cddfec065fde5a16ba8e8b04
|
|