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

systemsdk / docker-apache-php-laravel / #76

17 Jun 2024 05:27PM UTC coverage: 12.5% (-32.7%) from 45.238%
#76

push

DKravtsov
MySQL 8.4, Laravel 11, xdebug 3.3.2, changed tests convention (Feature -> Application), updated composer dependencies and docs.

0 of 4 new or added lines in 1 file covered. (0.0%)

2 of 16 relevant lines covered (12.5%)

0.13 hits per line

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

0.0
/app/Models/User.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\Models;
6

7
use Illuminate\Database\Eloquent\Factories\HasFactory;
8
use Illuminate\Foundation\Auth\User as Authenticatable;
9
use Illuminate\Notifications\Notifiable;
10

11
class User extends Authenticatable
12
{
13
    use HasFactory;
14
    use Notifiable;
15

16
    /**
17
     * The attributes that are mass assignable.
18
     *
19
     * @var array<int, string>
20
     */
21
    protected $fillable = [
22
        'name',
23
        'email',
24
        'password',
25
    ];
26

27
    /**
28
     * The attributes that should be hidden for serialization.
29
     *
30
     * @var array<int, string>
31
     */
32
    protected $hidden = [
33
        'password',
34
        'remember_token',
35
    ];
36

37
    /**
38
     * Get the attributes that should be cast.
39
     *
40
     * @return array<string, string>
41
     */
42
    protected function casts(): array
43
    {
NEW
44
        return [
×
NEW
45
            'email_verified_at' => 'datetime',
×
NEW
46
            'password' => 'hashed',
×
NEW
47
        ];
×
48
    }
49
}
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