Skip to content

Commit 430084d

Browse files
committed
MAGETWO-91034: Renaming of new setup commands and setup:install/setup…
- fix static
1 parent 4bae85e commit 430084d

File tree

6 files changed

+22
-19
lines changed

6 files changed

+22
-19
lines changed

app/code/Magento/Developer/Console/Command/GeneratePatchCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(ComponentRegistrar $componentRegistrar)
4848
}
4949

5050
/**
51-
* {@inheritdoc}
51+
* @inheritdoc
5252
* @throws InvalidArgumentException
5353
*/
5454
protected function configure()
@@ -96,7 +96,7 @@ private function getPatchTemplate() : string
9696
}
9797

9898
/**
99-
* {@inheritdoc}
99+
* @inheritdoc
100100
* @throws \InvalidArgumentException
101101
*/
102102
protected function execute(InputInterface $input, OutputInterface $output) : int

app/code/Magento/Developer/Console/Command/TablesWhitelistGenerateCommand.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
/**
2222
* Command that allows to generate whitelist, that will be used, when declaration data is installed.
23+
*
2324
* If whitelist already exists, new values will be added to existing whitelist.
2425
*/
2526
class TablesWhitelistGenerateCommand extends Command
@@ -148,8 +149,9 @@ protected function execute(InputInterface $input, OutputInterface $output) : int
148149
}
149150

150151
/**
151-
* As for whitelist we do not need any specific attributes like nullable or indexType,
152-
* we need to choose only names.
152+
* Filter attribute names
153+
*
154+
* As for whitelist we do not need any specific attributes like nullable or indexType, we need to choose only names.
153155
*
154156
* @param array $content
155157
* @return array

lib/internal/Magento/Framework/Setup/Declaration/Schema/Diff/DiffInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ public function getAll();
3636
/**
3737
* Register operation.
3838
*
39-
* @param ElementInterface|object $dtoObject
40-
* @param string $operation
41-
* @param ElementInterface $oldDtoObject
39+
* @param ElementInterface|object $dtoObject
40+
* @param string $operation
41+
* @param ElementInterface $oldDtoObject
4242
* @return void
4343
*/
4444
public function register(

setup/src/Magento/Setup/Console/Command/InstallCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function __construct(
130130
}
131131

132132
/**
133-
* {@inheritdoc}
133+
* @inheritdoc
134134
*/
135135
protected function configure()
136136
{
@@ -210,7 +210,7 @@ protected function configure()
210210
}
211211

212212
/**
213-
* {@inheritdoc}
213+
* @inheritdoc
214214
*/
215215
protected function execute(InputInterface $input, OutputInterface $output)
216216
{
@@ -225,7 +225,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
225225
}
226226

227227
/**
228-
* {@inheritdoc}
228+
* @inheritdoc
229229
*/
230230
protected function initialize(InputInterface $input, OutputInterface $output)
231231
{

setup/src/Magento/Setup/Console/Command/UpgradeCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ class UpgradeCommand extends AbstractSetupCommand
4747
private $appState;
4848

4949
/**
50-
* Constructor.
51-
*
5250
* @param InstallerFactory $installerFactory
5351
* @param DeploymentConfig $deploymentConfig
52+
* @param AppState|null $appState
5453
*/
5554
public function __construct(
5655
InstallerFactory $installerFactory,

setup/src/Magento/Setup/Model/Installer.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ class Installer
268268
* @param ComponentRegistrar $componentRegistrar
269269
* @param PhpReadinessCheck $phpReadinessCheck
270270
*
271-
* @param DeclarationInstaller|null $declarationInstaller
272271
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
273272
*/
274273
public function __construct(
@@ -410,7 +409,7 @@ private function writeInstallationDate()
410409
}
411410

412411
/**
413-
* Creates modules deployment configuration segment
412+
* Create modules deployment configuration segment
414413
*
415414
* @param \ArrayObject|array $request
416415
* @param bool $dryRun
@@ -904,9 +903,9 @@ private function throwExceptionForNotWritablePaths(array $paths)
904903
}
905904

906905
/**
907-
* Handles database schema and data (install/upgrade/backup/uninstall etc)
906+
* Handle database schema and data (install/upgrade/backup/uninstall etc)
908907
*
909-
* @param SchemaSetupInterface | ModuleDataSetupInterface $setup
908+
* @param SchemaSetupInterface|ModuleDataSetupInterface $setup
910909
* @param string $type
911910
* @param array $request
912911
* @return void
@@ -1027,6 +1026,8 @@ private function handleDBSchemaData($setup, $type, array $request)
10271026
}
10281027

10291028
/**
1029+
* Assert DbConfigExists
1030+
*
10301031
* @return void
10311032
* @throws \Magento\Setup\Exception
10321033
*/
@@ -1082,7 +1083,8 @@ public function installUserConfig($data)
10821083
}
10831084

10841085
/**
1085-
* Creates data handler
1086+
* Create data handler
1087+
*
10861088
* @param string $className
10871089
* @param string $interfaceName
10881090
* @return mixed|null
@@ -1101,7 +1103,7 @@ protected function createSchemaDataHandler($className, $interfaceName)
11011103
}
11021104

11031105
/**
1104-
* Creates store order increment prefix configuration
1106+
* Create store order increment prefix configuration
11051107
*
11061108
* @param string $orderIncrementPrefix Value to use for order increment prefix
11071109
* @return void
@@ -1145,7 +1147,7 @@ private function installOrderIncrementPrefix($orderIncrementPrefix)
11451147
}
11461148

11471149
/**
1148-
* Creates admin account
1150+
* Create admin account
11491151
*
11501152
* @param \ArrayObject|array $data
11511153
* @return void

0 commit comments

Comments
 (0)