mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
style
This commit is contained in:
@ -355,9 +355,7 @@ final class TestCall // @phpstan-ignore-line
|
||||
public function skipOnCI(): self
|
||||
{
|
||||
if ($this->runningOnCI()) {
|
||||
return $this->skip(sprintf(
|
||||
'This test is skipped on [CI].',
|
||||
));
|
||||
return $this->skip('This test is skipped on [CI].');
|
||||
}
|
||||
|
||||
return $this;
|
||||
@ -366,9 +364,7 @@ final class TestCall // @phpstan-ignore-line
|
||||
public function skipLocally(): self
|
||||
{
|
||||
if ($this->runningOnCI() === false) {
|
||||
return $this->skip(sprintf(
|
||||
'This test is skipped [locally].',
|
||||
));
|
||||
return $this->skip('This test is skipped [locally].');
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user