File tree 5 files changed +14
-8
lines changed
.pest/snapshots/Console/OutputTest
5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 3
3
"ignore" : {
4
4
"words" : [
5
5
" php"
6
+ ],
7
+ "paths" : [
8
+ " tests"
6
9
]
7
10
}
8
11
}
Original file line number Diff line number Diff line change @@ -181,11 +181,7 @@ private function inferProjectPath(): string
181
181
182
182
return match (true ) {
183
183
isset ($ _ENV ['APP_BASE_PATH ' ]) => $ _ENV ['APP_BASE_PATH ' ],
184
- default => match (true ) {
185
- is_dir ($ basePath .'/app ' ) => ($ basePath .'/app ' ),
186
- is_dir ($ basePath .'/src ' ) => ($ basePath .'/src ' ),
187
- default => $ basePath ,
188
- },
184
+ default => $ basePath ,
189
185
};
190
186
}
191
187
Original file line number Diff line number Diff line change @@ -66,12 +66,15 @@ oauth
66
66
otp
67
67
params
68
68
parsable
69
+ phpstan
70
+ phpunit
69
71
pinkary
70
72
pinnable
71
73
postgres
72
74
pre
73
75
propable
74
76
psr
77
+ readme
75
78
recaptcha
76
79
repo
77
80
resizer
Original file line number Diff line number Diff line change 1
- ....................................... .
1
+ .................................................................. .
2
2
3
3
PASS No misspellings found in your project .
4
4
Original file line number Diff line number Diff line change 9
9
10
10
expect ($ config ->whitelistedWords )->toBe ([
11
11
'php ' ,
12
- ])->and ($ config ->whitelistedPaths )->toBe ([]);
12
+ ])->and ($ config ->whitelistedPaths )->toBe ([
13
+ 'tests ' ,
14
+ ]);
13
15
});
14
16
15
17
it ('should to be a singleton ' , function (): void {
53
55
->and ($ config ->whitelistedWords )->toBe ([
54
56
'php ' ,
55
57
])
56
- ->and ($ config ->whitelistedPaths )->toBe ([]);
58
+ ->and ($ config ->whitelistedPaths )->toBe ([
59
+ 'tests ' ,
60
+ ]);
57
61
});
You can’t perform that action at this time.
0 commit comments