mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: style changes
This commit is contained in:
@ -4,7 +4,7 @@ use Pest\Console\Help;
|
||||
use Symfony\Component\Console\Output\BufferedOutput;
|
||||
|
||||
it('outputs the help information when --help is used', function () {
|
||||
$output = new BufferedOutput();
|
||||
$output = new BufferedOutput;
|
||||
$plugin = new Help($output);
|
||||
|
||||
$plugin();
|
||||
|
||||
@ -5,7 +5,7 @@ use Pest\Plugins\Environment;
|
||||
test('environment is set to CI when --ci option is used', function () {
|
||||
$previousName = Environment::name();
|
||||
|
||||
$plugin = new Environment();
|
||||
$plugin = new Environment;
|
||||
|
||||
$plugin->handleArguments(['foo', '--ci', 'bar']);
|
||||
|
||||
@ -15,7 +15,7 @@ test('environment is set to CI when --ci option is used', function () {
|
||||
});
|
||||
|
||||
test('environment is set to Local when --ci option is not used', function () {
|
||||
$plugin = new Environment();
|
||||
$plugin = new Environment;
|
||||
|
||||
$plugin->handleArguments(['foo', 'bar', 'baz']);
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
use Pest\Plugins\Retry;
|
||||
|
||||
it('orders by defects and stop on defects if when --retry is used ', function () {
|
||||
$retry = new Retry();
|
||||
$retry = new Retry;
|
||||
|
||||
$arguments = $retry->handleArguments(['--retry']);
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ use Pest\TestSuite;
|
||||
uses()->group('container');
|
||||
|
||||
beforeEach(function () {
|
||||
$this->container = new Container();
|
||||
$this->container = new Container;
|
||||
});
|
||||
|
||||
it('exists')
|
||||
|
||||
@ -9,7 +9,7 @@ it('gets file name from closure', function () {
|
||||
});
|
||||
|
||||
it('gets property values', function () {
|
||||
$class = new class()
|
||||
$class = new class
|
||||
{
|
||||
private $foo = 'bar';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user