Skip to content

Commit

Permalink
clean up unused use
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 2, 2024
1 parent 6c895fe commit ff7b5ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/ReflectionEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Go\ParserReflection;

use Exception;
use Go\ParserReflection\Instrument\PathResolver;
use Go\ParserReflection\NodeVisitor\RootNamespaceNormalizer;
use InvalidArgumentException;
Expand Down
3 changes: 2 additions & 1 deletion tests/ReflectionParameterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testGeneralInfoGetters($fileName)
$allNameGetters = [
'isArray', 'isCallable', 'isOptional', 'isPassedByReference', 'isDefaultValueAvailable',
'getPosition', 'canBePassedByValue', 'allowsNull', 'getDefaultValue', 'getDefaultValueConstantName',
'isDefaultValueConstant', '__toString'
'isDefaultValueConstant', '__toString', 'getAttributes'
];
$onlyWithDefaultValues = array_flip([
'getDefaultValue', 'getDefaultValueConstantName', 'isDefaultValueConstant'
Expand Down Expand Up @@ -72,6 +72,7 @@ public static function fileProvider()
$files = ['PHP5.5' => [__DIR__ . '/Stub/FileWithParameters55.php']];
$files['PHP5.6'] = [__DIR__ . '/Stub/FileWithParameters56.php'];
$files['PHP7.0'] = [__DIR__ . '/Stub/FileWithParameters70.php'];
$files['PHP8.0'] = [__DIR__ . '/Stub/FileWithParameters80.php'];

return $files;
}
Expand Down

0 comments on commit ff7b5ed

Please sign in to comment.