Skip to content

Commit c032ed5

Browse files
author
Yevhen Miroshnychenko
committed
MAGETWO-63216: [TD] Fix PHPDoc comments that was delivered in Sprint 4
1 parent cd37f24 commit c032ed5

File tree

6 files changed

+18
-8
lines changed

6 files changed

+18
-8
lines changed

app/code/Magento/Deploy/Model/Filesystem.php

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
namespace Magento\Deploy\Model;
77

88
use Symfony\Component\Console\Output\OutputInterface;
9+
use Magento\Framework\App\State;
10+
use Magento\Framework\App\DeploymentConfig\Writer;
911
use Magento\Framework\App\Filesystem\DirectoryList;
1012
use Magento\Framework\Exception\LocalizedException;
1113
use Magento\User\Model\ResourceModel\User\Collection as UserCollection;
@@ -26,8 +28,8 @@ class Filesystem
2628
* Access permissions to the files are set during deploy Magento 2, directly after
2729
* uploading code of Magento. Also it is possible to specify the value
2830
* of inverse mask for setting access permissions to files generated by Magento.
29-
* @see http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html.
30-
* @see http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html}.
31+
* @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
32+
* @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
3133
*/
3234
const PERMISSIONS_FILE = 0640;
3335

@@ -38,8 +40,8 @@ class Filesystem
3840
* Access permissions to the directories are set during deploy Magento 2, directly after
3941
* uploading code of Magento. Also it is possible to specify the value
4042
* of inverse mask for setting access permissions to directories generated by Magento.
41-
* @see http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html umask
42-
* @see http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html}
43+
* @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
44+
* @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
4345
*/
4446
const PERMISSIONS_DIR = 0750;
4547

@@ -308,8 +310,8 @@ public function cleanupFilesystem($directoryCodeList)
308310
* Access permissions to the files and directories are set during deploy Magento 2, directly after
309311
* uploading code of Magento. Also it is possible to specify the value
310312
* of inverse mask for setting access permissions to files and directories generated by Magento.
311-
* @see http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
312-
* @see http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html}
313+
* @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
314+
* @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
313315
*/
314316
protected function changePermissions($directoryCodeList, $dirPermissions, $filePermissions)
315317
{
@@ -332,8 +334,8 @@ protected function changePermissions($directoryCodeList, $dirPermissions, $fileP
332334
* Access permissions to the files and directories are set during deploy Magento 2, directly after
333335
* uploading code of Magento. Also it is possible to specify the value
334336
* of inverse mask for setting access permissions to files and directories generated by Magento.
335-
* @see http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
336-
* @see http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html}
337+
* @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
338+
* @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
337339
*/
338340
public function lockStaticResources()
339341
{

app/code/Magento/Wishlist/Test/Unit/Model/Rss/WishlistTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
namespace Magento\Wishlist\Test\Unit\Model\Rss;
1010

11+
use Magento\Directory\Helper\Data;
12+
1113
/**
1214
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1315
*/

dev/tests/functional/lib/Magento/Mtf/Util/Command/GeneratedCode.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Magento\Mtf\Util\Command;
77

88
use Magento\Mtf\Util\Protocol\CurlInterface;
9+
use Magento\Mtf\Util\Protocol\CurlTransport;
910

1011
/**
1112
* GeneratedCode removes generated code of Magento (like generated/code and generated/metadata).

dev/tests/functional/lib/Magento/Mtf/Util/Command/PathChecker.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace Magento\Mtf\Util\Command;
77

88
use Magento\Mtf\Util\Protocol\CurlInterface;
9+
use Magento\Mtf\Util\Protocol\CurlTransport;
910

1011
/**
1112
* PathChecker checks that path to file or directory exists.

dev/tests/functional/tests/app/Magento/Install/Test/TestCase/InstallTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Magento\Install\Test\Page\Install;
1010
use Magento\Install\Test\Page\DevdocsInstall;
1111
use Magento\Install\Test\Fixture\Install as InstallConfig;
12+
use Magento\User\Test\Fixture\User;
1213
use Magento\Mtf\Fixture\FixtureFactory;
1314
use Magento\Mtf\TestCase\Injectable;
1415
use Magento\Install\Test\Constraint\AssertAgreementTextPresent;

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Magento\Framework\App\DeploymentConfig\Reader;
1111
use Magento\Framework\App\Filesystem\DirectoryList;
1212
use Magento\Framework\App\MaintenanceMode;
13+
use Magento\Framework\App\ResourceConnection\Config;
1314
use Magento\Framework\Component\ComponentRegistrar;
1415
use Magento\Framework\Config\ConfigOptionsListConstants;
1516
use Magento\Framework\Config\Data\ConfigData;
@@ -18,6 +19,7 @@
1819
use Magento\Framework\Model\ResourceModel\Db\Context;
1920
use Magento\Framework\Module\ModuleList\Loader as ModuleLoader;
2021
use Magento\Framework\Module\ModuleListInterface;
22+
use Magento\Framework\Shell;
2123
use Magento\Framework\Setup\InstallSchemaInterface;
2224
use Magento\Framework\Setup\LoggerInterface;
2325
use Magento\Framework\Setup\UpgradeSchemaInterface;
@@ -31,6 +33,7 @@
3133
use Magento\Setup\Module\SetupFactory;
3234
use Magento\Store\Model\Store;
3335
use Magento\Setup\Module\ConnectionFactory;
36+
use Magento\Setup\Module\Setup;
3437
use Magento\Framework\Config\File\ConfigFilePool;
3538
use Magento\Framework\App\State\CleanupFiles;
3639
use Magento\Setup\Console\Command\InstallCommand;

0 commit comments

Comments
 (0)