Skip to content

Commit b3fc469

Browse files
committed
chore: wip
1 parent 7d4d898 commit b3fc469

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ yarn-error.log
2525
resources/js/ziggy.js
2626
.phpstorm.meta.php
2727
_ide_helper.php
28+
build/

database/factories/UserFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class UserFactory extends Factory
2222
/**
2323
* Define the model's default state.
2424
*
25-
* @return array<string, mixed>
25+
* @return array<model-property<User>, mixed>
2626
*/
2727
public function definition(): array
2828
{

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ parameters:
66
- routes
77
- bootstrap/app.php
88
- bootstrap/providers.php
9+
- public/index.php
10+
tmpDir: build/phpstan
911
reportUnmatchedIgnoredErrors: true
12+
checkOctaneCompatibility: true
13+
checkModelProperties: true
1014
ignoreErrors:
1115
-
1216
message: '#Dynamic call to static method Illuminate\\Http\\Request::validate\(\).#'

rector.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
__DIR__.'/app/Models/*.php',
2020
],
2121
])
22-
->withPreparedSets(
23-
deadCode: true,
24-
codeQuality: true,
25-
typeDeclarations: true,
26-
privatization: true,
27-
earlyReturn: true,
28-
strictBooleans: true,
29-
);
22+
->withTypeCoverageLevel(10)
23+
->withDeadCodeLevel(10)
24+
->withCodeQualityLevel(10);

0 commit comments

Comments
 (0)