Skip to content

Commit eeab24e

Browse files
authored
Merge pull request #1671 from pestphp/feat/time-based-sharding
[4.x] Time based sharding
2 parents 13c322b + 9b64d54 commit eeab24e

8 files changed

Lines changed: 479 additions & 8 deletions

File tree

src/ArchPresets/Laravel.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,5 @@ public function execute(): void
176176
->toImplement('Illuminate\Contracts\Container\ContextualAttribute')
177177
->toHaveAttribute('Attribute')
178178
->toHaveMethod('resolve');
179-
180-
$this->expectations[] = expect('App\Rules')
181-
->classes()
182-
->toImplement('Illuminate\Contracts\Validation\ValidationRule');
183179
}
184180
}

src/Plugins/Help.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ private function getContent(): array
123123
'arg' => '--update-snapshots',
124124
'desc' => 'Update snapshots for tests using the "toMatchSnapshot" expectation',
125125
],
126+
[
127+
'arg' => '--update-shards',
128+
'desc' => 'Update shards.json with test timing data for time-balanced sharding',
129+
],
126130
], ...$content['Execution']];
127131

128132
$content['Selection'] = [[

0 commit comments

Comments
 (0)