• 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/QueueException.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Daycry\Queues\Exceptions;
6

7
use RuntimeException;
8

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

16
    public static function forInvalidQueue(string $queue)
17
    {
18
        return new self(lang('Job.invalidQueue', [ $queue ]));
1✔
19
    }
20

21
    public static function forInvalidConnection(string $error)
22
    {
23
        return new self($error);
×
24
    }
25

26
}
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

© 2025 Coveralls, Inc