Skip to content

Commit ad0c6cb

Browse files
authored
Merge pull request #3 from melihovv/analysis-1bEkPw
Apply fixes from StyleCI
2 parents b0a5fb1 + 22db1ec commit ad0c6cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class ServiceProvider extends Provider
88
{
9-
const CONFIG_PATH = __DIR__ . '/../config/env-validator.php';
9+
const CONFIG_PATH = __DIR__.'/../config/env-validator.php';
1010

1111
public function boot()
1212
{

tests/EnvValidatorCommandTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ protected function getPackageProviders($app)
1515
}
1616

1717
/** @test */
18-
function it_has_the_right_error_message()
18+
public function it_has_the_right_error_message()
1919
{
2020
try {
2121
putenv('VAR_1');
@@ -44,7 +44,7 @@ function it_has_the_right_error_message()
4444
}
4545

4646
/** @test */
47-
function it_does_not_throw_exception_if_validation_is_met()
47+
public function it_does_not_throw_exception_if_validation_is_met()
4848
{
4949
putenv('VAR_1=123');
5050
putenv('VAR_2=A');
@@ -60,7 +60,7 @@ function it_does_not_throw_exception_if_validation_is_met()
6060
}
6161

6262
/** @test */
63-
function it_doest_not_throw_exception_if_no_configuration_is_defined()
63+
public function it_doest_not_throw_exception_if_no_configuration_is_defined()
6464
{
6565
Config::set('env-validator.rules', []);
6666

0 commit comments

Comments
 (0)