fixed some backend tests #3057
Annotations
1 error and 7 warnings
|
src/Mealz/MealBundle/Controller/MealAdminController.php#L32
The class MealAdminController has an overall complexity of 60 which is very high. The configured complexity threshold is 55.
|
src/Mealz/MealBundle/Controller/MealAdminController.php#L34
The method __construct has 10 parameters. Consider reducing the number of parameters to less than 10.
|
src/Mealz/MealBundle/Controller/MealAdminController.php#L312
Avoid excessively long variable names like $eventExistsForDayAlready. Keep variable name length under 20.
|
src/Mealz/MealBundle/Controller/MealAdminController.php#L315
Avoid excessively long variable names like $eventParticipationEntity. Keep variable name length under 20.
|
src/Mealz/MealBundle/Helper/MealAdminHelper.php#L19
Avoid excessively long variable names like $eventParticipationRepository. Keep variable name length under 20.
|
src/Mealz/MealBundle/Message/WeeklyMenuMessage.php#L72
The method getDishesByDay() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
|
src/Mealz/UserBundle/DataFixtures/ORM/LoadUsers.php#L124
Avoid unused parameters such as '$email'.
|
This job failed
Loading