Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5fa082e

Browse files
committed
Fix return type for eloquent builder first
1 parent bb1e198 commit 5fa082e

File tree

11 files changed

+7406
-3
lines changed

11 files changed

+7406
-3
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/vendor/
1+
.phpunit.cache/
2+
vendor/

composer.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,33 @@
1515
"phpstan/phpstan": "^1.10",
1616
"phpstan/extension-installer": "^1.3"
1717
},
18+
"require-dev": {
19+
"laravel/framework": "^11.0",
20+
"phpunit/phpunit": "^11.1",
21+
"phpstan/phpstan-phpunit": "^1.3",
22+
"phpstan/phpstan-deprecation-rules": "^1.1",
23+
"phpstan/phpstan-strict-rules": "^1.5"
24+
},
25+
"autoload": {
26+
"psr-4": {
27+
"Recoded\\PHPStanLaravel\\": "src/"
28+
}
29+
},
30+
"autoload-dev": {
31+
"psr-4": {
32+
"Tests\\": "tests/"
33+
}
34+
},
1835
"config": {
1936
"allow-plugins": {
2037
"phpstan/extension-installer": true
2138
}
39+
},
40+
"extra": {
41+
"phpstan": {
42+
"includes": [
43+
"extension.neon"
44+
]
45+
}
2246
}
2347
}

0 commit comments

Comments
 (0)