Skip to content

Commit 2022d11

Browse files
authored
Merge edba695 into 7f688be
2 parents 7f688be + edba695 commit 2022d11

File tree

11 files changed

+283
-344
lines changed

11 files changed

+283
-344
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"laravel/laravel": "^12.0",
2626
"laravel/pint": "^1.6",
2727
"mockery/mockery": "^1.6",
28-
"larastan/larastan": "^3.0.0",
28+
"larastan/larastan": "^3.4",
2929
"phpunit/phpunit": "^11.5.3"
3030
},
3131
"minimum-stability": "dev",

composer.lock

Lines changed: 270 additions & 334 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpstan.neon.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ parameters:
77
scanFiles:
88
- tests/phpstan/FieldWithRoute.php
99
- tests/phpstan/MetaDataModel.php
10+
configDirectories:
11+
- config/
1012
paths:
1113
- src/
1214
- config/
@@ -22,6 +24,7 @@ parameters:
2224
checkInternalClassCaseSensitivity: true
2325
ignoreErrors:
2426
- '#^Unsafe usage of new static#'
27+
- '#should return static\((Cone\\Root\\\S+)\) but returns \1#'
2528
# Illuminate\View\View vs. Illuminate\Contracts\View\View
2629
- '#^Method Cone\\\S+::render\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#'
2730
# SoftDeletes

src/Models/Attachment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Attachment extends MorphPivot
1818
/**
1919
* The attributes that are mass assignable.
2020
*
21-
* @var array<int, string>
21+
* @var list<string>
2222
*/
2323
protected $fillable = [
2424
'collection',

src/Models/AuthCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class AuthCode extends Model implements Contract
2929
/**
3030
* The attributes that are mass assignable.
3131
*
32-
* @var array<int, string>
32+
* @var list<string>
3333
*/
3434
protected $fillable = [];
3535

src/Models/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Event extends Model implements Contract
2727
/**
2828
* The attributes that are mass assignable.
2929
*
30-
* @var array<string>
30+
* @var list<string>
3131
*/
3232
protected $fillable = [
3333
'action',

src/Models/Medium.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Medium extends Model implements Contract
3737
/**
3838
* The accessors to append to the model's array form.
3939
*
40-
* @var array<string>
40+
* @var list<string>
4141
*/
4242
protected $appends = [
4343
'is_image',
@@ -65,7 +65,7 @@ class Medium extends Model implements Contract
6565
/**
6666
* The attributes that are mass assignable.
6767
*
68-
* @var array<string>
68+
* @var list<string>
6969
*/
7070
protected $fillable = [
7171
'disk',

src/Models/Meta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Meta extends Model implements Contract
2727
/**
2828
* The attributes that are mass assignable.
2929
*
30-
* @var array<string>
30+
* @var list<string>
3131
*/
3232
protected $fillable = [
3333
'key',

src/Models/Notification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Notification extends DatabaseNotification implements Contract
2121
/**
2222
* The accessors to append to the model's array form.
2323
*
24-
* @var array
24+
* @var list<string>
2525
*/
2626
protected $appends = [
2727
'formatted_created_at',

src/Models/Setting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Setting extends Model implements Contract
1616
/**
1717
* The attributes that are mass assignable.
1818
*
19-
* @var array<string>
19+
* @var list<string>
2020
*/
2121
protected $fillable = [
2222
'key',

0 commit comments

Comments
 (0)