File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Menu Manager is licensed under an [MIT license](http://heyday.mit-license.org/)
99
1010## Installation
1111
12- ```
12+ ``` sh
1313composer require heyday/silverstripe-menumanager
1414```
1515
Original file line number Diff line number Diff line change 3434 },
3535 "scripts" : {
3636 "test" : " phpunit -d memory_limit=512M -d flush=1" ,
37+ "lint" : " phpcs src tests" ,
38+ "lint:fix" : " phpcbf src tests" ,
3739 "test-with-coverage" : [
3840 " phpunit --coverage-html coverage/php --coverage-clover coverage/php/clover.xml"
3941 ]
Original file line number Diff line number Diff line change @@ -27,5 +27,4 @@ public function testEditForm(): void
2727 $ form = $ admin ->getEditForm ()->Fields ();
2828 $ this ->assertInstanceOf (GridField::class, $ form ->dataFieldByName ($ menuSetName ));
2929 }
30-
3130}
Original file line number Diff line number Diff line change @@ -44,5 +44,4 @@ public function testCmsFields(): void
4444 $ this ->assertInstanceOf (CheckboxField::class, $ fields ->dataFieldByName ('IsNewWindow ' ));
4545 $ this ->assertInstanceOf (UploadField::class, $ fields ->dataFieldByName ('File ' ));
4646 }
47-
4847}
Original file line number Diff line number Diff line change @@ -46,5 +46,4 @@ public function testCmsFields(): void
4646 MenuSet::create ()->getCMSFields ()->dataFieldByName ('Name ' )
4747 );
4848 }
49-
5049}
You can’t perform that action at this time.
0 commit comments