Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 4fba087

Browse files
ElectricMaxxxdbu
authored andcommitted
Apply fixes from StyleCI (#65)
[ci skip] [skip ci]
1 parent f9ab64c commit 4fba087

File tree

8 files changed

+22
-0
lines changed

8 files changed

+22
-0
lines changed

src/Controller/ResourceController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
class ResourceController
2626
{
2727
const ROLE_RESOURCE_READ = 'CMF_RESOURCE_READ';
28+
2829
const ROLE_RESOURCE_WRITE = 'CMF_RESOURCE_WRITE';
2930

3031
/**

src/Security/ResourcePathVoter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
class ResourcePathVoter extends Voter
2323
{
2424
private $accessDecisionManager;
25+
2526
private $accessMap;
2627

2728
public function __construct(AccessDecisionManagerInterface $accessDecisionManager, array $accessMap)

src/Serializer/Jms/Handler/ResourceHandler.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@
3131
class ResourceHandler implements SubscribingHandlerInterface
3232
{
3333
private $registry;
34+
3435
private $payloadAliasRegistry;
36+
3537
private $descriptionFactory;
38+
3639
private $maxDepth;
40+
3741
private $exposePayload;
3842

3943
public function __construct(

tests/Features/Context/ResourceContext.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
class ResourceContext implements Context
2727
{
2828
private $session;
29+
2930
private $manager;
3031

3132
/**

tests/Unit/Registry/PayloadAliasRegistryTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
class PayloadAliasRegistryTest extends \PHPUnit_Framework_TestCase
1717
{
1818
private $repositoryRegistry;
19+
1920
private $resource;
21+
2022
private $repository;
2123

2224
public function setUp()

tests/Unit/Serializer/Jms/EventSubscriber/PhpcrNodeSubscriberTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
class PhpcrNodeSubscriberTest extends \PHPUnit_Framework_TestCase
1717
{
1818
private $node;
19+
1920
private $event;
21+
2022
private $subscriber;
2123

2224
public function setUp()

tests/Unit/Serializer/Jms/Handler/PhpcrNodeHandlerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
class PhpcrNodeHandlerTest extends \PHPUnit_Framework_TestCase
1717
{
1818
private $handler;
19+
1920
private $property1;
21+
2022
private $property2;
2123

2224
public function setUp()

tests/Unit/Serializer/Jms/Handler/ResourceHandlerTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,23 @@
2525
class ResourceHandlerTest extends \PHPUnit_Framework_TestCase
2626
{
2727
private $repositoryRegistry;
28+
2829
private $payloadAliasRegistry;
30+
2931
private $descriptionFactory;
32+
3033
private $visitor;
34+
3135
private $resource;
36+
3237
private $childResource;
38+
3339
private $repository;
40+
3441
private $context;
42+
3543
private $handler;
44+
3645
private $description;
3746

3847
protected function setUp()

0 commit comments

Comments
 (0)