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

Commit

Permalink
Update CS
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Jun 11, 2020
1 parent 30e99b8 commit eecb88e
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"spaze/phpstan-disallowed-calls": "^0.12.1",
"phpstan/phpstan-mockery": "^0.12.5",
"php-parallel-lint/php-parallel-lint": "^1.2",
"nepada/coding-standard": "^7.1.1"
"nepada/coding-standard": "^7.2"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 3 additions & 1 deletion src/ConsistenceDoctrine/BooleanEnumType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
abstract class BooleanEnumType extends BooleanType
{

/** @var EnumType<TEnum>|null */
/**
* @var EnumType<TEnum>|null
*/
private ?EnumType $enumType = null;

/**
Expand Down
4 changes: 3 additions & 1 deletion src/ConsistenceDoctrine/EnumType.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
final class EnumType
{

/** @phpstan-var class-string<TEnum> */
/**
* @phpstan-var class-string<TEnum>
*/
private string $type;

/**
Expand Down
4 changes: 3 additions & 1 deletion src/ConsistenceDoctrine/FloatEnumType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
abstract class FloatEnumType extends FloatType
{

/** @var EnumType<TEnum>|null */
/**
* @var EnumType<TEnum>|null
*/
private ?EnumType $enumType = null;

/**
Expand Down
4 changes: 3 additions & 1 deletion src/ConsistenceDoctrine/IntegerEnumType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
abstract class IntegerEnumType extends IntegerType
{

/** @var EnumType<TEnum>|null */
/**
* @var EnumType<TEnum>|null
*/
private ?EnumType $enumType = null;

/**
Expand Down
4 changes: 3 additions & 1 deletion src/ConsistenceDoctrine/StringEnumType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
abstract class StringEnumType extends StringType
{

/** @var EnumType<TEnum>|null */
/**
* @var EnumType<TEnum>|null
*/
private ?EnumType $enumType = null;

/**
Expand Down
4 changes: 3 additions & 1 deletion tests/ConsistenceDoctrine/EnumTypeTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
abstract class EnumTypeTestCase extends TestCase
{

/** @var AbstractPlatform|MockInterface */
/**
* @var AbstractPlatform|MockInterface
*/
protected AbstractPlatform $platform;

protected function setUp(): void
Expand Down
4 changes: 3 additions & 1 deletion tests/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ final class Environment

private static ?string $tempDir = null;

/** @var resource */
/**
* @var resource
*/
private static $lock;

public static function setup(): void
Expand Down

0 comments on commit eecb88e

Please sign in to comment.