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

mpyw / laravel-file-errors / 13674508507

05 Mar 2025 11:04AM UTC coverage: 100.0%. Remained the same
13674508507

push

github

web-flow
chore: 🤖 Bump version (#7)

24 of 24 relevant lines covered (100.0%)

24.67 hits per line

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

100.0
/src/ValidationServiceProvider.php
1
<?php
2

3
namespace Mpyw\LaravelFileErrors;
4

5
use Illuminate\Support\ServiceProvider;
6
use Illuminate\Validation\Factory;
7

8
/**
9
 * Class ValidationServiceProvider
10
 */
11
class ValidationServiceProvider extends ServiceProvider
12
{
13
    public function register(): void
14
    {
15
        $this->app->extend('validator', static function (Factory $factory) {
24✔
16
            $factory->resolver(static function (...$parameters) {
24✔
17
                return new Validator(...$parameters);
24✔
18
            });
24✔
19
            return $factory;
24✔
20
        });
24✔
21
    }
22
}
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