Skip to content

Commit

Permalink
Update StyleCI config (#69)
Browse files Browse the repository at this point in the history
* Update StyleCI config

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
  • Loading branch information
vjik and StyleCIBot committed Mar 31, 2023
1 parent d8eec3d commit 7b47b39
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
19 changes: 7 additions & 12 deletions .styleci.yml
@@ -1,22 +1,12 @@
preset: psr12
risky: true

version: 8
version: 8.1

finder:
exclude:
- docs
- vendor
- resources
- views
- public
- templates
not-name:
- UnionCar.php
- TimerUnionTypes.php
- schema1.php
not-path:
- tests/Stub/NodeGrandParentInterface.php

enabled:
- alpha_ordered_traits
Expand Down Expand Up @@ -66,7 +56,6 @@ enabled:
- phpdoc_order
- phpdoc_property
- phpdoc_scalar
- phpdoc_separation
- phpdoc_singular_inheritdoc
- phpdoc_trim
- phpdoc_trim_consecutive_blank_line_separation
Expand All @@ -88,3 +77,9 @@ enabled:
- trailing_comma_in_multiline_array
- unalign_double_arrow
- unalign_equals
- empty_loop_body_braces
- integer_literal_case
- union_type_without_spaces

disabled:
- function_declaration
1 change: 1 addition & 0 deletions tests/ClassCacheTest.php
Expand Up @@ -9,6 +9,7 @@
use Yiisoft\Proxy\ClassCache;
use Yiisoft\Proxy\Tests\Stub\Node;
use Yiisoft\Proxy\Tests\Stub\MyProxy;

use function sys_get_temp_dir;

class ClassCacheTest extends TestCase
Expand Down
4 changes: 2 additions & 2 deletions tests/Stub/NodeGrandParentInterface.php
Expand Up @@ -8,11 +8,11 @@

interface NodeGrandParentInterface
{
public function grandParentMethod1(): \ArrayObject;
public function grandParentMethod1(): ArrayObject;

public function grandParentMethod2(): ArrayObject;

public function grandParentMethod3(): Node;

public function grandParentMethod4(): \Yiisoft\Proxy\Tests\Stub\Node;
public function grandParentMethod4(): Node;
}

0 comments on commit 7b47b39

Please sign in to comment.