Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Analyser/MutatingScope.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
use function array_key_exists;
use function array_key_first;
use function array_keys;
use function array_last;
use function array_map;
use function array_merge;
use function array_pop;
Expand Down
1 change: 1 addition & 0 deletions src/Analyser/NodeScopeResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
use function array_key_exists;
use function array_key_last;
use function array_keys;
use function array_last;
use function array_map;
use function array_merge;
use function array_pop;
Expand Down
1 change: 1 addition & 0 deletions src/Analyser/TypeSpecifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
use PHPStan\Type\TypeTraverser;
use PHPStan\Type\UnionType;
use function array_key_exists;
use function array_last;
use function array_map;
use function array_merge;
use function array_reverse;
Expand Down
1 change: 1 addition & 0 deletions src/Fixable/PhpPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Override;
use PhpParser\Node;
use PhpParser\PrettyPrinter\Standard;
use function array_last;
use function count;
use function rtrim;

Expand Down
1 change: 1 addition & 0 deletions src/Parser/LastConditionVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
use PHPStan\DependencyInjection\AutowiredService;
use function array_last;
use function count;

#[AutowiredService]
Expand Down
1 change: 1 addition & 0 deletions src/Parser/TryCatchTypeVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use PhpParser\Node;
use PhpParser\NodeVisitorAbstract;
use PHPStan\DependencyInjection\AutowiredService;
use function array_last;
use function array_pop;
use function array_reverse;
use function count;
Expand Down
1 change: 1 addition & 0 deletions src/Parser/VariadicMethodsVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use PHPStan\DependencyInjection\AutowiredService;
use PHPStan\Reflection\ParametersAcceptor;
use function array_key_exists;
use function array_last;
use function array_pop;
use function in_array;
use function sprintf;
Expand Down
1 change: 1 addition & 0 deletions src/Reflection/AttributeReflectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use PHPStan\Reflection\ReflectionProvider\ReflectionProviderProvider;
use PHPStan\Type\TypeCombinator;
use function array_key_exists;
use function array_last;
use function count;
use function is_int;

Expand Down
1 change: 1 addition & 0 deletions src/Reflection/GenericParametersAcceptorResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use PHPStan\Type\Type;
use PHPStan\Type\TypeCombinator;
use function array_key_exists;
use function array_last;
use function array_map;
use function array_merge;
use function count;
Expand Down
1 change: 1 addition & 0 deletions src/Reflection/ParametersAcceptorSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
use function array_is_list;
use function array_key_exists;
use function array_key_last;
use function array_last;
use function array_map;
use function array_merge;
use function array_slice;
Expand Down
1 change: 1 addition & 0 deletions src/Rules/FunctionCallParametersCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
use PHPStan\Type\VerbosityLevel;
use function array_fill;
use function array_key_exists;
use function array_last;
use function count;
use function implode;
use function in_array;
Expand Down
1 change: 1 addition & 0 deletions src/Rules/Whitespace/FileWhitespaceRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use PHPStan\Node\FileNode;
use PHPStan\Rules\Rule;
use PHPStan\Rules\RuleErrorBuilder;
use function array_last;
use function count;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Type/FileTypeMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use PHPStan\Type\Generic\TemplateTypeVarianceMap;
use function array_key_exists;
use function array_keys;
use function array_last;
use function array_map;
use function array_merge;
use function array_pop;
Expand Down
Loading