Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive authored Sep 5, 2024
1 parent aa207f5 commit 0ecfac5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
],
'self_accessor' => false,
'modernize_strpos' => false,
'nullable_type_declaration_for_default_null_value' => [
'use_nullable_type_declaration' => true,
],
'no_superfluous_phpdoc_tags' => [
'allow_mixed' => true,
],
Expand All @@ -33,6 +30,10 @@
'method' => 'multi',
'property' => 'multi',
],
'trailing_comma_in_multiline' => [
'after_heredoc' => false,
'elements' => ['arrays'],
],
])
->setRiskyAllowed(true)
->setFinder(
Expand Down
5 changes: 3 additions & 2 deletions src/Logger/DebugFileLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ public function __construct(string $filePath)
}

/**
* @param mixed $level
* @param mixed[] $context
* @param mixed $level
* @param string|\Stringable $message
* @param mixed[] $context
*/
public function log($level, $message, array $context = []): void
{
Expand Down
5 changes: 3 additions & 2 deletions src/Logger/DebugStdOutLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
class DebugStdOutLogger extends AbstractLogger
{
/**
* @param mixed $level
* @param mixed[] $context
* @param mixed $level
* @param string|\Stringable $message
* @param mixed[] $context
*/
public function log($level, $message, array $context = []): void
{
Expand Down

0 comments on commit 0ecfac5

Please sign in to comment.