Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"laravel/laravel": "^12.0",
"laravel/pint": "^1.6",
"mockery/mockery": "^1.6",
"larastan/larastan": "^3.0.0",
"larastan/larastan": "^3.4",
"phpunit/phpunit": "^11.5.3"
},
"minimum-stability": "dev",
Expand Down
604 changes: 270 additions & 334 deletions composer.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ parameters:
scanFiles:
- tests/phpstan/FieldWithRoute.php
- tests/phpstan/MetaDataModel.php
configDirectories:
- config/
paths:
- src/
- config/
Expand All @@ -22,6 +24,7 @@ parameters:
checkInternalClassCaseSensitivity: true
ignoreErrors:
- '#^Unsafe usage of new static#'
- '#should return static\((Cone\\Root\\\S+)\) but returns \1#'
# Illuminate\View\View vs. Illuminate\Contracts\View\View
- '#^Method Cone\\\S+::render\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#'
# SoftDeletes
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Attachment extends MorphPivot
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
* @var list<string>
*/
protected $fillable = [
'collection',
Expand Down
2 changes: 1 addition & 1 deletion src/Models/AuthCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AuthCode extends Model implements Contract
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
* @var list<string>
*/
protected $fillable = [];

Expand Down
2 changes: 1 addition & 1 deletion src/Models/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Event extends Model implements Contract
/**
* The attributes that are mass assignable.
*
* @var array<string>
* @var list<string>
*/
protected $fillable = [
'action',
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Medium.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Medium extends Model implements Contract
/**
* The accessors to append to the model's array form.
*
* @var array<string>
* @var list<string>
*/
protected $appends = [
'is_image',
Expand Down Expand Up @@ -65,7 +65,7 @@ class Medium extends Model implements Contract
/**
* The attributes that are mass assignable.
*
* @var array<string>
* @var list<string>
*/
protected $fillable = [
'disk',
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Meta extends Model implements Contract
/**
* The attributes that are mass assignable.
*
* @var array<string>
* @var list<string>
*/
protected $fillable = [
'key',
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Notification extends DatabaseNotification implements Contract
/**
* The accessors to append to the model's array form.
*
* @var array
* @var list<string>
*/
protected $appends = [
'formatted_created_at',
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Setting extends Model implements Contract
/**
* The attributes that are mass assignable.
*
* @var array<string>
* @var list<string>
*/
protected $fillable = [
'key',
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Translation extends Model implements Contract
/**
* The attributes that are mass assignable.
*
* @var array<string>
* @var list<string>
*/
protected $fillable = [
'locale',
Expand Down
Loading