Skip to content

Commit

Permalink
make StyleCI happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 3, 2018
1 parent 516b3d4 commit 582d58a
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
preset: symfony
disabled:
- braces
- property_separation
6 changes: 6 additions & 0 deletions Context/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,32 @@ final class Context
* @var array
*/
private $attributes = array();

/**
* @var int|null
*/
private $version;

/**
* @var array|null
*/
private $groups;

/**
* @var int
*/
private $maxDepth;

/**
* @var bool
*/
private $isMaxDepthEnabled;

/**
* @var bool
*/
private $serializeNull;

/**
* @var ExclusionStrategyInterface[]
*/
Expand Down
6 changes: 6 additions & 0 deletions Controller/Annotations/AbstractParam.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,22 @@ abstract class AbstractParam implements ParamInterface
{
/** @var string */
public $name;

/** @var string */
public $key;

/** @var mixed */
public $default;

/** @var string */
public $description;

/** @var bool */
public $strict = false;

/** @var bool */
public $nullable = false;

/** @var array */
public $incompatibles = array();

Expand Down
2 changes: 2 additions & 0 deletions Controller/Annotations/AbstractScalarParam.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ abstract class AbstractScalarParam extends AbstractParam
{
/** @var mixed */
public $requirements = null;

/** @var bool */
public $map = false;

/** @var bool */
public $allowBlank = true;

Expand Down
3 changes: 3 additions & 0 deletions Controller/Annotations/FileParam.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ class FileParam extends AbstractParam
{
/** @var bool */
public $strict = true;

/** @var mixed */
public $requirements = null;

/** @var bool */
public $image = false;

/** @var bool */
public $map = false;

Expand Down
1 change: 1 addition & 0 deletions Controller/Annotations/RouteResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class RouteResource
* @var string required
*/
public $resource;

/**
* @var bool
*/
Expand Down
1 change: 1 addition & 0 deletions Serializer/JMSSerializerAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class JMSSerializerAdapter implements Serializer
* @internal
*/
const SERIALIZATION = 0;

/**
* @internal
*/
Expand Down
2 changes: 2 additions & 0 deletions Tests/EventListener/VersionListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ class VersionListenerTest extends TestCase
* @var \FOS\RestBundle\View\ConfigurableViewHandlerInterface
*/
private $viewHandler;

/**
* @var \FOS\RestBundle\Version\VersionResolverInterface
*/
private $resolver;

/**
* @var VersionListener
*/
Expand Down

0 comments on commit 582d58a

Please sign in to comment.