mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-29 14:13:30 +00:00
remove nette packages from dev requirements and replace with 2 stub classes (#6372)
This commit is contained in:
parent
dde5458d5d
commit
71ae038df9
|
@ -69,9 +69,6 @@
|
|||
"webmozart/assert": "^1.10"
|
||||
},
|
||||
"require-dev": {
|
||||
"nette/application": "^3.0.7",
|
||||
"nette/di": "^3.0",
|
||||
"nette/forms": "^3.0",
|
||||
"phpstan/extension-installer": "^1.1",
|
||||
"phpstan/phpstan-nette": "^0.12.16",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
|
@ -118,7 +115,6 @@
|
|||
"files": [
|
||||
"stubs/Doctrine/Persistence/ObjectManager.php",
|
||||
"stubs/Doctrine/Common/Persistence/ObjectManager.php",
|
||||
"vendor/nette/forms/src/Forms/Controls/SubmitButton.php",
|
||||
"rules-tests/Transform/Rector/FuncCall/FuncCallToMethodCallRector/Source/some_view_function.php",
|
||||
"rules-tests/TypeDeclaration/Rector/FunctionLike/ReturnTypeDeclarationRector/Source/MyBar.php",
|
||||
"rules-tests/TypeDeclaration/Rector/Property/CompleteVarDocTypePropertyRector/Source/EventDispatcher.php"
|
||||
|
|
13
stubs/Nette/Application/UI/Form.php
Normal file
13
stubs/Nette/Application/UI/Form.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Nette\Application\UI;
|
||||
|
||||
if (class_exists('Nette\Application\UI\Form')) {
|
||||
return;
|
||||
}
|
||||
|
||||
final class Form
|
||||
{
|
||||
}
|
13
stubs/Nette/Application/UI/Presenter.php
Normal file
13
stubs/Nette/Application/UI/Presenter.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Nette\Application\UI;
|
||||
|
||||
if (class_exists('Nette\Application\UI\Presenter')) {
|
||||
return;
|
||||
}
|
||||
|
||||
final class Presenter
|
||||
{
|
||||
}
|
13
stubs/Nette/DI/CompilerExtension.php
Normal file
13
stubs/Nette/DI/CompilerExtension.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Nette\DI;
|
||||
|
||||
if (class_exists('Nette\DI\CompilerExtension')) {
|
||||
return;
|
||||
}
|
||||
|
||||
class CompilerExtension
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue
Block a user