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

plank / laravel-metable / 8842761288

26 Apr 2024 03:37AM UTC coverage: 94.939% (-3.8%) from 98.76%
8842761288

Pull #102

github

frasmage
use prefix index on value instead of separate string_value column
Pull Request #102: V6

373 of 402 new or added lines in 25 files covered. (92.79%)

3 existing lines in 1 file now uncovered.

544 of 573 relevant lines covered (94.94%)

192.47 hits per line

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

0.0
/src/Exceptions/CastException.php
1
<?php
2

3
namespace Plank\Metable\Exceptions;
4

5
class CastException extends \InvalidArgumentException
6
{
7
    public static function invalidClassCast(string $className, mixed $value): self
8
    {
NEW
9
        return new static(
×
NEW
10
            sprintf(
×
NEW
11
                "Cannot cast value to class: value of type %s is not an instance of %s",
×
NEW
12
                get_debug_type($value),
×
NEW
13
                $className
×
NEW
14
            )
×
NEW
15
        );
×
16
    }
17
}
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