Skip to content

Commit 76ece53

Browse files
mattstauffergithub-actions[bot]
authored andcommitted
Fix code styling
1 parent 07432a9 commit 76ece53

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/BaseApplicationTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ class BaseApplicationTestCase extends TestCase
88
{
99
use UsesNullWriter;
1010

11-
public function setUp(): void
11+
protected function setUp(): void
1212
{
1313
$this->prepTestConfig();
1414
$this->setNullWriter();
1515
}
1616

17-
public function tearDown(): void
17+
protected function tearDown(): void
1818
{
1919
Mockery::close();
2020
}

tests/BrewTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public function test_unlink_will_pass_formula_to_run_as_user()
316316
$this->assertSame('Some output', resolve(Brew::class)->unlink('aformula'));
317317
}
318318

319-
public function test_getRunningServices_will_throw_exception_on_failure()
319+
public function test_get_running_services_will_throw_exception_on_failure()
320320
{
321321
$this->expectException(DomainException::class);
322322

@@ -331,7 +331,7 @@ public function test_getRunningServices_will_throw_exception_on_failure()
331331
resolve(Brew::class)->getRunningServices(true);
332332
}
333333

334-
public function test_getRunningServices_will_pass_to_brew_services_list_and_return_array()
334+
public function test_get_running_services_will_pass_to_brew_services_list_and_return_array()
335335
{
336336
$cli = Mockery::mock(CommandLine::class);
337337
$cli->shouldReceive('runAsUser')->once()->withArgs([
@@ -349,7 +349,7 @@ public function test_getRunningServices_will_pass_to_brew_services_list_and_retu
349349
], array_values($result->all()));
350350
}
351351

352-
public function test_getAllRunningServices_will_return_both_root_and_user_services()
352+
public function test_get_all_running_services_will_return_both_root_and_user_services()
353353
{
354354
$cli = Mockery::mock(CommandLine::class);
355355
$cli->shouldReceive('run')->once()->withArgs([
@@ -369,7 +369,7 @@ public function test_getAllRunningServices_will_return_both_root_and_user_servic
369369
], array_values($result->all()));
370370
}
371371

372-
public function test_getAllRunningServices_will_return_unique_services()
372+
public function test_get_all_running_services_will_return_unique_services()
373373
{
374374
$cli = Mockery::mock(CommandLine::class);
375375
$cli->shouldReceive('run')->once()->andReturn('service1'.PHP_EOL.'service2'.PHP_EOL.'service1'.PHP_EOL);

tests/PhpFpmTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public function test_stop_unused_php_versions()
240240
resolve(PhpFpm::class)->stopIfUnused('[email protected]');
241241
}
242242

243-
public function test_stopRunning_will_pass_filtered_result_of_getRunningServices_to_stopService()
243+
public function test_stop_running_will_pass_filtered_result_of_get_running_services_to_stop_service()
244244
{
245245
$brewMock = Mockery::mock(Brew::class);
246246
$brewMock->shouldReceive('getAllRunningServices')->once()

0 commit comments

Comments
 (0)