• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daycry / queues / 7948892847

04 Jan 2024 12:26PM UTC coverage: 80.811% (+0.3%) from 80.541%
7948892847

push

github

daycry
Fix: schedule propterty when worker is sync

299 of 370 relevant lines covered (80.81%)

8.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/Exceptions/JobException.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Daycry\Queues\Exceptions;
6

7
use RuntimeException;
8

9
class JobException extends RuntimeException
10
{
11
    public static function forInvalidTaskType(string $type)
12
    {
13
        return new self(lang('Job.invalidJobType', [ $type ]));
1✔
14
    }
15

16
    public static function forInvalidMethod(string $method)
17
    {
18
        return new self(lang('HTTP.methodNotFound', [$method]));
1✔
19
    }
20

21
    public static function validationError($errors)
22
    {
23
        return new self($errors);
×
24
    }
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc