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

daycry / queues / 3685348712

pending completion
3685348712

push

github

daycry
Update Classes.php

83 of 86 relevant lines covered (96.51%)

5.36 hits per line

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

100.0
/src/Exceptions/DataStructureException.php
1
<?php
2

3
namespace Daycry\Queues\Exceptions;
4

5
class DataStructureException extends \RuntimeException
6
{
7
    protected $code = 400;
8

9
    public static function validationError($errors)
10
    {
11
        return new self($errors);
2✔
12
    }
13

14
    public static function invalidQueue(string $queue)
15
    {
16
        $parser = \Config\Services::parser();
2✔
17
        return new self($parser->setData(array( 'queue' => $queue ))->renderString(lang('Queue.invalidQueue')));
2✔
18
    }
19
}
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