Skip to content

Commit

Permalink
fix stub loading
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed May 6, 2021
1 parent 71ae038 commit de37a73
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 14 additions & 0 deletions stubs/Nette/Application/UI/Control.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

declare(strict_types=1);

namespace Nette\Application\UI;

if (class_exists('Nette\Application\UI\Control')) {
return;
}

class Control
{

}
2 changes: 1 addition & 1 deletion stubs/Nette/Application/UI/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
return;
}

final class Form
class Form
{
}
2 changes: 1 addition & 1 deletion stubs/Nette/Application/UI/Presenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
return;
}

final class Presenter
class Presenter
{
}

0 comments on commit de37a73

Please sign in to comment.