Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing namespace when processing scheduled jobs #81

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Worker/SchedulerWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
*/
class SchedulerWorker
{
const LOG_NONE = 0;

Check warning on line 20 in lib/Worker/SchedulerWorker.php

View workflow job for this annotation

GitHub Actions / PHPCS

Visibility must be declared on all constants if your project supports PHP 7.1 or later
const LOG_NORMAL = 1;

Check warning on line 21 in lib/Worker/SchedulerWorker.php

View workflow job for this annotation

GitHub Actions / PHPCS

Visibility must be declared on all constants if your project supports PHP 7.1 or later
const LOG_VERBOSE = 2;

Check warning on line 22 in lib/Worker/SchedulerWorker.php

View workflow job for this annotation

GitHub Actions / PHPCS

Visibility must be declared on all constants if your project supports PHP 7.1 or later

/**
* @var int Current log level of this worker.
Expand Down Expand Up @@ -106,7 +106,7 @@
));

$payload = array_merge(array($item['queue'], $item['class']), $item['args']);
call_user_func_array('Resque::enqueue', $payload);
call_user_func_array('Resque\Resque::enqueue', $payload);
}
}

Expand Down
Loading