- Move Reflection class from TypePhp to TypePhp\Resolver namespace - Rename ArgInfo.php to TypePhp\Entity\ArgInfo and update all references - Move AstNodeType.php to TypePhp\Parser\AstNodeType with namespace update - Update Symbol.php import paths to use TypePhp\Generator\Symbol - Move Constants.php to TypePhp\Metadata\Constants with namespace change - Rename FileScanner.php to TypePhp\Build\FileScanner with namespace update - Move MagicMethodDetector.php to TypePhp\Resolver\MagicMethodDetector - Rename PropertyHookLowering.php to TypePhp\Transform\PropertyHookLowering - Move Visitor.php to TypePhp\Transform\Visitor with namespace update - Update all test files to reflect new classpull/17/head
parent
50e1ea6129
commit
3372e4c59c
45 changed files with 50 additions and 48 deletions
@ -1,4 +1,4 @@ |
|||||||
<?php |
<?php |
||||||
require __DIR__ . '/bootstrap.php'; |
require __DIR__ . '/bootstrap.php'; |
||||||
$r = \TypePhp\Reflection::getFunctionParameter('array_push', 0); |
$r = \TypePhp\Resolver\Reflection::getFunctionParameter('array_push', 0); |
||||||
var_dump($r->isPassedByReference()); |
var_dump($r->isPassedByReference()); |
||||||
@ -1,6 +1,8 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
namespace TypePhp; |
namespace TypePhp\Parser; |
||||||
|
|
||||||
|
use TypePhp\Resolver\Reflection; |
||||||
|
|
||||||
use PhpParser\Node; |
use PhpParser\Node; |
||||||
use PhpParser\Node\Expr; |
use PhpParser\Node\Expr; |
||||||
Loading…
Reference in new issue