mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
add namespace to tests (more likely use case)
This commit is contained in:
parent
0b4a4cbea8
commit
ff91d0f556
@ -1,12 +1,13 @@
|
||||
<?php declare (strict_types=1);
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
class SomeClass
|
||||
namespace SomeNamespace;
|
||||
|
||||
use Nette\Object;
|
||||
|
||||
class SomeClass extends Object
|
||||
{
|
||||
use \Nette\SmartObject;
|
||||
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,10 +1,12 @@
|
||||
<?php declare (strict_types=1);
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace SomeNamespace;
|
||||
|
||||
use Nette\Object;
|
||||
|
||||
/**
|
||||
* @method getValue()
|
||||
*/
|
||||
class SomeClass
|
||||
class SomeClass extends Object
|
||||
{
|
||||
use \Nette\SmartObject;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user