Skip to content

Commit

Permalink
Use codesniffer with php 8.1 codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
radimvaculik authored and f3l1x committed May 6, 2024
1 parent 2b13ed8 commit 1c95147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<ruleset>
<!-- Contributte Coding Standard -->
<rule ref="./vendor/contributte/qa/ruleset-8.0.xml">
<rule ref="./vendor/contributte/qa/ruleset-8.1.xml">
<exclude name="Squiz.PHP.Heredoc.NotAllowed"/>
<exclude name="Squiz.Commenting.FunctionComment.InvalidTypeHint"/>
<exclude name="SlevomatCodingStandard.ControlStructures.EarlyExit.EarlyExitNotUsed"/>
Expand Down
3 changes: 1 addition & 2 deletions src/DataSource/DoctrineCollectionDataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ final class DoctrineCollectionDataSource extends FilterableDataSource implements
IAggregatable
{

/** @var Collection&Selectable */
protected $dataSource;
protected Selectable&Collection $dataSource;

protected Criteria $criteria;

Expand Down

0 comments on commit 1c95147

Please sign in to comment.