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

Commit

Permalink
Apply fixes from StyleCI (#65)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
ElectricMaxxx authored and dbu committed May 14, 2018
1 parent f9ab64c commit 4fba087
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/ResourceController.php
Expand Up @@ -25,6 +25,7 @@
class ResourceController
{
const ROLE_RESOURCE_READ = 'CMF_RESOURCE_READ';

const ROLE_RESOURCE_WRITE = 'CMF_RESOURCE_WRITE';

/**
Expand Down
1 change: 1 addition & 0 deletions src/Security/ResourcePathVoter.php
Expand Up @@ -22,6 +22,7 @@
class ResourcePathVoter extends Voter
{
private $accessDecisionManager;

private $accessMap;

public function __construct(AccessDecisionManagerInterface $accessDecisionManager, array $accessMap)
Expand Down
4 changes: 4 additions & 0 deletions src/Serializer/Jms/Handler/ResourceHandler.php
Expand Up @@ -31,9 +31,13 @@
class ResourceHandler implements SubscribingHandlerInterface
{
private $registry;

private $payloadAliasRegistry;

private $descriptionFactory;

private $maxDepth;

private $exposePayload;

public function __construct(
Expand Down
1 change: 1 addition & 0 deletions tests/Features/Context/ResourceContext.php
Expand Up @@ -26,6 +26,7 @@
class ResourceContext implements Context
{
private $session;

private $manager;

/**
Expand Down
2 changes: 2 additions & 0 deletions tests/Unit/Registry/PayloadAliasRegistryTest.php
Expand Up @@ -16,7 +16,9 @@
class PayloadAliasRegistryTest extends \PHPUnit_Framework_TestCase
{
private $repositoryRegistry;

private $resource;

private $repository;

public function setUp()
Expand Down
Expand Up @@ -16,7 +16,9 @@
class PhpcrNodeSubscriberTest extends \PHPUnit_Framework_TestCase
{
private $node;

private $event;

private $subscriber;

public function setUp()
Expand Down
2 changes: 2 additions & 0 deletions tests/Unit/Serializer/Jms/Handler/PhpcrNodeHandlerTest.php
Expand Up @@ -16,7 +16,9 @@
class PhpcrNodeHandlerTest extends \PHPUnit_Framework_TestCase
{
private $handler;

private $property1;

private $property2;

public function setUp()
Expand Down
9 changes: 9 additions & 0 deletions tests/Unit/Serializer/Jms/Handler/ResourceHandlerTest.php
Expand Up @@ -25,14 +25,23 @@
class ResourceHandlerTest extends \PHPUnit_Framework_TestCase
{
private $repositoryRegistry;

private $payloadAliasRegistry;

private $descriptionFactory;

private $visitor;

private $resource;

private $childResource;

private $repository;

private $context;

private $handler;

private $description;

protected function setUp()
Expand Down

0 comments on commit 4fba087

Please sign in to comment.