mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
fix stub loading
This commit is contained in:
parent
71ae038df9
commit
de37a73aad
@ -104,6 +104,7 @@
|
||||
},
|
||||
"classmap": [
|
||||
"stubs/Annotations",
|
||||
"stubs/Nette",
|
||||
"rules-tests/Autodiscovery/Rector/Class_/MoveServicesBySuffixToDirectoryRector/Expected",
|
||||
"rules-tests/Autodiscovery/Rector/Interface_/MoveInterfacesToContractNamespaceDirectoryRector/Expected",
|
||||
"rules-tests/CodingStyle/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source",
|
||||
|
14
stubs/Nette/Application/UI/Control.php
Normal file
14
stubs/Nette/Application/UI/Control.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Nette\Application\UI;
|
||||
|
||||
if (class_exists('Nette\Application\UI\Control')) {
|
||||
return;
|
||||
}
|
||||
|
||||
class Control
|
||||
{
|
||||
|
||||
}
|
@ -8,6 +8,6 @@ if (class_exists('Nette\Application\UI\Form')) {
|
||||
return;
|
||||
}
|
||||
|
||||
final class Form
|
||||
class Form
|
||||
{
|
||||
}
|
||||
|
@ -8,6 +8,6 @@ if (class_exists('Nette\Application\UI\Presenter')) {
|
||||
return;
|
||||
}
|
||||
|
||||
final class Presenter
|
||||
class Presenter
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user