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

daycry / queues / 11215608412

13 Aug 2024 10:37AM UTC coverage: 78.701%. Remained the same
11215608412

push

github

daycry
Fix: upgrade

7 of 8 new or added lines in 2 files covered. (87.5%)

2 existing lines in 1 file now uncovered.

303 of 385 relevant lines covered (78.7%)

7.78 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
/**
6
 * This file is part of Daycry Queues.
7
 *
8
 * (c) Daycry <daycry9@proton.me>
9
 *
10
 * For the full copyright and license information, please view
11
 * the LICENSE file that was distributed with this source code.
12
 */
13

14
namespace Daycry\Queues\Exceptions;
15

16
use Daycry\Exceptions\Exceptions\RuntimeException;
17

18
class QueueException extends RuntimeException
19
{
20
    public static function forInvalidWorker(string $worker)
21
    {
22
        return new self(lang('Job.invalidWorker', [$worker]));
1✔
23
    }
24

25
    public static function forInvalidQueue(string $queue)
26
    {
27
        return new self(lang('Job.invalidQueue', [$queue]));
1✔
28
    }
29

30
    public static function forInvalidConnection(string $error)
31
    {
32
        return new self($error);
×
33
    }
34
}
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