File tree Expand file tree Collapse file tree 7 files changed +738
-504
lines changed Expand file tree Collapse file tree 7 files changed +738
-504
lines changed Original file line number Diff line number Diff line change 28
28
matrix :
29
29
php : [8.2, 8.3]
30
30
phpunit : ['11.0', '11.4']
31
- phpstan : ['1.12 ']
32
- paratest : ['7.6']
33
- larastan : ['2.5', '2.9 ']
31
+ phpstan : ['2.1 ']
32
+ paratest : ['7.6', '7.8' ]
33
+ larastan : ['v3.1 ']
34
34
35
35
name : PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - with Paratest ${{ matrix.paratest }} - PHPStan ${{ matrix.phpstan }} - Larastan ${{ matrix.larastan }}
36
36
Original file line number Diff line number Diff line change 7
7
use Illuminate \Pagination \LengthAwarePaginator ;
8
8
9
9
/**
10
- * @property LengthAwarePaginator $resource
10
+ * @property LengthAwarePaginator<self> $resource
11
11
*/
12
12
class BaseResourceCollection extends ResourceCollection
13
13
{
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class Book extends Model
35
35
/**
36
36
* The attributes that are mass assignable.
37
37
*
38
- * @var array<int, string>
38
+ * @var list< string>
39
39
*/
40
40
protected $ fillable = [
41
41
'title ' ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class Publisher extends Model
37
37
/**
38
38
* The attributes that are mass assignable.
39
39
*
40
- * @var array<int, string>
40
+ * @var list< string>
41
41
*/
42
42
protected $ fillable = [
43
43
'name ' ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class User extends Authenticatable
20
20
/**
21
21
* The attributes that are mass assignable.
22
22
*
23
- * @var array<int, string>
23
+ * @var list< string>
24
24
*/
25
25
protected $ fillable = [
26
26
'name ' ,
@@ -31,7 +31,7 @@ class User extends Authenticatable
31
31
/**
32
32
* The attributes that should be hidden for serialization.
33
33
*
34
- * @var array<int, string>
34
+ * @var list< string>
35
35
*/
36
36
protected $ hidden = [
37
37
'password ' ,
Original file line number Diff line number Diff line change 7
7
"require" : {
8
8
"php" : " ^8.2" ,
9
9
"darkaonline/l5-swagger" : " ^8.6" ,
10
- "laravel/framework" : " ^11.9 " ,
10
+ "laravel/framework" : " ^12.0 " ,
11
11
"laravel/tinker" : " ^2.9"
12
12
},
13
13
"require-dev" : {
14
14
"brianium/paratest" : " ^7.6" ,
15
15
"fakerphp/faker" : " ^1.23" ,
16
- "larastan/larastan" : " ^2.9 " ,
16
+ "larastan/larastan" : " ^v3.1 " ,
17
17
"laravel/pail" : " ^1.1" ,
18
18
"laravel/pint" : " ^1.13" ,
19
19
"laravel/sail" : " ^1.26" ,
20
20
"mockery/mockery" : " ^1.6" ,
21
21
"nunomaduro/collision" : " ^8.1" ,
22
- "phpstan/phpstan" : " ^1.12 " ,
22
+ "phpstan/phpstan" : " ^2.1 " ,
23
23
"phpunit/phpunit" : " ^11.4"
24
24
},
25
25
"autoload" : {
You can’t perform that action at this time.
0 commit comments