[CS][DX] Refactor

This commit is contained in:
Sylius Bot 2024-10-30 02:29:46 +00:00 committed by GitHub
parent 660d341e90
commit 38b94f0e85
2 changed files with 10 additions and 1 deletions

View file

@ -1086,7 +1086,7 @@ final class ManagingProductsContext implements Context
*/
public function iShouldBeNotifiedThatSvgTypeIsNotAllowed(): void
{
$this->assertValidationMessage('images', 'The file is not a valid image. Allowed types are image/jpeg, image/png, image/gif, image/webp.');
$this->assertValidationMessage('images', 'The file is not a valid image. Allowed types are image/jpeg, image/png, image/gif, image/webp.');
}
/**

View file

@ -1,5 +1,14 @@
<?php
/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Bundle\CoreBundle\Validator\Constraints;