Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58
Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76 Symfony Profiler
vendor/liip/imagine-bundle/DependencyInjection/Compiler/AssetsVersionCompilerPass.php line 34
if (!is_a($versionStrategyDefinition->getClass(), StaticVersionStrategy::class, true)) {
$this->log($container, 'Symfony assets versioning strategy "'.$versionStrategyDefinition->getClass().'" not automatically supported. Configure liip_imagine.twig.assets_version if you have problems with assets versioning');
if ($format && !$this->str_ends_with($format, '?%%s')) {
$this->log($container, 'Can not handle assets versioning with custom format "'.$format.'". asset twig function can likely not be used with the imagine_filter');
return;
}
$runtimeDefinition->setArgument(1, $version);
}
/**
* Can be replaced with the built-in method when dropping support for PHP < 8.0
*/
private function str_ends_with(string $haystack, string $needle): bool