Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit bc01cb8

Browse files
2 parents a5a7897 + a92641e commit bc01cb8

3 files changed

Lines changed: 15 additions & 14 deletions

File tree

.php_cs

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

33
$fixers = [
44
'-yoda_conditions',
5-
// 'align_double_arrow',
5+
'align_double_arrow',
66
'multiline_spaces_before_semicolon',
77
'ordered_use',
88
'short_array_syntax',

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"illuminate/support": "~5.0"
1717
},
1818
"require-dev": {
19-
"graham-campbell/testbench": "~2.0"
19+
"graham-campbell/testbench": "~2.0",
20+
"fabpot/php-cs-fixer": "~1.2"
2021
},
2122
"autoload": {
2223
"psr-4": {

tests/NavigationTest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,11 @@ public function testGetHTMLNoBar()
191191
->andReturn([['title' => 'Test', 'url' => 'http://laravel.com/test']]);
192192

193193
$data = [
194-
'title' => 'Navigation',
195-
'side' => 'dropdown',
194+
'title' => 'Navigation',
195+
'side' => 'dropdown',
196196
'inverse' => true,
197-
'main' => [['title' => 'Test', 'url' => 'http://laravel.com/test']],
198-
'bar' => false,
197+
'main' => [['title' => 'Test', 'url' => 'http://laravel.com/test']],
198+
'bar' => false,
199199
];
200200

201201
$navigation->getView()->shouldReceive('make')->once()
@@ -216,11 +216,11 @@ public function testGetHTMLEmptyBar()
216216
$navigation->shouldReceive('getBar')->once()->with('default')->andReturn([]);
217217

218218
$data = [
219-
'title' => 'Navigation',
220-
'side' => 'dropdown',
219+
'title' => 'Navigation',
220+
'side' => 'dropdown',
221221
'inverse' => true,
222-
'main' => [['title' => 'Test', 'url' => 'http://laravel.com/test']],
223-
'bar' => [],
222+
'main' => [['title' => 'Test', 'url' => 'http://laravel.com/test']],
223+
'bar' => [],
224224
];
225225

226226
$navigation->getView()->shouldReceive('make')->once()
@@ -242,11 +242,11 @@ public function testGetHTMLWithBar()
242242
->andReturn([['title' => 'Test', 'url' => 'http://laravel.com/test']]);
243243

244244
$data = [
245-
'title' => 'Navigation',
246-
'side' => 'dropdown',
245+
'title' => 'Navigation',
246+
'side' => 'dropdown',
247247
'inverse' => true,
248-
'main' => [['title' => 'Test', 'url' => 'http://laravel.com/test']],
249-
'bar' => [['title' => 'Test', 'url' => 'http://laravel.com/test']],
248+
'main' => [['title' => 'Test', 'url' => 'http://laravel.com/test']],
249+
'bar' => [['title' => 'Test', 'url' => 'http://laravel.com/test']],
250250
];
251251

252252
$navigation->getView()->shouldReceive('make')->once()

0 commit comments

Comments
 (0)