Skip to content

Commit

Permalink
Fix CS & new Psalm issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Feb 21, 2025
1 parent 77bd216 commit 961cdac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
<referencedClass name="Psalm\IssueBuffer"/>
</errorLevel>
</UndefinedClass>
<MissingOverrideAttribute errorLevel="suppress"/>
</issueHandlers>
</psalm>
3 changes: 2 additions & 1 deletion src/Hook/LoggerHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Psalm\Type\Atomic\TMixed;
use Psalm\Type\Union;
use Psr\Log\LoggerInterface;

use function array_diff;
use function array_filter;
use function array_keys;
Expand All @@ -32,7 +33,7 @@
use function is_a;
use function preg_match_all;

class LoggerHook implements AfterMethodCallAnalysisInterface
final class LoggerHook implements AfterMethodCallAnalysisInterface
{
/** @var list<string> */
private static $requiredKeys = [];
Expand Down
1 change: 1 addition & 0 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Psalm\Plugin\PluginEntryPointInterface;
use Psalm\Plugin\RegistrationInterface;
use SimpleXMLElement;

use function array_reduce;
use function class_exists;
use function is_array;
Expand Down
4 changes: 1 addition & 3 deletions tests/_support/Helper/Acceptance.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@
// here you can define custom actions
// all public methods declared in helper class will be available in $I

class Acceptance extends \Codeception\Module
{
}
class Acceptance extends \Codeception\Module {}

0 comments on commit 961cdac

Please sign in to comment.