mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
make better use of composer across php-resque
* recommend php-resque be installed via Composer * provide quick getting started steps * move ./resque.php to bin/resque, make it available as a Composer bin * have classes autoloaded via Composer (or some other means if not using Composer)
This commit is contained in:
parent
8d6da21473
commit
2f5b48930f
13 changed files with 103 additions and 43 deletions
|
@ -1,8 +1,4 @@
|
|||
<?php
|
||||
require_once dirname(__FILE__) . '/Event.php';
|
||||
require_once dirname(__FILE__) . '/Job/Status.php';
|
||||
require_once dirname(__FILE__) . '/Job/DontPerform.php';
|
||||
|
||||
/**
|
||||
* Resque job.
|
||||
*
|
||||
|
@ -208,7 +204,6 @@ class Resque_Job
|
|||
));
|
||||
|
||||
$this->updateStatus(Resque_Job_Status::STATUS_FAILED);
|
||||
require_once dirname(__FILE__) . '/Failure.php';
|
||||
Resque_Failure::create(
|
||||
$this->payload,
|
||||
$exception,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue