Fix FormTypeClass constraint constructor for Symfony 8.1 compatibility #1493
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
4 errors and 19 warnings
|
PHPUnit (Symfony NEXT 8.2) (PHP 8.5)
Process completed with exit code 1.
|
|
Behat (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 1.
|
|
Behat (Symfony 8.1) (PHP 8.5)
Process completed with exit code 1.
|
|
PHP-CS-Fixer (PHP 8.5)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4, codecov/codecov-action@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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/Entity/User/AbstractUser.php#L173
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.4) (PHP 8.5):
src/Entity/Core/AbstractComponent.php#L50
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
public function __construct()
{
$this->componentGroups = new ArrayCollection();
- $this->initComponentGroups();
+
$this->componentPositions = new ArrayCollection();
}
public function isPositionRestricted(): bool
|
|
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#L76
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.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, '/');
}
|
|
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#L63
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.4) (PHP 8.5):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L47
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.4) (PHP 8.5):
src/ApiPlatform/Metadata/Resource/RoutingPrefixResourceMetadataCollectionFactory.php#L41
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
|
|
Behat (Symfony NEXT 8.2) (PHP 8.5)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Behat (Symfony 8.1) (PHP 8.5)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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
|
6.91 KB |
sha256:71faf80a2ab1165ce0b6e3cdaf8cf705d3a70db9191464e23074f694df64df77
|
|
|
behat-logs-php8.5-symfony7.4
|
11.7 KB |
sha256:892439f178990ab838b872d68529eb662a305ed49cab12fa01eb63db6e8d3abb
|
|
|
behat-logs-php8.5-symfony8.1
|
11.7 KB |
sha256:0b9b512eea18e0045112cbe347e7eab04f5eef99abcaf9d88d9397612018ab9f
|
|
|
behat-logs-php8.5-symfony8.2
|
11.7 KB |
sha256:61cbfb39ddb38a7c2fc34664be567047591bf9b7f2837f6d90ef1f6ea1e96cc2
|
|
|
infection-logs-php8.5
|
4.58 KB |
sha256:aba8c22cfff6f89ed5f034a3b06ad48cddfd78c7441634f99ea4b119d3e6733a
|
|
|
phpunit-logs-php8.5-lowest-deps
|
3.69 KB |
sha256:81911106243a59f7fe7e8e6532aa74dd794162234fd9f57038f76eec0a3270f3
|
|
|
phpunit-logs-php8.5-symfony7.4
|
662 KB |
sha256:131c819ddc9b6ac32d69bc7f8f1214320c49a622d39f61f2609ca6fafb71acb7
|
|
|
phpunit-logs-php8.5-symfony8.1
|
3.71 KB |
sha256:068131ecc77b3e0a841f234c742e0396d7ad8bd387bdf23e28b7933f2c56bb05
|
|
|
phpunit-logs-php8.5-symfony8.2
|
3.7 KB |
sha256:9d365f85b1afa72facc101b1adc10dde8f778409f114a3c16f2f9f39bcdff0f7
|
|