Minor refactoring
Correct trnaslation keys
Correct CS + phpdoc
Add expose annotation for resource on badge + adding log event for awarding badge
Remove getter and setter for target badge, will be add later
Starting big refactoring of the rule system + adding new constraints
Merge branch 'master' into badge_log_event
Update test for resultConstraint
Update test for occurenceConstraint
Add test for resourceConstraint
Use mock method from MockeryTestCase
Remove test for getQuery method
Adding constraint to make it really configurable + correct some issue with changes of twig configuration (strict_variable)
Adding missing tests for constraints
Update and add tests for validateRule method of rule validator
Add badge on rule to allow validation of rule on badge awarding
Add badge constraint + associated tests
Add some tests for the validate method
Add tests for validate method when bagde has no rules
Use class attribute directly instead of using an intermediate variable