src/Hodor/JobQueue/JobQueue.php
Showing 2 of 2 total issues
The method getConfig uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
Open
} else { throw new Exception( "Config could not be found or generated by JobQueueFacade." ); }
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Avoid excessively long variable names like $config_loader_factory. Keep variable name length under 20. Open
Open
$config_loader_factory = new LoaderFactory();
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks