Open mechanicalgux opened 6 years ago
This bundle will trigger an exception Symfony 4.
https://github.com/blackknight467/StarRatingBundle/blob/08e7caf167232c96dd77182c603475ef9623290b/DependencyInjection/StarRatingExtension.php#L31
To solve this, change the line with:
$resources = array_merge(array('@StarRatingBundle/rating.html.twig'), $resources);
Then add and alias to /config/packages/twig.yaml:
twig: paths: '%kernel.project_dir%/templates': templates '%kernel.project_dir%/vendor/blackknight467/star-rating-bundle/blackknight467/StarRatingBundle/Resources/views': StarRatingBundle
It seems to be abandoned. I forked the source and applied your patch: https://github.com/brokoskokoli/StarRatingBundle
This bundle will trigger an exception Symfony 4.
https://github.com/blackknight467/StarRatingBundle/blob/08e7caf167232c96dd77182c603475ef9623290b/DependencyInjection/StarRatingExtension.php#L31
To solve this, change the line with:
Then add and alias to /config/packages/twig.yaml: