Skip to content

Commit

Permalink
Fix style.ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Apr 7, 2022
1 parent 839783a commit d63d2ff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/Model.php
Expand Up @@ -6,8 +6,6 @@

use Closure;
use InvalidArgumentException;
use ReflectionClass;
use ReflectionNamedType;
use Yii\Extension\Model\Contract\ModelContract;
use Yii\Extension\Model\Contract\ModelErrorsContract;
use Yiisoft\Strings\Inflector;
Expand Down
4 changes: 0 additions & 4 deletions src/ModelType.php
Expand Up @@ -8,12 +8,8 @@
use InvalidArgumentException;
use ReflectionClass;
use ReflectionNamedType;
use ReflectionUnionType;
use Stringable;
use Yii\Extension\Model\Contract\ModelContract;

use function array_key_exists;

final class ModelType
{
private array $attributes;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestSupport/FormModel/PropertyVisibility.php
Expand Up @@ -11,7 +11,7 @@ final class PropertyVisibility extends FormModel
public string $public = '';
protected string $protected = '';
private string $private = '';
private static string $static = '';
private static string $static = '';

public function getName(): string
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Validator/Attribute/HasLengthRuleTest.php
Expand Up @@ -17,7 +17,7 @@ public function testAttribute(): void
$this->assertSame(
[
'hasLengthRule' => [
'This value should contain at least {min, number} {min, plural, one{character} other{characters}}.'
'This value should contain at least {min, number} {min, plural, one{character} other{characters}}.',
],
],
FormErrorsAttributes::getAll($formModel)
Expand All @@ -28,7 +28,7 @@ public function testAttribute(): void
$this->assertSame(
[
'hasLengthRule' => [
'This value should contain at least {min, number} {min, plural, one{character} other{characters}}.'
'This value should contain at least {min, number} {min, plural, one{character} other{characters}}.',
],
],
FormErrorsAttributes::getAll($formModel)
Expand All @@ -39,7 +39,7 @@ public function testAttribute(): void
$this->assertSame(
[
'hasLengthRule' => [
'This value should contain at most {max, number} {max, plural, one{character} other{characters}}.'
'This value should contain at most {max, number} {max, plural, one{character} other{characters}}.',
],
],
FormErrorsAttributes::getAll($formModel)
Expand Down

0 comments on commit d63d2ff

Please sign in to comment.