Skip to content

VichFileType : Fix translation for 'delete_label' when 'download_label' is a callable #1573 #827

VichFileType : Fix translation for 'delete_label' when 'download_label' is a callable #1573

VichFileType : Fix translation for 'delete_label' when 'download_label' is a callable #1573 #827

Triggered via pull request March 11, 2026 21:01
Status Failure
Total duration 1m 44s
Artifacts

build.yaml

on: pull_request
PHPStan
23s
PHPStan
PHP-CS-Fixer
10s
PHP-CS-Fixer
Twig-CS-Fixer
8s
Twig-CS-Fixer
validate-markdown
20s
validate-markdown
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 12 warnings
PHPStan: tests/Form/Type/VichFileTypeTest.php#L131
Parameter #2 $handler of class Vich\UploaderBundle\Form\Type\VichFileType constructor expects Vich\UploaderBundle\Handler\UploadHandler, PHPUnit\Framework\MockObject\MockObject given.
PHPStan: tests/Form/Type/VichFileTypeTest.php#L101
Call to an undefined method Symfony\Component\Form\FormInterface::method().
PHPStan: tests/Form/Type/VichFileTypeTest.php#L98
Call to an undefined method Symfony\Component\Form\FormInterface::method().
PHPStan: tests/Form/Type/VichFileTypeTest.php#L95
Call to an undefined method Symfony\Component\Form\FormInterface::method().
PHPStan: tests/Form/Type/VichFileTypeTest.php#L91
Call to an undefined method Symfony\Component\Form\FormConfigInterface::method().
PHPStan: tests/Form/Type/VichFileTypeTest.php#L87
Call to an undefined method Symfony\Component\Form\FormInterface::method().
PHPStan: tests/Form/Type/VichFileTypeTest.php#L82
Call to an undefined method Vich\UploaderBundle\Storage\StorageInterface::method().
PHPStan: tests/Form/Type/VichFileTypeTest.php#L65
Parameter #4 $propertyAccessor of class Vich\UploaderBundle\Form\Type\VichFileType constructor expects Symfony\Component\PropertyAccess\PropertyAccessorInterface|null, PHPUnit\Framework\MockObject\MockObject given.
PHPStan: tests/Form/Type/VichFileTypeTest.php#L65
Parameter #3 $factory of class Vich\UploaderBundle\Form\Type\VichFileType constructor expects Vich\UploaderBundle\Mapping\PropertyMappingFactory, PHPUnit\Framework\MockObject\MockObject given.
PHPStan: tests/Form/Type/VichFileTypeTest.php#L65
Parameter #2 $handler of class Vich\UploaderBundle\Form\Type\VichFileType constructor expects Vich\UploaderBundle\Handler\UploadHandler, PHPUnit\Framework\MockObject\MockObject given.
PHP 8.4 with Symfony 7.4.* tests with highest dependencies
Process completed with exit code 1.
PHP 8.2 with Symfony 6.4.* tests with highest dependencies
The strategy configuration was canceled because "tests._8_4_7_4___highest_true_f" failed
PHP 8.2 with Symfony 6.4.* tests with highest dependencies
The operation was canceled.
PHP 8.2 with Symfony * tests with highest dependencies
The strategy configuration was canceled because "tests._8_4_7_4___highest_true_f" failed
PHP 8.2 with Symfony * tests with highest dependencies
The operation was canceled.
PHP 8.1 with Symfony 5.4.* tests with lowest dependencies
The strategy configuration was canceled because "tests._8_4_7_4___highest_true_f" failed
PHP 8.1 with Symfony 5.4.* tests with lowest dependencies
The operation was canceled.
PHP 8.3 with Symfony 7.3.* tests with highest dependencies
The strategy configuration was canceled because "tests._8_4_7_4___highest_true_f" failed
PHP 8.3 with Symfony 7.3.* tests with highest dependencies
The operation was canceled.
PHP 8.1 with Symfony * tests with highest dependencies
The strategy configuration was canceled because "tests._8_4_7_4___highest_true_f" failed
PHP 8.1 with Symfony * tests with highest dependencies
The operation was canceled.
PHP 8.1 with Symfony 6.4.* tests with highest dependencies
The strategy configuration was canceled because "tests._8_4_7_4___highest_true_f" failed
PHP 8.1 with Symfony 6.4.* tests with highest dependencies
The operation was canceled.
Twig-CS-Fixer
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP-CS-Fixer
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
validate-markdown
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHPStan
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP 8.5 with Symfony 8.0.* tests with highest 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/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP 8.4 with Symfony 7.4.* tests with highest 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/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP 8.2 with Symfony 6.4.* tests with highest dependencies
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP 8.2 with Symfony * tests with highest dependencies
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP 8.1 with Symfony 5.4.* tests with 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@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP 8.3 with Symfony 7.3.* tests with highest dependencies
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP 8.1 with Symfony * tests with highest dependencies
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
PHP 8.1 with Symfony 6.4.* tests with highest dependencies
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/