Skip to content

Commit 8d1b05d

Browse files
authored
Merge pull request #1 from laravel-validation-rules/analysis-zYQlAd
Apply fixes from StyleCI
2 parents 12ac6f8 + e42fc29 commit 8d1b05d

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

src/Timezone.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
<?php
22

3+
/*
4+
* This file is part of https://github.com/laravel-validation-rules/timezone
5+
*
6+
* (c) Scott Wilcox <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*
11+
*/
12+
313
namespace App\Rules;
414

515
use DateTimeZone;

tests/TimezoneTest.php

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
<?php
22

3+
/*
4+
* This file is part of https://github.com/laravel-validation-rules/timezone
5+
*
6+
* (c) Scott Wilcox <[email protected]>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*
11+
*/
12+
313
namespace Tests;
414

515
use App\Rules\Timezone;
@@ -12,8 +22,8 @@
1222

1323
final class TimezoneTest extends TestCase
1424
{
15-
16-
public function buildValidator($timezone) {
25+
public function buildValidator($timezone)
26+
{
1727
$app = new Container();
1828
$app->singleton('app', 'Illuminate\Container\Container');
1929
$translator = new Translator(new FileLoader(new Filesystem(), null), 'en');
@@ -43,6 +53,4 @@ public function testInvalidTimezoneFails()
4353
$validator = $this->buildValidator("Bob/Dole");
4454
$this->assertTrue($validator->fails());
4555
}
46-
47-
4856
}

0 commit comments

Comments
 (0)