mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
style: run linter
This commit is contained in:
@ -6,7 +6,7 @@ global $globalHook;
|
|||||||
|
|
||||||
// HACK: we have to determine our $globalHook->calls baseline. This is because
|
// HACK: we have to determine our $globalHook->calls baseline. This is because
|
||||||
// two other tests are executed before this one due to filename ordering.
|
// two other tests are executed before this one due to filename ordering.
|
||||||
$args = $_SERVER['argv'] ?? [];
|
$args = $_SERVER['argv'] ?? [];
|
||||||
$single = isset($args[1]) && Str::endsWith(__FILE__, $args[1]);
|
$single = isset($args[1]) && Str::endsWith(__FILE__, $args[1]);
|
||||||
$offset = $single ? 0 : 2;
|
$offset = $single ? 0 : 2;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user