StarRatingBundle icon indicating copy to clipboard operation
StarRatingBundle copied to clipboard

still works with Symfony 2?

Open gv-rayalab opened this issue 8 years ago • 6 comments

Im tryng to use this bundle with a Symfony 2 app but i got an error, is only for Symfony 3 now?

Thanks!

gv-rayalab avatar Feb 10 '17 16:02 gv-rayalab

@gv-rayalab

For symfony 2, use version 1.*

https://github.com/blackknight467/StarRatingBundle/tree/v1.0.3

blackknight467 avatar Feb 10 '17 16:02 blackknight467

I've also updated the master readme to refelect this. Apologies for the confusion.

blackknight467 avatar Feb 10 '17 16:02 blackknight467

thanks for the fast response =), i tried with that version but give me this error when i add this line "new blackknight467\StarRatingBundle\StarRatingBundle()" to the appKernel

The file "/vendor/blackknight467/star-rating-bundle/blackknight467/StarRatingBundle/DependencyInjection/../Resources/config/services.yml" does not contain valid YAML

ParseException in Inline.php line 316: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 13 (near "- @service_container").

gv-rayalab avatar Feb 13 '17 04:02 gv-rayalab

@gv-rayalab which version of symfony 2 exactly are you using?

blackknight467 avatar Feb 13 '17 07:02 blackknight467

2.8.13 Thanks!

gv-rayalab avatar Feb 13 '17 12:02 gv-rayalab

I'm using it with Symfony 2 without problems, @gv-rayalab can you copy your composer.json declaration?

davidromani avatar Jul 03 '17 18:07 davidromani