File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 161
161
"pest" : " @php ./vendor/bin/pest --coverage" ,
162
162
"pest-coverage" : " @pest --coverage-html=./build/phpunit/ --coverage-clover=./clover.xml" ,
163
163
"pest-migrate-configuration" : " @pest --migrate-configuration" ,
164
+ "pest-update-snapshots" : " @pest -d --update-snapshots" ,
164
165
"phpstan" : " @php ./vendor/bin/phpstan analyse --ansi -v" ,
165
166
"phpstan-baseline" : " @phpstan --generate-baseline --allow-empty-baseline" ,
166
167
"post-merge" : [
184
185
"test-migrate-configuration" : " @pest-migrate-configuration" ,
185
186
"test-phpunit" : " @php ./vendor/bin/phpunit --cache-result-file=./build/phpunit/.phpunit.result.cache --coverage-text --ansi -v" ,
186
187
"test-phpunit-coverage" : " @test --coverage-html=./build/phpunit/ --coverage-clover=clover.xml" ,
188
+ "test-update-snapshots" : " @pest-update-snapshots" ,
187
189
"yaml-lint" : " @php ./vendor/bin/yaml-lint .github --ansi -v"
188
190
}
189
191
}
Original file line number Diff line number Diff line change 58
58
->arrayScores ($ sqls )
59
59
->toBeArray ()
60
60
->toBeTruthy ()
61
- ->each (function (Pest \Expectation $ arrayScore ): void {
62
- $ arrayScore ->toBeArray ()->toHaveKeys ([
61
+ ->each (function (Pest \Expectation $ expectation ): void {
62
+ $ expectation ->toBeArray ()->toHaveKeys ([
63
63
'ID ' ,
64
64
'Fingerprint ' ,
65
65
'Score ' ,
Original file line number Diff line number Diff line change 135
135
'stringable ' => new class () {
136
136
public function __toString (): string
137
137
{
138
- return __CLASS__ ;
138
+ return self ::class ;
139
139
}
140
140
},
141
141
'invoke ' => new class () {
142
142
public function __invoke (): string
143
143
{
144
- return __CLASS__ ;
144
+ return self ::class ;
145
145
}
146
146
},
147
147
]))
You can’t perform that action at this time.
0 commit comments