Update crontab #97
reviewdog [PHPMD] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (81)
src/reloaddk/HarvesterBundle/AccessDeniedHandler.php|29| UnusedFormalParameter Avoid unused parameters such as '$accessDeniedException'.
src/reloaddk/HarvesterBundle/AccessDeniedHandler.php|29| LongVariable Avoid excessively long variable names like $accessDeniedException. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/AdminMailer.php|40| ShortVariable Avoid variables with short names like $to. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Command/HarvesterFetchCleanupCommand.php|61| CyclomaticComplexity The method execute() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
src/reloaddk/HarvesterBundle/Command/HarvesterFetchCleanupCommand.php|61| NPathComplexity The method execute() has an NPath complexity of 200. The configured NPath complexity threshold is 200.
src/reloaddk/HarvesterBundle/Command/HarvesterFetchCommand.php|79| CyclomaticComplexity The method execute() has a Cyclomatic Complexity of 15. The configured cyclomatic complexity threshold is 10.
src/reloaddk/HarvesterBundle/Command/HarvesterFetchCommand.php|79| NPathComplexity The method execute() has an NPath complexity of 3072. The configured NPath complexity threshold is 200.
src/reloaddk/HarvesterBundle/Command/HarvesterFetchCommand.php|79| ExcessiveMethodLength The method execute() has 116 lines of code. Current threshold is set to 100. Avoid really long methods.
src/reloaddk/HarvesterBundle/Command/HarvesterRefreshCommand.php|108| UnusedLocalVariable Avoid unused local variables such as '$user_id'.
src/reloaddk/HarvesterBundle/Command/HarvesterUserCommand.php|63| CyclomaticComplexity The method execute() has a Cyclomatic Complexity of 19. The configured cyclomatic complexity threshold is 10.
src/reloaddk/HarvesterBundle/Command/HarvesterUserCommand.php|63| NPathComplexity The method execute() has an NPath complexity of 3528. The configured NPath complexity threshold is 200.
src/reloaddk/HarvesterBundle/Command/HarvesterUserCommand.php|63| ExcessiveMethodLength The method execute() has 123 lines of code. Current threshold is set to 100. Avoid really long methods.
src/reloaddk/HarvesterBundle/Command/HarvesterUserCommand.php|81| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Controller/ApiEntryController.php|111| CyclomaticComplexity The method getEntriesAction() has a Cyclomatic Complexity of 22. The configured cyclomatic complexity threshold is 10.
src/reloaddk/HarvesterBundle/Controller/ApiEntryController.php|111| NPathComplexity The method getEntriesAction() has an NPath complexity of 2688. The configured NPath complexity threshold is 200.
src/reloaddk/HarvesterBundle/Controller/ApiEntryController.php|111| ExcessiveMethodLength The method getEntriesAction() has 115 lines of code. Current threshold is set to 100. Avoid really long methods.
src/reloaddk/HarvesterBundle/Controller/ApiEntryController.php|118| ShortVariable Avoid variables with short names like $to. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/DependencyInjection/Configuration.php|21| UnusedLocalVariable Avoid unused local variables such as '$rootNode'.
src/reloaddk/HarvesterBundle/DependencyInjection/reloaddkHarvesterExtension.php|23| UnusedLocalVariable Avoid unused local variables such as '$config'.
src/reloaddk/HarvesterBundle/Entity/Client.php|25| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Client.php|75| LongVariable Avoid excessively long variable names like $defaultInvoiceTimeframe. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/Client.php|102| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Client.php|160| BooleanGetMethodName The 'getActive()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/Client.php|309| LongVariable Avoid excessively long variable names like $defaultInvoiceTimeframe. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/ClientRepository.php|74| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Entry.php|25| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Entry.php|119| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Entry.php|200| BooleanGetMethodName The 'getIsClosed()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/Entry.php|223| BooleanGetMethodName The 'getIsBilled()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|22| ExcessiveClassComplexity The class EntryRepository has an overall complexity of 69 which is very high. The configured complexity threshold is 50.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|32| CyclomaticComplexity The method saveEntries() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|37| LongVariable Avoid excessively long variable names like $count_updated_entries. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|96| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|152| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|188| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|211| LongVariable Avoid excessively long variable names like $working_hours_per_day. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|221| UnusedLocalVariable Avoid unused local variables such as '$hours_to_today'.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|222| UnusedLocalVariable Avoid unused local variables such as '$old_user'.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|234| LongVariable Avoid excessively long variable names like $working_days_in_range. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|284| ShortVariable Avoid variables with short names like $to. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|369| CyclomaticComplexity The method parseUser() has a Cyclomatic Complexity of 30. The configured cyclomatic complexity threshold is 10.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|369| NPathComplexity The method parseUser() has an NPath complexity of 22692. The configured NPath complexity threshold is 200.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|369| ExcessiveMethodLength The method parseUser() has 176 lines of code. Current threshold is set to 100. Avoid really long methods.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|372| LongVariable Avoid excessively long variable names like $user_working_hours_per_day. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|452| UnusedLocalVariable Avoid unused local variables such as '$split_user_id'.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|478| LongVariable Avoid excessively long variable names like $billable_hours_to_reach. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|500| LongVariable Avoid excessively long variable names like $total_excess_hours_in_range. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|501| LongVariable Avoid excessively long variable names like $excess_workings_days_in_range. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|502| LongVariable Avoid excessively long variable names like $normalized_working_days_in_range. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|507| LongVariable Avoid excessively long variable names like $billable_hours_per_day_normalized. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/EntryRepository.php|508| LongVariable Avoid excessively long variable names like $hours_pr_day_normalized. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/Project.php|17| ExcessivePublicCount The class Project has 52 public methods and attributes. Consider reducing the number of public items to less than 45.
src/reloaddk/HarvesterBundle/Entity/Project.php|17| TooManyFields The class Project has 24 fields. Consider redesigning Project to keep the number of fields under 15.
src/reloaddk/HarvesterBundle/Entity/Project.php|17| ExcessiveClassComplexity The class Project has an overall complexity of 52 which is very high. The configured complexity threshold is 50.
src/reloaddk/HarvesterBundle/Entity/Project.php|26| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Project.php|83| LongVariable Avoid excessively long variable names like $costBudgetIncludeExpenses. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/Project.php|118| LongVariable Avoid excessively long variable names like $overBudgetNotificationPercentage. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/Project.php|203| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Project.php|284| BooleanGetMethodName The 'getActive()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/Project.php|330| BooleanGetMethodName The 'getBillable()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/Project.php|387| LongVariable Avoid excessively long variable names like $costBudgetIncludeExpenses. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/Project.php|399| BooleanGetMethodName The 'getCostBudgetIncludeExpenses()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/Project.php|491| BooleanGetMethodName The 'getNotifyWhenOverBudget()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/Project.php|502| LongVariable Avoid excessively long variable names like $overBudgetNotificationPercentage. Keep variable name length under 20.
src/reloaddk/HarvesterBundle/Entity/Project.php|560| BooleanGetMethodName The 'getShowBudgetToAll()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/ProjectRepository.php|111| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Role.php|22| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Task.php|25| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Task.php|88| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/Task.php|145| BooleanGetMethodName The 'getIsDefault()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/Task.php|191| BooleanGetMethodName The 'getBillableByDefault()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/Task.php|214| BooleanGetMethodName The 'getDeactivated()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/TaskRepository.php|53| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/User.php|27| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/User.php|185| ShortVariable Avoid variables with short names like $id. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/User.php|289| BooleanGetMethodName The 'getIsActive()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/User.php|312| BooleanGetMethodName The 'getIsAdmin()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/User.php|335| BooleanGetMethodName The 'getIsContractor()' method which returns a boolean should be named 'is...()' or 'has...()'
src/reloaddk/HarvesterBundle/Entity/UserRepository.php|36| ShortVariable Avoid variables with short names like $q. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/UserRepository.php|221| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.
src/reloaddk/HarvesterBundle/Entity/UserRepository.php|252| ShortVariable Avoid variables with short names like $em. Configured minimum length is 3.