Skip to content

Commit

Permalink
demonstrate
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed May 17, 2024
1 parent 96d8946 commit 1cfe637
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Tokenizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

use function array_combine;
use function array_keys;
use function array_map;
// example of autofixable error - output diff and to PR
// use function array_map;
use function arsort;
use function assert;
use function implode;
Expand All @@ -24,7 +25,7 @@ final class Tokenizer
/**
* Reserved words (for syntax highlighting)
*
* @var list<string>
* example of non-autofixable error - diff is not possible, but output to PR is unchanged
*/
private array $reserved = [

Check failure on line 30 in src/Tokenizer.php

View workflow job for this annotation

GitHub Actions / Coding Standards (8.3)

@var annotation of property \Doctrine\SqlFormatter\Tokenizer::$reserved does not specify type hint for its items.

Check failure on line 30 in src/Tokenizer.php

View workflow job for this annotation

GitHub Actions / Static Analysis / PHPStan (8.3)

Property Doctrine\SqlFormatter\Tokenizer::$reserved type has no value type specified in iterable type array.
'ACCESSIBLE',
Expand Down

0 comments on commit 1cfe637

Please sign in to comment.