Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Smet committed Mar 16, 2024
1 parent b6a0737 commit 286650c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions psalm.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
JBZoo Toolbox - Codestyle.
JBZoo Toolbox - Csv-Blueprint.
This file is part of the JBZoo Toolbox project.
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
@license MIT
@copyright Copyright (C) JBZoo.com, All rights reserved.
@see https://github.com/JBZoo/Codestyle
@see https://github.com/JBZoo/Csv-Blueprint
-->
<psalm
errorLevel="1"
Expand All @@ -24,6 +24,10 @@
</projectFiles>

<issueHandlers>
<InvalidClassConstantType errorLevel="suppress"/>
<InvalidClassConstantType>
<errorLevel type="suppress">
<directory name="src/Rules"/>
</errorLevel>
</InvalidClassConstantType>
</issueHandlers>
</psalm>
1 change: 1 addition & 0 deletions src/Rules/Cell/ComboWordCount.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ protected function getExpected(): float|int|string

protected function getCurrent(string $cellValue): float|int|string
{
// @phan-suppress-next-line PhanPartialTypeMismatchReturn
return \str_word_count($cellValue, 0);
}
}

0 comments on commit 286650c

Please sign in to comment.