File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 11<?php
22
3+ /*
4+ * This file is part of https://github.com/laravel-validation-rules/timezone
5+ *
6+ * (c) Scott Wilcox <scott@dor.ky>
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+
313namespace App \Rules ;
414
515use DateTimeZone ;
Original file line number Diff line number Diff line change 11<?php
22
3+ /*
4+ * This file is part of https://github.com/laravel-validation-rules/timezone
5+ *
6+ * (c) Scott Wilcox <scott@dor.ky>
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+
313namespace Tests ;
414
515use App \Rules \Timezone ;
1222
1323final 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}
You can’t perform that action at this time.
0 commit comments