Showing 3 of 5 total issues
Method run
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function run(Job $job): void { $this->getEventManager()->trigger('afterFork', $job); try {
- Create a ticketCreate a ticket
Function run
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
public function run(Job $job): void { $this->getEventManager()->trigger('afterFork', $job); try {
- Read upRead up
- Create a ticketCreate a ticket
Function __invoke
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
public function __invoke($interval = 5): void { $this->interval = $interval; $this->updateProcLine('Starting');
- Read upRead up
- Create a ticketCreate a ticket