update v 1.0.7.5
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Psy Shell
|
||||
* This file is part of Psy Shell.
|
||||
*
|
||||
* (c) 2012-2014 Justin Hileman
|
||||
* (c) 2012-2015 Justin Hileman
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
@@ -33,7 +33,7 @@ class UseStatementPassTest extends CodeCleanerTestCase
|
||||
return array(
|
||||
array(
|
||||
"use StdClass as NotSoStd;\n\$std = new NotSoStd();",
|
||||
"\$std = new \\StdClass();",
|
||||
'$std = new \\StdClass();',
|
||||
),
|
||||
array(
|
||||
"namespace Foo;\n\nuse StdClass as S;\n\$std = new S();",
|
||||
@@ -45,7 +45,7 @@ class UseStatementPassTest extends CodeCleanerTestCase
|
||||
),
|
||||
array(
|
||||
"use Foo\\Bar as fb;\n\$baz = new fb\\Baz();",
|
||||
"\$baz = new \\Foo\\Bar\\Baz();",
|
||||
'$baz = new \\Foo\\Bar\\Baz();',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user