Skip to content

Commit

Permalink
Update StyleCI config (#50)
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 ebb4259 commit 9033c36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .styleci.yml
@@ -1,20 +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

enabled:
- alpha_ordered_traits
Expand Down Expand Up @@ -64,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 @@ -86,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 src/Flash/Flash.php
Expand Up @@ -5,6 +5,7 @@
namespace Yiisoft\Session\Flash;

use Yiisoft\Session\SessionInterface;

use function is_array;

/**
Expand Down

0 comments on commit 9033c36

Please sign in to comment.