From 4e18e78941ceba4887ca6f44a905f25e71b41d1b Mon Sep 17 00:00:00 2001
From: Ravi Chandra
Date: Sat, 8 Dec 2018 15:44:36 +0530
Subject: [PATCH 1/2] correct devdocs url from http to https
---
.github/CONTRIBUTING.md | 4 ++--
CHANGELOG.md | 4 ++--
app/code/Magento/Analytics/README.md | 6 +++---
app/code/Magento/CatalogAnalytics/README.md | 2 +-
.../Customer/Api/CustomerRepositoryInterface.php | 2 +-
.../Customer/Api/GroupRepositoryInterface.php | 2 +-
app/code/Magento/CustomerAnalytics/README.md | 2 +-
app/code/Magento/Deploy/Model/Filesystem.php | 16 ++++++++--------
.../Eav/Api/AttributeSetRepositoryInterface.php | 2 +-
.../Magento/Indexer/Model/Message/Invalid.php | 2 +-
app/code/Magento/InstantPurchase/README.md | 6 +++---
.../Payment/Model/Method/AbstractMethod.php | 2 +-
.../Quote/Api/CartRepositoryInterface.php | 2 +-
.../GuestPaymentMethodManagementInterface.php | 2 +-
.../Api/PaymentMethodManagementInterface.php | 2 +-
app/code/Magento/QuoteAnalytics/README.md | 2 +-
app/code/Magento/ReleaseNotification/README.md | 2 +-
.../Magento/ReleaseNotification/i18n/en_US.csv | 4 ++--
.../ui_component/release_notification.xml | 8 ++++----
app/code/Magento/ReviewAnalytics/README.md | 2 +-
.../Sales/Api/CreditmemoRepositoryInterface.php | 2 +-
.../Sales/Api/InvoiceRepositoryInterface.php | 2 +-
.../Sales/Api/OrderItemRepositoryInterface.php | 2 +-
.../Sales/Api/OrderRepositoryInterface.php | 2 +-
.../Sales/Api/ShipmentRepositoryInterface.php | 2 +-
.../Sales/Api/TransactionRepositoryInterface.php | 2 +-
app/code/Magento/SalesAnalytics/README.md | 2 +-
.../SalesRule/Api/CouponRepositoryInterface.php | 2 +-
.../SalesRule/Api/RuleRepositoryInterface.php | 2 +-
app/code/Magento/SampleData/README.md | 2 +-
app/code/Magento/Signifyd/README.md | 8 ++++----
.../Tax/Api/TaxClassRepositoryInterface.php | 2 +-
.../Tax/Api/TaxRateRepositoryInterface.php | 2 +-
.../Tax/Api/TaxRuleRepositoryInterface.php | 2 +-
app/code/Magento/WishlistAnalytics/README.md | 2 +-
.../Magento/Install/Test/Page/DevdocsInstall.xml | 2 +-
.../Magento/Sniffs/Less/AvoidIdSniff.php | 2 +-
.../Sniffs/Less/BracesFormattingSniff.php | 2 +-
.../Magento/Sniffs/Less/ClassNamingSniff.php | 2 +-
.../Magento/Sniffs/Less/ColonSpacingSniff.php | 2 +-
.../Sniffs/Less/ColourDefinitionSniff.php | 2 +-
.../Sniffs/Less/CombinatorIndentationSniff.php | 2 +-
.../Magento/Sniffs/Less/CommentLevelsSniff.php | 2 +-
.../Sniffs/Less/ImportantPropertySniff.php | 2 +-
.../Magento/Sniffs/Less/IndentationSniff.php | 2 +-
.../Sniffs/Less/PropertiesLineBreakSniff.php | 2 +-
.../Sniffs/Less/PropertiesSortingSniff.php | 2 +-
.../Magento/Sniffs/Less/QuotesSniff.php | 2 +-
.../Sniffs/Less/SelectorDelimiterSniff.php | 2 +-
.../Sniffs/Less/SemicolonSpacingSniff.php | 2 +-
.../Less/TypeSelectorConcatenationSniff.php | 2 +-
.../Magento/Sniffs/Less/TypeSelectorsSniff.php | 2 +-
.../Magento/Sniffs/Less/VariablesSniff.php | 4 ++--
.../Magento/Sniffs/Less/ZeroUnitsSniff.php | 4 ++--
phpserver/README.md | 2 +-
setup/performance-toolkit/README.md | 2 +-
.../Setup/Controller/LandingInstaller.php | 2 +-
.../Magento/Setup/Controller/LandingUpdater.php | 2 +-
setup/src/Magento/Setup/Model/SystemPackage.php | 2 +-
setup/view/magento/setup/landing.phtml | 2 +-
.../magento/setup/readiness-check/progress.phtml | 16 ++++++++--------
setup/view/magento/setup/start-updater.phtml | 2 +-
62 files changed, 91 insertions(+), 91 deletions(-)
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index dae954a0970b7..92a51eb84a4ab 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -16,7 +16,7 @@ The Magento 2 development team will review all issues and contributions submitte
4. PRs which include bug fixes must be accompanied with a step-by-step description of how to reproduce the bug.
3. PRs which include new logic or new features must be submitted along with:
* Unit/integration test coverage
-* Proposed [documentation](http://devdocs.magento.com) updates. Documentation contributions can be submitted via the [devdocs GitHub](https://github.com/magento/devdocs).
+* Proposed [documentation](https://devdocs.magento.com) updates. Documentation contributions can be submitted via the [devdocs GitHub](https://github.com/magento/devdocs).
4. For larger features or changes, please [open an issue](https://github.com/magento/magento2/issues) to discuss the proposed changes prior to development. This may prevent duplicate or unnecessary effort and allow other contributors to provide input.
5. All automated tests must pass (all builds on [Travis CI](https://travis-ci.org/magento/magento2) must be green).
@@ -27,7 +27,7 @@ If you are a new GitHub user, we recommend that you create your own [free github
1. Search current [listed issues](https://github.com/magento/magento2/issues) (open or closed) for similar proposals of intended contribution before starting work on a new contribution.
2. Review the [Contributor License Agreement](https://magento.com/legaldocuments/mca) if this is your first time contributing.
3. Create and test your work.
-4. Fork the Magento 2 repository according to the [Fork A Repository instructions](http://devdocs.magento.com/guides/v2.2/contributor-guide/contributing.html#fork) and when you are ready to send us a pull request – follow the [Create A Pull Request instructions](http://devdocs.magento.com/guides/v2.2/contributor-guide/contributing.html#pull_request).
+4. Fork the Magento 2 repository according to the [Fork A Repository instructions](https://devdocs.magento.com/guides/v2.2/contributor-guide/contributing.html#fork) and when you are ready to send us a pull request – follow the [Create A Pull Request instructions](https://devdocs.magento.com/guides/v2.2/contributor-guide/contributing.html#pull_request).
5. Once your contribution is received the Magento 2 development team will review the contribution and collaborate with you as needed.
## Code of Conduct
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b86c7b79a0cbd..322cd10d0ff08 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@ To get detailed information about changes in Magento 2.3.0, see the [Release Not
2.1.0
=============
-To get detailed information about changes in Magento 2.1.0, please visit [Magento Community Edition (CE) Release Notes](http://devdocs.magento.com/guides/v2.1/release-notes/ReleaseNotes2.1.0CE.html "Magento Community Edition (CE) Release Notes")
+To get detailed information about changes in Magento 2.1.0, please visit [Magento Community Edition (CE) Release Notes](https://devdocs.magento.com/guides/v2.1/release-notes/ReleaseNotes2.1.0CE.html "Magento Community Edition (CE) Release Notes")
2.0.0
=============
@@ -1025,7 +1025,7 @@ Tests:
* Improved backend menu keyboard accessibility
* Accessibility improvements: WAI-ARIA in a product item on a category page and related products
* Checkout flow code can work with a separate DB storage
- * Unit tests moved to module directories
+ * Unit tests moved to module directories
* Addressed naming inconsistencies in REST routes
* Added Advanced Developer workflow for frontend developers
* Setup
diff --git a/app/code/Magento/Analytics/README.md b/app/code/Magento/Analytics/README.md
index 7ec64abcd9b86..f600f1d406e4c 100644
--- a/app/code/Magento/Analytics/README.md
+++ b/app/code/Magento/Analytics/README.md
@@ -1,6 +1,6 @@
# Magento_Analytics Module
-The Magento_Analytics module integrates your Magento instance with the [Magento Business Intelligence (MBI)](https://magento.com/products/business-intelligence) to use [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html) functionality.
+The Magento_Analytics module integrates your Magento instance with the [Magento Business Intelligence (MBI)](https://magento.com/products/business-intelligence) to use [Advanced Reporting](https://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html) functionality.
The module implements the following functionality:
@@ -16,8 +16,8 @@ The module implements the following functionality:
## Structure
-Beyond the [usual module file structure](http://devdocs.magento.com/guides/v2.2/architecture/archi_perspectives/components/modules/mod_intro.html) the module contains a directory `ReportXml`.
-[Report XML](http://devdocs.magento.com/guides/v2.2/advanced-reporting/report-xml.html) is a markup language used to build reports for Advanced Reporting.
+Beyond the [usual module file structure](https://devdocs.magento.com/guides/v2.2/architecture/archi_perspectives/components/modules/mod_intro.html) the module contains a directory `ReportXml`.
+[Report XML](https://devdocs.magento.com/guides/v2.2/advanced-reporting/report-xml.html) is a markup language used to build reports for Advanced Reporting.
The language declares SQL queries using XML declaration.
## Subscription Process
diff --git a/app/code/Magento/CatalogAnalytics/README.md b/app/code/Magento/CatalogAnalytics/README.md
index df125446117a3..f93b223c342d7 100644
--- a/app/code/Magento/CatalogAnalytics/README.md
+++ b/app/code/Magento/CatalogAnalytics/README.md
@@ -1,3 +1,3 @@
# Magento_CatalogAnalytics module
-The Magento_CatalogAnalytics module configures data definitions for a data collection related to the Catalog module entities to be used in [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
+The Magento_CatalogAnalytics module configures data definitions for a data collection related to the Catalog module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
diff --git a/app/code/Magento/Customer/Api/CustomerRepositoryInterface.php b/app/code/Magento/Customer/Api/CustomerRepositoryInterface.php
index 2133ae5a323b4..ca9bf4dc7afd6 100644
--- a/app/code/Magento/Customer/Api/CustomerRepositoryInterface.php
+++ b/app/code/Magento/Customer/Api/CustomerRepositoryInterface.php
@@ -51,7 +51,7 @@ public function getById($customerId);
* Retrieve customers which match a specified criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#CustomerRepositoryInterface to determine
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#CustomerRepositoryInterface to determine
* which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
diff --git a/app/code/Magento/Customer/Api/GroupRepositoryInterface.php b/app/code/Magento/Customer/Api/GroupRepositoryInterface.php
index 2f5e637a7693f..f6ba387e913b2 100644
--- a/app/code/Magento/Customer/Api/GroupRepositoryInterface.php
+++ b/app/code/Magento/Customer/Api/GroupRepositoryInterface.php
@@ -42,7 +42,7 @@ public function getById($id);
* be filtered by tax class.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#GroupRepositoryInterface to determine
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#GroupRepositoryInterface to determine
* which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
diff --git a/app/code/Magento/CustomerAnalytics/README.md b/app/code/Magento/CustomerAnalytics/README.md
index 8c64ce97629da..9658a8e7d90ed 100644
--- a/app/code/Magento/CustomerAnalytics/README.md
+++ b/app/code/Magento/CustomerAnalytics/README.md
@@ -1,3 +1,3 @@
# Magento_CustomerAnalytics module
-The Magento_CustomerAnalytics module configures data definitions for a data collection related to the Customer module entities to be used in [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
+The Magento_CustomerAnalytics module configures data definitions for a data collection related to the Customer module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
diff --git a/app/code/Magento/Deploy/Model/Filesystem.php b/app/code/Magento/Deploy/Model/Filesystem.php
index 59880d2d669b4..e7d4d31e6f144 100644
--- a/app/code/Magento/Deploy/Model/Filesystem.php
+++ b/app/code/Magento/Deploy/Model/Filesystem.php
@@ -29,8 +29,8 @@ class Filesystem
* Access permissions to the files are set during deploy Magento 2, directly after
* uploading code of Magento. Also it is possible to specify the value
* of inverse mask for setting access permissions to files generated by Magento.
- * @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
- * @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
+ * @link https://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
+ * @link https://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
*/
const PERMISSIONS_FILE = 0640;
@@ -41,8 +41,8 @@ class Filesystem
* Access permissions to the directories are set during deploy Magento 2, directly after
* uploading code of Magento. Also it is possible to specify the value
* of inverse mask for setting access permissions to directories generated by Magento.
- * @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
- * @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
+ * @link https://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
+ * @link https://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
*/
const PERMISSIONS_DIR = 0750;
@@ -320,8 +320,8 @@ public function cleanupFilesystem($directoryCodeList)
* Access permissions to the files and directories are set during deploy Magento 2, directly after
* uploading code of Magento. Also it is possible to specify the value
* of inverse mask for setting access permissions to files and directories generated by Magento.
- * @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
- * @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
+ * @link https://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
+ * @link https://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
*/
protected function changePermissions($directoryCodeList, $dirPermissions, $filePermissions)
{
@@ -345,8 +345,8 @@ protected function changePermissions($directoryCodeList, $dirPermissions, $fileP
* Access permissions to the files and directories are set during deploy Magento 2, directly after
* uploading code of Magento. Also it is possible to specify the value
* of inverse mask for setting access permissions to files and directories generated by Magento.
- * @link http://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
- * @link http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
+ * @link https://devdocs.magento.com/guides/v2.0/install-gde/install/post-install-umask.html
+ * @link https://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html
*/
public function lockStaticResources()
{
diff --git a/app/code/Magento/Eav/Api/AttributeSetRepositoryInterface.php b/app/code/Magento/Eav/Api/AttributeSetRepositoryInterface.php
index 8bd65ba85abef..be4b5a3fa0fe5 100644
--- a/app/code/Magento/Eav/Api/AttributeSetRepositoryInterface.php
+++ b/app/code/Magento/Eav/Api/AttributeSetRepositoryInterface.php
@@ -17,7 +17,7 @@ interface AttributeSetRepositoryInterface
* Retrieve list of Attribute Sets
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#AttributeSetRepositoryInterface to determine
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#AttributeSetRepositoryInterface to determine
* which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
diff --git a/app/code/Magento/Indexer/Model/Message/Invalid.php b/app/code/Magento/Indexer/Model/Message/Invalid.php
index 5a3f879b0ad80..8daef14297c64 100644
--- a/app/code/Magento/Indexer/Model/Message/Invalid.php
+++ b/app/code/Magento/Indexer/Model/Message/Invalid.php
@@ -71,7 +71,7 @@ public function getText()
return __(
'One or more indexers are invalid. Make sure your Magento cron job is running.',
$url,
- 'http://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-cron.html#create-or-remove-the-magento-crontab'
+ 'https://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-cron.html#create-or-remove-the-magento-crontab'
);
//@codingStandardsIgnoreEnd
}
diff --git a/app/code/Magento/InstantPurchase/README.md b/app/code/Magento/InstantPurchase/README.md
index 534696bf353fc..9b618eaca997d 100644
--- a/app/code/Magento/InstantPurchase/README.md
+++ b/app/code/Magento/InstantPurchase/README.md
@@ -10,7 +10,7 @@ Prerequisites to display the Instant Purchase button:
## Structure
-In addition to [a typical file structure for a Magento 2 module](http://devdocs.magento.com/guides/v2.2/extension-dev-guide/build/module-file-structure.html) `PaymentMethodsIntegration` directory contains interfaces and basic implementation of integration vault payment method to the instant purchase.
+In addition to [a typical file structure for a Magento 2 module](https://devdocs.magento.com/guides/v2.2/extension-dev-guide/build/module-file-structure.html) `PaymentMethodsIntegration` directory contains interfaces and basic implementation of integration vault payment method to the instant purchase.
## Extensibility
@@ -22,7 +22,7 @@ All payments created for instant purchase also have `'instant-purchase' => true`
### Payment method integration
-Instant purchase support may be implemented for any payment method with [vault support](http://devdocs.magento.com/guides/v2.1/payments-integrations/vault/vault-intro.html).
+Instant purchase support may be implemented for any payment method with [vault support](https://devdocs.magento.com/guides/v2.1/payments-integrations/vault/vault-intro.html).
Basic implementation provided in `Magento\InstantPurchase\PaymentMethodIntegration` should be enough in most cases. It is not enabled by default to avoid issues on production sites and authors of vault payment method should verify correct work for instant purchase manually.
To enable basic implementation just add single option to configuration of payemnt method in `config.xml`:
@@ -52,7 +52,7 @@ Basic implementation is a good start point but it's recommended to provide own i
The `Magento_InstantPurchase` module does not introduce backward incompatible changes.
-You can track [backward incompatible changes in patch releases](http://devdocs.magento.com/guides/v2.2/release-notes/changes/ce_changes.html).
+You can track [backward incompatible changes in patch releases](https://devdocs.magento.com/guides/v2.2/release-notes/changes/ce_changes.html).
***
diff --git a/app/code/Magento/Payment/Model/Method/AbstractMethod.php b/app/code/Magento/Payment/Model/Method/AbstractMethod.php
index 33200014c7ec1..c01a93db538df 100644
--- a/app/code/Magento/Payment/Model/Method/AbstractMethod.php
+++ b/app/code/Magento/Payment/Model/Method/AbstractMethod.php
@@ -24,7 +24,7 @@
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @deprecated 100.0.6
* @see \Magento\Payment\Model\Method\Adapter
- * @see http://devdocs.magento.com/guides/v2.1/payments-integrations/payment-gateway/payment-gateway-intro.html
+ * @see https://devdocs.magento.com/guides/v2.1/payments-integrations/payment-gateway/payment-gateway-intro.html
* @since 100.0.2
*/
abstract class AbstractMethod extends \Magento\Framework\Model\AbstractExtensibleModel implements
diff --git a/app/code/Magento/Quote/Api/CartRepositoryInterface.php b/app/code/Magento/Quote/Api/CartRepositoryInterface.php
index f507c1e83f10f..c8e874e0fcc21 100644
--- a/app/code/Magento/Quote/Api/CartRepositoryInterface.php
+++ b/app/code/Magento/Quote/Api/CartRepositoryInterface.php
@@ -25,7 +25,7 @@ public function get($cartId);
* Enables administrative users to list carts that match specified search criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#CartRepositoryInterface to determine
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#CartRepositoryInterface to determine
* which call to use to get detailed information about all attributes for an object.
*
*
diff --git a/app/code/Magento/Quote/Api/GuestPaymentMethodManagementInterface.php b/app/code/Magento/Quote/Api/GuestPaymentMethodManagementInterface.php
index a9d1772684ba6..f1ee8bd83fe93 100644
--- a/app/code/Magento/Quote/Api/GuestPaymentMethodManagementInterface.php
+++ b/app/code/Magento/Quote/Api/GuestPaymentMethodManagementInterface.php
@@ -37,7 +37,7 @@ public function get($cartId);
* List available payment methods for a specified shopping cart.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#GuestPaymentMethodManagementInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#GuestPaymentMethodManagementInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param string $cartId The cart ID.
diff --git a/app/code/Magento/Quote/Api/PaymentMethodManagementInterface.php b/app/code/Magento/Quote/Api/PaymentMethodManagementInterface.php
index 50fac772ed3d9..b00a6617beaeb 100644
--- a/app/code/Magento/Quote/Api/PaymentMethodManagementInterface.php
+++ b/app/code/Magento/Quote/Api/PaymentMethodManagementInterface.php
@@ -37,7 +37,7 @@ public function get($cartId);
* Lists available payment methods for a specified shopping cart.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#PaymentMethodManagementInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#PaymentMethodManagementInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param int $cartId The cart ID.
diff --git a/app/code/Magento/QuoteAnalytics/README.md b/app/code/Magento/QuoteAnalytics/README.md
index d4adcc9313229..c5a3857c7af3d 100644
--- a/app/code/Magento/QuoteAnalytics/README.md
+++ b/app/code/Magento/QuoteAnalytics/README.md
@@ -1,3 +1,3 @@
# Magento_QuoteAnalytics
-The Magento_QuoteAnalytics module configures data definitions for a data collection related to the Quote module entities to be used in [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
+The Magento_QuoteAnalytics module configures data definitions for a data collection related to the Quote module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
diff --git a/app/code/Magento/ReleaseNotification/README.md b/app/code/Magento/ReleaseNotification/README.md
index df3206a176f09..1f6cac764b565 100644
--- a/app/code/Magento/ReleaseNotification/README.md
+++ b/app/code/Magento/ReleaseNotification/README.md
@@ -50,4 +50,4 @@ A clickable link to internal or external content in any text field will be creat
### Link Format Example:
-The text: `http://devdocs.magento.com/ [Magento DevDocs].` will appear as [Magento DevDocs](http://devdocs.magento.com/).
+The text: `https://devdocs.magento.com/ [Magento DevDocs].` will appear as [Magento DevDocs](https://devdocs.magento.com/).
diff --git a/app/code/Magento/ReleaseNotification/i18n/en_US.csv b/app/code/Magento/ReleaseNotification/i18n/en_US.csv
index 426cdc0e863d2..178482dc7a980 100644
--- a/app/code/Magento/ReleaseNotification/i18n/en_US.csv
+++ b/app/code/Magento/ReleaseNotification/i18n/en_US.csv
@@ -5,11 +5,11 @@
"We’ll try to show it again the next time you sign in to Magento Admin.
To learn more about new features, see our latest Release Notes in
- DevDocs' Release Information.
]]>","We’ll try to show it again the next time you sign in to Magento Admin.
To learn more about new features, see our latest Release Notes in
- DevDocs' Release Information.
]]>"
diff --git a/app/code/Magento/ReleaseNotification/view/adminhtml/ui_component/release_notification.xml b/app/code/Magento/ReleaseNotification/view/adminhtml/ui_component/release_notification.xml
index 3134b2a8af21e..9c6d152bed27b 100644
--- a/app/code/Magento/ReleaseNotification/view/adminhtml/ui_component/release_notification.xml
+++ b/app/code/Magento/ReleaseNotification/view/adminhtml/ui_component/release_notification.xml
@@ -67,7 +67,7 @@
- We’ll try to show it again the next time you sign in to Magento Admin.
To learn more about new features, see our latest Release Notes in
- DevDocs' Release Information.
]]>
@@ -127,7 +127,7 @@
- We’ll try to show it again the next time you sign in to Magento Admin.
To learn more about new features, see our latest Release Notes in
- DevDocs' Release Information.
]]>
@@ -208,7 +208,7 @@
- We’ll try to show it again the next time you sign in to Magento Admin.
To learn more about new features, see our latest Release Notes in
- DevDocs' Release Information.
]]>
@@ -289,7 +289,7 @@
- We’ll try to show it again the next time you sign in to Magento Admin.
To learn more about new features, see our latest Release Notes in
- DevDocs' Release Information.
]]>
diff --git a/app/code/Magento/ReviewAnalytics/README.md b/app/code/Magento/ReviewAnalytics/README.md
index b078083dfb7dc..a8894f99ed071 100644
--- a/app/code/Magento/ReviewAnalytics/README.md
+++ b/app/code/Magento/ReviewAnalytics/README.md
@@ -1,3 +1,3 @@
# Magento_ReviewAnalytics module
-The Magento_ReviewAnalytics module configures data definitions for a data collection related to the Review module entities to be used in [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
+The Magento_ReviewAnalytics module configures data definitions for a data collection related to the Review module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
diff --git a/app/code/Magento/Sales/Api/CreditmemoRepositoryInterface.php b/app/code/Magento/Sales/Api/CreditmemoRepositoryInterface.php
index 354b55eb25955..3c61384d8b84f 100644
--- a/app/code/Magento/Sales/Api/CreditmemoRepositoryInterface.php
+++ b/app/code/Magento/Sales/Api/CreditmemoRepositoryInterface.php
@@ -20,7 +20,7 @@ interface CreditmemoRepositoryInterface
* Lists credit memos that match specified search criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#CreditmemoRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#CreditmemoRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria The search criteria.
diff --git a/app/code/Magento/Sales/Api/InvoiceRepositoryInterface.php b/app/code/Magento/Sales/Api/InvoiceRepositoryInterface.php
index 9d4f11ed0f035..161b8405f11e4 100644
--- a/app/code/Magento/Sales/Api/InvoiceRepositoryInterface.php
+++ b/app/code/Magento/Sales/Api/InvoiceRepositoryInterface.php
@@ -18,7 +18,7 @@ interface InvoiceRepositoryInterface
* Lists invoices that match specified search criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#InvoiceRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#InvoiceRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria The search criteria.
diff --git a/app/code/Magento/Sales/Api/OrderItemRepositoryInterface.php b/app/code/Magento/Sales/Api/OrderItemRepositoryInterface.php
index e731f6f0e980c..3449d0054b7e4 100644
--- a/app/code/Magento/Sales/Api/OrderItemRepositoryInterface.php
+++ b/app/code/Magento/Sales/Api/OrderItemRepositoryInterface.php
@@ -20,7 +20,7 @@ interface OrderItemRepositoryInterface
* Lists order items that match specified search criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#OrderItemRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#OrderItemRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria The search criteria.
diff --git a/app/code/Magento/Sales/Api/OrderRepositoryInterface.php b/app/code/Magento/Sales/Api/OrderRepositoryInterface.php
index a25f463ac8618..0c3b6ab5cb02b 100644
--- a/app/code/Magento/Sales/Api/OrderRepositoryInterface.php
+++ b/app/code/Magento/Sales/Api/OrderRepositoryInterface.php
@@ -20,7 +20,7 @@ interface OrderRepositoryInterface
* Lists orders that match specified search criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#OrderRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#OrderRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria The search criteria.
diff --git a/app/code/Magento/Sales/Api/ShipmentRepositoryInterface.php b/app/code/Magento/Sales/Api/ShipmentRepositoryInterface.php
index bfdf17440ebd3..3b3c8221596a1 100644
--- a/app/code/Magento/Sales/Api/ShipmentRepositoryInterface.php
+++ b/app/code/Magento/Sales/Api/ShipmentRepositoryInterface.php
@@ -19,7 +19,7 @@ interface ShipmentRepositoryInterface
* Lists shipments that match specified search criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#ShipmentRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#ShipmentRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria The search criteria.
diff --git a/app/code/Magento/Sales/Api/TransactionRepositoryInterface.php b/app/code/Magento/Sales/Api/TransactionRepositoryInterface.php
index de459662a8321..e55b5d60d1f6c 100644
--- a/app/code/Magento/Sales/Api/TransactionRepositoryInterface.php
+++ b/app/code/Magento/Sales/Api/TransactionRepositoryInterface.php
@@ -18,7 +18,7 @@ interface TransactionRepositoryInterface
* Lists transactions that match specified search criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#TransactionRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#TransactionRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria The search criteria.
diff --git a/app/code/Magento/SalesAnalytics/README.md b/app/code/Magento/SalesAnalytics/README.md
index 70f456c97d4b3..0b1f804b278fe 100644
--- a/app/code/Magento/SalesAnalytics/README.md
+++ b/app/code/Magento/SalesAnalytics/README.md
@@ -1,3 +1,3 @@
# Magento_SalesAnalytics module
-The Magento_SalesAnalytics module configures data definitions for a data collection related to the Sales module entities to be used in [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
+The Magento_SalesAnalytics module configures data definitions for a data collection related to the Sales module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
diff --git a/app/code/Magento/SalesRule/Api/CouponRepositoryInterface.php b/app/code/Magento/SalesRule/Api/CouponRepositoryInterface.php
index d4cce37fd15fd..1a631886f1a9b 100644
--- a/app/code/Magento/SalesRule/Api/CouponRepositoryInterface.php
+++ b/app/code/Magento/SalesRule/Api/CouponRepositoryInterface.php
@@ -38,7 +38,7 @@ public function getById($couponId);
* Retrieve a coupon using the specified search criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#CouponRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#CouponRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
diff --git a/app/code/Magento/SalesRule/Api/RuleRepositoryInterface.php b/app/code/Magento/SalesRule/Api/RuleRepositoryInterface.php
index d0d275de63a00..963edf5483e43 100644
--- a/app/code/Magento/SalesRule/Api/RuleRepositoryInterface.php
+++ b/app/code/Magento/SalesRule/Api/RuleRepositoryInterface.php
@@ -38,7 +38,7 @@ public function getById($ruleId);
* Retrieve sales rules that match te specified criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#RuleRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#RuleRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
diff --git a/app/code/Magento/SampleData/README.md b/app/code/Magento/SampleData/README.md
index 5abcbaab1481f..1077038fc074d 100644
--- a/app/code/Magento/SampleData/README.md
+++ b/app/code/Magento/SampleData/README.md
@@ -69,4 +69,4 @@ If you have deleted certain entities provided by sample data and want to restore
The deleted sample data entities will be restored. Those entities, which were changed, will preserve these changes and will not be restored to the default view.
## Documentation
-You can find the more detailed description of sample data manipulation procedures at [http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-sample-data.html](http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-sample-data.html)
+You can find the more detailed description of sample data manipulation procedures at [https://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-sample-data.html](https://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-sample-data.html)
diff --git a/app/code/Magento/Signifyd/README.md b/app/code/Magento/Signifyd/README.md
index 9479972cb21b6..753ace3128d22 100644
--- a/app/code/Magento/Signifyd/README.md
+++ b/app/code/Magento/Signifyd/README.md
@@ -47,7 +47,7 @@ The following interfaces (marked with the `@api` annotation) provide methods tha
- might be used by `Magento\Signifyd\Api\CaseRepositoryInterface` to retrieve a list of case entities by specific conditions
-For information about a public API in Magento 2, see [Public interfaces & APIs](http://devdocs.magento.com/guides/v2.1/extension-dev-guide/api-concepts.html).
+For information about a public API in Magento 2, see [Public interfaces & APIs](https://devdocs.magento.com/guides/v2.1/extension-dev-guide/api-concepts.html).
## Additional information
@@ -67,12 +67,12 @@ The Debug Mode may be enabled in the module configuration. This logs the communi
The Magento_Signifyd module does not introduce backward incompatible changes.
-You can track [backward incompatible changes in patch releases](http://devdocs.magento.com/guides/v2.0/release-notes/changes/ee_changes.html).
+You can track [backward incompatible changes in patch releases](https://devdocs.magento.com/guides/v2.0/release-notes/changes/ee_changes.html).
### Processing supplementary payment information
To improve the accuracy of Signifyd's transaction estimation, you may perform these operations (links lead to the Magento Developer Documentation Portal):
-- [Provide custom AVS/CVV mapping](http://devdocs.magento.com/guides/v2.2/payments-integrations/signifyd/signifyd.html#provide-avscvv-response-codes)
+- [Provide custom AVS/CVV mapping](https://devdocs.magento.com/guides/v2.2/payments-integrations/signifyd/signifyd.html#provide-avscvv-response-codes)
-- [Retrieve payment method for a placed order](http://devdocs.magento.com/guides/v2.2/payments-integrations/signifyd/signifyd.html#retrieve-payment-method-for-a-placed-order)
+- [Retrieve payment method for a placed order](https://devdocs.magento.com/guides/v2.2/payments-integrations/signifyd/signifyd.html#retrieve-payment-method-for-a-placed-order)
diff --git a/app/code/Magento/Tax/Api/TaxClassRepositoryInterface.php b/app/code/Magento/Tax/Api/TaxClassRepositoryInterface.php
index d8b251f3c8c91..f841f9c047b82 100644
--- a/app/code/Magento/Tax/Api/TaxClassRepositoryInterface.php
+++ b/app/code/Magento/Tax/Api/TaxClassRepositoryInterface.php
@@ -27,7 +27,7 @@ public function get($taxClassId);
* Retrieve tax classes which match a specific criteria.
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#TaxClassRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#TaxClassRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
diff --git a/app/code/Magento/Tax/Api/TaxRateRepositoryInterface.php b/app/code/Magento/Tax/Api/TaxRateRepositoryInterface.php
index 252bc0fc715fc..c0f5ccd95ba98 100644
--- a/app/code/Magento/Tax/Api/TaxRateRepositoryInterface.php
+++ b/app/code/Magento/Tax/Api/TaxRateRepositoryInterface.php
@@ -47,7 +47,7 @@ public function deleteById($rateId);
* Search TaxRates
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#TaxRateRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#TaxRateRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
diff --git a/app/code/Magento/Tax/Api/TaxRuleRepositoryInterface.php b/app/code/Magento/Tax/Api/TaxRuleRepositoryInterface.php
index 1d69f932573bd..5e045d94de45e 100644
--- a/app/code/Magento/Tax/Api/TaxRuleRepositoryInterface.php
+++ b/app/code/Magento/Tax/Api/TaxRuleRepositoryInterface.php
@@ -55,7 +55,7 @@ public function deleteById($ruleId);
* Search TaxRules
*
* This call returns an array of objects, but detailed information about each object’s attributes might not be
- * included. See http://devdocs.magento.com/codelinks/attributes.html#TaxRuleRepositoryInterface to
+ * included. See https://devdocs.magento.com/codelinks/attributes.html#TaxRuleRepositoryInterface to
* determine which call to use to get detailed information about all attributes for an object.
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
diff --git a/app/code/Magento/WishlistAnalytics/README.md b/app/code/Magento/WishlistAnalytics/README.md
index 999fc835626da..1ad889598297c 100644
--- a/app/code/Magento/WishlistAnalytics/README.md
+++ b/app/code/Magento/WishlistAnalytics/README.md
@@ -1,3 +1,3 @@
# Magento_WishlistAnalytics module
-The Magento_WishlistAnalytics module configures data definitions for a data collection related to the Wishlist module entities to be used in [Advanced Reporting](http://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
+The Magento_WishlistAnalytics module configures data definitions for a data collection related to the Wishlist module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.2/advanced-reporting/modules.html).
diff --git a/dev/tests/functional/tests/app/Magento/Install/Test/Page/DevdocsInstall.xml b/dev/tests/functional/tests/app/Magento/Install/Test/Page/DevdocsInstall.xml
index f63e7282719d2..15e0b8a27d24e 100644
--- a/dev/tests/functional/tests/app/Magento/Install/Test/Page/DevdocsInstall.xml
+++ b/dev/tests/functional/tests/app/Magento/Install/Test/Page/DevdocsInstall.xml
@@ -6,7 +6,7 @@
*/
-->
-
+
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/AvoidIdSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/AvoidIdSniff.php
index 49339054f8766..4f94e335e0363 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/AvoidIdSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/AvoidIdSniff.php
@@ -13,7 +13,7 @@
*
* Ensure that id selector is not used
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#types
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#types
*/
class AvoidIdSniff implements Sniff
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/BracesFormattingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/BracesFormattingSniff.php
index 435eea118af63..14f37603cd362 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/BracesFormattingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/BracesFormattingSniff.php
@@ -15,7 +15,7 @@
* Ensure there is a single blank line after the closing brace of a class definition
*
* @see Squiz_Sniffs_CSS_ClassDefinitionClosingBraceSpaceSniff
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#braces
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#braces
*/
class BracesFormattingSniff implements Sniff
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ClassNamingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ClassNamingSniff.php
index 798c13ff2699c..e49249361fa43 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ClassNamingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ClassNamingSniff.php
@@ -17,7 +17,7 @@
* - start with a letter (except helper classes);
* - words should be separated with dash '-';
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#standard-classes
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#standard-classes
*
*/
class ClassNamingSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ColonSpacingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ColonSpacingSniff.php
index 39753544cf248..867809fbbff71 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ColonSpacingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ColonSpacingSniff.php
@@ -14,7 +14,7 @@
*
* Ensure that single quotes are used
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#properties-colon-indents
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#properties-colon-indents
*
*/
class ColonSpacingSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ColourDefinitionSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ColourDefinitionSniff.php
index 83f2e8f5d94de..08a7feeaf3270 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ColourDefinitionSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ColourDefinitionSniff.php
@@ -13,7 +13,7 @@
*
* Ensure that hexadecimal values are used for variables not for properties
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#hexadecimal-notation
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#hexadecimal-notation
*
*/
class ColourDefinitionSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/CombinatorIndentationSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/CombinatorIndentationSniff.php
index d27c853ab7808..9ff1949316b89 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/CombinatorIndentationSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/CombinatorIndentationSniff.php
@@ -13,7 +13,7 @@
*
* Ensure that spaces are used before and after combinators
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#combinator-indents
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#combinator-indents
*
*/
class CombinatorIndentationSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/CommentLevelsSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/CommentLevelsSniff.php
index abf15dd3748d5..0085a1cd40f0f 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/CommentLevelsSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/CommentLevelsSniff.php
@@ -15,7 +15,7 @@
* First, second and third level comments should have two spaces after "//".
* Inline comments should have one space after "//".
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#comments
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#comments
*
*/
class CommentLevelsSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ImportantPropertySniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ImportantPropertySniff.php
index 54bd8b70d5c59..b65ab10b8a629 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ImportantPropertySniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ImportantPropertySniff.php
@@ -13,7 +13,7 @@
*
* Ensure that single quotes are used
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#important-property
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#important-property
*
*/
class ImportantPropertySniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/IndentationSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/IndentationSniff.php
index 3ff268acf0c13..283c9a43e313d 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/IndentationSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/IndentationSniff.php
@@ -14,7 +14,7 @@
* Ensures styles are indented 4 spaces.
*
* @see Squiz_Sniffs_CSS_IndentationSniff
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#indentation
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#indentation
*/
class IndentationSniff implements Sniff
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php
index 3f33d0b2c69d5..84ae1b5dec303 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php
@@ -13,7 +13,7 @@
*
* Start each property declaration in a new line
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#properties-line-break
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#properties-line-break
*
*/
class PropertiesLineBreakSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesSortingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesSortingSniff.php
index e59b5da37d0e2..6fdcd8ded29b4 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesSortingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesSortingSniff.php
@@ -13,7 +13,7 @@
*
* Ensure that properties are sorted alphabetically
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#sorting
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#sorting
*
*/
class PropertiesSortingSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/QuotesSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/QuotesSniff.php
index 92ea5b420658f..2b2b4a6edad45 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/QuotesSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/QuotesSniff.php
@@ -13,7 +13,7 @@
*
* Ensure that single quotes are used
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#quotes
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#quotes
*
*/
class QuotesSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/SelectorDelimiterSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/SelectorDelimiterSniff.php
index 4660786669815..f48bafd329cad 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/SelectorDelimiterSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/SelectorDelimiterSniff.php
@@ -14,7 +14,7 @@
* Ensure that a line break exists after each selector delimiter.
* No spaces should be before or after delimiters.
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#selector-delimiters
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#selector-delimiters
*
*/
class SelectorDelimiterSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/SemicolonSpacingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/SemicolonSpacingSniff.php
index c1cd6cde33406..8bccb26ae6100 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/SemicolonSpacingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/SemicolonSpacingSniff.php
@@ -13,7 +13,7 @@
*
* Property should have a semicolon at the end of line
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#end-of-the-property-line
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#end-of-the-property-line
*
*/
class SemicolonSpacingSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorConcatenationSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorConcatenationSniff.php
index 88a275baec2a0..dc2e5ed39b71c 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorConcatenationSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorConcatenationSniff.php
@@ -13,7 +13,7 @@
*
* Ensure that selector in one line, concatenation is not used
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#formatting-1
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#formatting-1
*
*/
class TypeSelectorConcatenationSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorsSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorsSniff.php
index 3983cf54e05fd..288a9a8b5f346 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorsSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorsSniff.php
@@ -18,7 +18,7 @@
* - Type selectors must be lowercase
* - Write selector in one line, do not use concatenation
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#selectors-naming
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#selectors-naming
*
*/
class TypeSelectorsSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/VariablesSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/VariablesSniff.php
index 8a559da88e6f2..060deb998aabb 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/VariablesSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/VariablesSniff.php
@@ -16,8 +16,8 @@
* they should be located in the module file, in the beginning of the general comment.
* - All variable names must be lowercase
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#local-variables
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#naming
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#local-variables
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#naming
*
*/
class VariablesSniff implements Sniff
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ZeroUnitsSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ZeroUnitsSniff.php
index 1b4fb53c45010..dc334d718e697 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ZeroUnitsSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ZeroUnitsSniff.php
@@ -14,8 +14,8 @@
* Ensure that units for 0 is not specified
* Omit leading "0"s in values, use dot instead
*
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#and-units
- * @link http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#floating-values
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#and-units
+ * @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#floating-values
*
*/
class ZeroUnitsSniff implements Sniff
diff --git a/phpserver/README.md b/phpserver/README.md
index 6bb814fe5f5f2..414ad77ae6b33 100644
--- a/phpserver/README.md
+++ b/phpserver/README.md
@@ -14,7 +14,7 @@ Without a router script, that is not possible via the php built-in server.
### How to install Magento
-Magento's web-based Setup Wizard runs from the `setup` subdirectory, which PHP's built-in web server cannot route. Therefore, you must install Magento using the command line. An example follows:
+Magento's web-based Setup Wizard runs from the `setup` subdirectory, which PHP's built-in web server cannot route. Therefore, you must install Magento using the command line. An example follows:
```
php bin/magento setup:install --base-url=http://127.0.0.1:8082
diff --git a/setup/performance-toolkit/README.md b/setup/performance-toolkit/README.md
index bb0a023ab8af1..7bf7a1fbd4721 100644
--- a/setup/performance-toolkit/README.md
+++ b/setup/performance-toolkit/README.md
@@ -29,7 +29,7 @@ Splitting generation and indexation processes doesn't reduce total processing ti
php bin/magento setup:performance:generate-fixtures -s setup/performance-toolkit/profiles/ce/small.xml
php bin/magento indexer:reindex
-For more information about the available profiles and generating fixtures generation, read [Generate data for performance testing](http://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-perf-data.html).
+For more information about the available profiles and generating fixtures generation, read [Generate data for performance testing](https://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-perf-data.html).
For run Admin Pool in multithreading mode, please be sure, that:
- "Admin Account Sharing" is enabled
diff --git a/setup/src/Magento/Setup/Controller/LandingInstaller.php b/setup/src/Magento/Setup/Controller/LandingInstaller.php
index 45579979b9fcc..51d3fd648af4b 100644
--- a/setup/src/Magento/Setup/Controller/LandingInstaller.php
+++ b/setup/src/Magento/Setup/Controller/LandingInstaller.php
@@ -33,7 +33,7 @@ public function indexAction()
{
$welcomeMsg = "Welcome to Magento Admin, your online store headquarters.
"
. "Click 'Agree and Set Up Magento' or read ";
- $docRef = "http://devdocs.magento.com/guides/v1.0/install-gde/install/install-web.html";
+ $docRef = "https://devdocs.magento.com/guides/v1.0/install-gde/install/install-web.html";
$agreeButtonText = "Agree and Setup Magento";
$view = new ViewModel;
$view->setTerminal(true);
diff --git a/setup/src/Magento/Setup/Controller/LandingUpdater.php b/setup/src/Magento/Setup/Controller/LandingUpdater.php
index e144cc40c37f7..fca323fefe663 100644
--- a/setup/src/Magento/Setup/Controller/LandingUpdater.php
+++ b/setup/src/Magento/Setup/Controller/LandingUpdater.php
@@ -33,7 +33,7 @@ public function indexAction()
{
$welcomeMsg = "Welcome to Magento Module Manager.
"
. "Click 'Agree and Update Magento' or read ";
- $docRef = "http://devdocs.magento.com/guides/v1.0/install-gde/install/install-web.html";
+ $docRef = "https://devdocs.magento.com/guides/v1.0/install-gde/install/install-web.html";
$agreeButtonText = "Agree and Update Magento";
$view = new ViewModel;
$view->setTerminal(true);
diff --git a/setup/src/Magento/Setup/Model/SystemPackage.php b/setup/src/Magento/Setup/Model/SystemPackage.php
index 232ac1dd342f6..ab59fdc849dd7 100755
--- a/setup/src/Magento/Setup/Model/SystemPackage.php
+++ b/setup/src/Magento/Setup/Model/SystemPackage.php
@@ -179,7 +179,7 @@ public function getInstalledSystemPackages()
throw new \RuntimeException(
'We\'re sorry, no components are available because you cloned the Magento 2 GitHub repository. ' .
'You must manually update components as discussed in the ' .
- '' .
+ '' .
'Installation Guide.'
);
}
diff --git a/setup/view/magento/setup/landing.phtml b/setup/view/magento/setup/landing.phtml
index 581be20df937b..645ae6ae9d635 100644
--- a/setup/view/magento/setup/landing.phtml
+++ b/setup/view/magento/setup/landing.phtml
@@ -15,7 +15,7 @@
Welcome to Magento Admin, your online store headquarters.
- Click 'Agree and Set Up Magento' or read Getting Started to learn more.
+ Click 'Agree and Set Up Magento' or read Getting Started to learn more.
Terms & Agreement
diff --git a/setup/view/magento/setup/readiness-check/progress.phtml b/setup/view/magento/setup/readiness-check/progress.phtml
index eb9dd0ce9d1aa..d8e519aa8ac74 100755
--- a/setup/view/magento/setup/readiness-check/progress.phtml
+++ b/setup/view/magento/setup/readiness-check/progress.phtml
@@ -121,7 +121,7 @@
Download and install the updater.
For additional assistance, see
- updater application help.
@@ -172,7 +172,7 @@
For additional assistance, see
- cron scripts help.
@@ -214,7 +214,7 @@
For additional assistance, see
- component dependency help
.
@@ -336,7 +336,7 @@
For additional assistance, see
- PHP settings check help
.
@@ -392,7 +392,7 @@
@@ -413,7 +413,7 @@
The best way to resolve this is to install the correct missing extensions. The exact fix depends on our server, your host, and other system variables.
- Our PHP extension help can get you started.
+ Our PHP extension help can get you started.
For additional assistance, contact your hosting provider.
@@ -477,7 +477,7 @@
@@ -500,7 +500,7 @@
The best way to resolve this is to allow write permissions for files in the following Magento directories and subdirectories. The exact fix depends on your server, your host,
and other system variables.
- For help, see our File Permission Help or call your hosting provider.
+ For help, see our File Permission Help or call your hosting provider.
-
From 706f7163af4c7c168e89538fffbb56b8da8597de Mon Sep 17 00:00:00 2001
From: Pavel Bystritsky
Date: Wed, 26 Dec 2018 17:15:40 +0200
Subject: [PATCH 2/2] ENGCOM-3652: Static test fix.
---
.../Magento/Indexer/Model/Message/Invalid.php | 3 +++
.../Payment/Model/Method/AbstractMethod.php | 23 +++++++++++--------
.../Quote/Api/CartRepositoryInterface.php | 1 -
.../Annotation/AnnotationFormatValidator.php | 4 ++--
.../Sniffs/Arrays/ShortArraySyntaxSniff.php | 9 +++++---
.../Sniffs/EchoTags/ShortEchoSyntaxSniff.php | 7 ++++--
.../Magento/Sniffs/Files/LineLengthSniff.php | 2 +-
.../LanguageConstructsSniff.php | 4 ++--
.../Sniffs/Less/BracesFormattingSniff.php | 4 ++--
.../Magento/Sniffs/Less/ClassNamingSniff.php | 5 ++--
.../Magento/Sniffs/Less/ColonSpacingSniff.php | 5 ++--
.../Sniffs/Less/ColourDefinitionSniff.php | 5 ++--
.../Less/CombinatorIndentationSniff.php | 5 ++--
.../Sniffs/Less/CommentLevelsSniff.php | 5 ++--
.../Sniffs/Less/ImportantPropertySniff.php | 5 ++--
.../Magento/Sniffs/Less/IndentationSniff.php | 4 ++--
.../Sniffs/Less/PropertiesLineBreakSniff.php | 5 ++--
.../Sniffs/Less/PropertiesSortingSniff.php | 5 ++--
.../Magento/Sniffs/Less/QuotesSniff.php | 5 ++--
.../Sniffs/Less/SelectorDelimiterSniff.php | 7 +++---
.../Sniffs/Less/SemicolonSpacingSniff.php | 9 +++++---
.../Sniffs/Less/TokenizerSymbolsInterface.php | 1 -
.../Less/TypeSelectorConcatenationSniff.php | 5 ++--
.../Sniffs/Less/TypeSelectorsSniff.php | 5 ++--
.../Magento/Sniffs/Less/VariablesSniff.php | 5 ++--
.../Magento/Sniffs/Less/ZeroUnitsSniff.php | 5 ++--
.../NamingConventions/InterfaceNameSniff.php | 7 ++++--
.../NamingConventions/ReservedWordsSniff.php | 7 ++++--
.../Sniffs/Security/ExecutableRegExSniff.php | 4 ++--
.../Sniffs/Strings/StringPositionSniff.php | 4 ++--
.../Sniffs/Translation/ConstantUsageSniff.php | 10 +++++---
.../Whitespace/EmptyLineMissedSniff.php | 6 +++--
.../Whitespace/MultipleEmptyLinesSniff.php | 4 ++--
.../Setup/Controller/LandingInstaller.php | 2 ++
.../Setup/Controller/LandingUpdater.php | 4 +++-
.../src/Magento/Setup/Model/SystemPackage.php | 6 +++++
36 files changed, 110 insertions(+), 87 deletions(-)
diff --git a/app/code/Magento/Indexer/Model/Message/Invalid.php b/app/code/Magento/Indexer/Model/Message/Invalid.php
index 8daef14297c64..79f9fcef9641e 100644
--- a/app/code/Magento/Indexer/Model/Message/Invalid.php
+++ b/app/code/Magento/Indexer/Model/Message/Invalid.php
@@ -6,6 +6,9 @@
namespace Magento\Indexer\Model\Message;
+/**
+ * Message about invalid indexers.
+ */
class Invalid implements \Magento\Framework\Notification\MessageInterface
{
/**
diff --git a/app/code/Magento/Payment/Model/Method/AbstractMethod.php b/app/code/Magento/Payment/Model/Method/AbstractMethod.php
index c01a93db538df..c0ccf887b18d7 100644
--- a/app/code/Magento/Payment/Model/Method/AbstractMethod.php
+++ b/app/code/Magento/Payment/Model/Method/AbstractMethod.php
@@ -258,7 +258,7 @@ protected function initializeData($data = [])
}
/**
- * {inheritdoc}
+ * @inheritdoc
* @deprecated 100.2.0
*/
public function setStore($storeId)
@@ -267,7 +267,7 @@ public function setStore($storeId)
}
/**
- * {inheritdoc}
+ * @inheritdoc
* @deprecated 100.2.0
*/
public function getStore()
@@ -360,7 +360,8 @@ public function canRefundPartialPerInvoice()
}
/**
- * Check void availability
+ * Check void availability.
+ *
* @return bool
* @internal param \Magento\Framework\DataObject $payment
* @api
@@ -372,8 +373,9 @@ public function canVoid()
}
/**
- * Using internal pages for input payment data
- * Can be used in admin
+ * Using internal pages for input payment data.
+ *
+ * Can be used in admin.
*
* @return bool
* @deprecated 100.2.0
@@ -715,7 +717,8 @@ public function void(\Magento\Payment\Model\InfoInterface $payment)
}
/**
- * Whether this method can accept or deny payment
+ * Whether this method can accept or deny payment.
+ *
* @return bool
* @api
* @deprecated 100.2.0
@@ -867,8 +870,7 @@ public function isActive($storeId = null)
}
/**
- * Method that will be executed instead of authorize or capture
- * if flag isInitializeNeeded set to true
+ * Method that will be executed instead of authorize or capture if flag isInitializeNeeded set to true.
*
* @param string $paymentAction
* @param object $stateObject
@@ -884,8 +886,9 @@ public function initialize($paymentAction, $stateObject)
}
/**
- * Get config payment action url
- * Used to universalize payment actions when processing payment place
+ * Get config payment action url.
+ *
+ * Used to universalize payment actions when processing payment place.
*
* @return string
* @api
diff --git a/app/code/Magento/Quote/Api/CartRepositoryInterface.php b/app/code/Magento/Quote/Api/CartRepositoryInterface.php
index c8e874e0fcc21..ee122d1b02ffd 100644
--- a/app/code/Magento/Quote/Api/CartRepositoryInterface.php
+++ b/app/code/Magento/Quote/Api/CartRepositoryInterface.php
@@ -28,7 +28,6 @@ public function get($cartId);
* included. See https://devdocs.magento.com/codelinks/attributes.html#CartRepositoryInterface to determine
* which call to use to get detailed information about all attributes for an object.
*
- *
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
* @return \Magento\Quote\Api\Data\CartSearchResultsInterface
*/
diff --git a/dev/tests/static/framework/Magento/Sniffs/Annotation/AnnotationFormatValidator.php b/dev/tests/static/framework/Magento/Sniffs/Annotation/AnnotationFormatValidator.php
index 899a65c375321..49acd039a0960 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Annotation/AnnotationFormatValidator.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Annotation/AnnotationFormatValidator.php
@@ -168,8 +168,8 @@ private function validateLongDescriptionFormat(
) : void {
$tokens = $phpcsFile->getTokens();
$longPtr = $phpcsFile->findNext($emptyTypeTokens, $shortPtrEnd + 1, $commentEndPtr - 1, true);
- if (strtolower($tokens[$longPtr]['content']) === '{@inheritdoc}') {
- $error = '{@inheritdoc} imports only short description, annotation must have long description';
+ if (strtolower($tokens[$longPtr]['content']) === '@inheritdoc') {
+ $error = '@inheritdoc imports only short description, annotation must have long description';
$phpcsFile->addFixableError($error, $longPtr, 'MethodAnnotation');
}
if ($longPtr !== false && $tokens[$longPtr]['code'] === T_DOC_COMMENT_STRING) {
diff --git a/dev/tests/static/framework/Magento/Sniffs/Arrays/ShortArraySyntaxSniff.php b/dev/tests/static/framework/Magento/Sniffs/Arrays/ShortArraySyntaxSniff.php
index 9013f12b6b46b..5ce1ac333cc11 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Arrays/ShortArraySyntaxSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Arrays/ShortArraySyntaxSniff.php
@@ -5,13 +5,16 @@
*/
namespace Magento\Sniffs\Arrays;
-use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
+use PHP_CodeSniffer\Sniffs\Sniff;
+/**
+ * Validate short array syntax is used.
+ */
class ShortArraySyntaxSniff implements Sniff
{
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -19,7 +22,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $sourceFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/EchoTags/ShortEchoSyntaxSniff.php b/dev/tests/static/framework/Magento/Sniffs/EchoTags/ShortEchoSyntaxSniff.php
index 694905cb37add..9d0d58950c4f8 100644
--- a/dev/tests/static/framework/Magento/Sniffs/EchoTags/ShortEchoSyntaxSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/EchoTags/ShortEchoSyntaxSniff.php
@@ -9,10 +9,13 @@
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Util\Tokens;
+/**
+ * Validate short echo syntax is used.
+ */
class ShortEchoSyntaxSniff implements Sniff
{
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -20,7 +23,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Files/LineLengthSniff.php b/dev/tests/static/framework/Magento/Sniffs/Files/LineLengthSniff.php
index 2abcf0531b009..528baeedf0476 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Files/LineLengthSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Files/LineLengthSniff.php
@@ -20,7 +20,7 @@ class LineLengthSniff extends FilesLineLengthSniff
protected $previousLineContent = '';
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
protected function checkLineLength($phpcsFile, $stackPtr, $lineContent)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/LanguageConstructs/LanguageConstructsSniff.php b/dev/tests/static/framework/Magento/Sniffs/LanguageConstructs/LanguageConstructsSniff.php
index a3a49adf62a62..575b39542311a 100644
--- a/dev/tests/static/framework/Magento/Sniffs/LanguageConstructs/LanguageConstructsSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/LanguageConstructs/LanguageConstructsSniff.php
@@ -48,7 +48,7 @@ class LanguageConstructsSniff implements Sniff
protected $directOutput = 'DirectOutput';
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -60,7 +60,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/BracesFormattingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/BracesFormattingSniff.php
index 14f37603cd362..61e2e69eeb86f 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/BracesFormattingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/BracesFormattingSniff.php
@@ -27,7 +27,7 @@ class BracesFormattingSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -35,7 +35,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ClassNamingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ClassNamingSniff.php
index e49249361fa43..8c55edc13afc2 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ClassNamingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ClassNamingSniff.php
@@ -18,7 +18,6 @@
* - words should be separated with dash '-';
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#standard-classes
- *
*/
class ClassNamingSniff implements Sniff
{
@@ -35,7 +34,7 @@ class ClassNamingSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -43,7 +42,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ColonSpacingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ColonSpacingSniff.php
index 867809fbbff71..b5f61a6432731 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ColonSpacingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ColonSpacingSniff.php
@@ -15,7 +15,6 @@
* Ensure that single quotes are used
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#properties-colon-indents
- *
*/
class ColonSpacingSniff implements Sniff
{
@@ -27,7 +26,7 @@ class ColonSpacingSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -35,7 +34,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ColourDefinitionSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ColourDefinitionSniff.php
index 08a7feeaf3270..83e3da698f08f 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ColourDefinitionSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ColourDefinitionSniff.php
@@ -14,7 +14,6 @@
* Ensure that hexadecimal values are used for variables not for properties
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#hexadecimal-notation
- *
*/
class ColourDefinitionSniff implements Sniff
{
@@ -26,7 +25,7 @@ class ColourDefinitionSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -34,7 +33,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/CombinatorIndentationSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/CombinatorIndentationSniff.php
index 9ff1949316b89..a8ce4cfe547a1 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/CombinatorIndentationSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/CombinatorIndentationSniff.php
@@ -14,7 +14,6 @@
* Ensure that spaces are used before and after combinators
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#combinator-indents
- *
*/
class CombinatorIndentationSniff implements Sniff
{
@@ -26,7 +25,7 @@ class CombinatorIndentationSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -34,7 +33,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/CommentLevelsSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/CommentLevelsSniff.php
index 0085a1cd40f0f..41c970d4cb496 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/CommentLevelsSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/CommentLevelsSniff.php
@@ -16,7 +16,6 @@
* Inline comments should have one space after "//".
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#comments
- *
*/
class CommentLevelsSniff implements Sniff
{
@@ -42,7 +41,7 @@ class CommentLevelsSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -50,7 +49,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ImportantPropertySniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ImportantPropertySniff.php
index b65ab10b8a629..db03440699f41 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ImportantPropertySniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ImportantPropertySniff.php
@@ -14,7 +14,6 @@
* Ensure that single quotes are used
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#important-property
- *
*/
class ImportantPropertySniff implements Sniff
{
@@ -26,7 +25,7 @@ class ImportantPropertySniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -34,7 +33,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/IndentationSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/IndentationSniff.php
index 283c9a43e313d..f0f994131e635 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/IndentationSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/IndentationSniff.php
@@ -46,7 +46,7 @@ class IndentationSniff implements Sniff
private $styleCodesToSkip = [T_ASPERAND, T_COLON, T_OPEN_PARENTHESIS, T_CLOSE_PARENTHESIS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -54,7 +54,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.NPathComplexity)
*/
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php
index 84ae1b5dec303..e9bd1f7942ed4 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php
@@ -14,7 +14,6 @@
* Start each property declaration in a new line
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#properties-line-break
- *
*/
class PropertiesLineBreakSniff implements Sniff
{
@@ -26,7 +25,7 @@ class PropertiesLineBreakSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -34,7 +33,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesSortingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesSortingSniff.php
index 6fdcd8ded29b4..a39974f2b3861 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesSortingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesSortingSniff.php
@@ -14,7 +14,6 @@
* Ensure that properties are sorted alphabetically
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#sorting
- *
*/
class PropertiesSortingSniff implements Sniff
{
@@ -43,7 +42,7 @@ class PropertiesSortingSniff implements Sniff
];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -57,7 +56,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/QuotesSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/QuotesSniff.php
index 2b2b4a6edad45..8127d26770410 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/QuotesSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/QuotesSniff.php
@@ -14,7 +14,6 @@
* Ensure that single quotes are used
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#quotes
- *
*/
class QuotesSniff implements Sniff
{
@@ -26,7 +25,7 @@ class QuotesSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -34,7 +33,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/SelectorDelimiterSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/SelectorDelimiterSniff.php
index f48bafd329cad..99b91b63d88fc 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/SelectorDelimiterSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/SelectorDelimiterSniff.php
@@ -15,7 +15,6 @@
* No spaces should be before or after delimiters.
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#selector-delimiters
- *
*/
class SelectorDelimiterSniff implements Sniff
{
@@ -27,7 +26,7 @@ class SelectorDelimiterSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -35,7 +34,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
@@ -50,6 +49,8 @@ public function process(File $phpcsFile, $stackPtr)
}
/**
+ * Parenthesis validation.
+ *
* @param File $phpcsFile
* @param int $stackPtr
* @param array $tokens
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/SemicolonSpacingSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/SemicolonSpacingSniff.php
index 8bccb26ae6100..de30d9cdbf497 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/SemicolonSpacingSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/SemicolonSpacingSniff.php
@@ -14,7 +14,6 @@
* Property should have a semicolon at the end of line
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#end-of-the-property-line
- *
*/
class SemicolonSpacingSniff implements Sniff
{
@@ -44,7 +43,7 @@ class SemicolonSpacingSniff implements Sniff
private $styleCodesToSkip = [T_ASPERAND, T_COLON, T_OPEN_PARENTHESIS, T_CLOSE_PARENTHESIS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -52,7 +51,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
@@ -72,6 +71,8 @@ public function process(File $phpcsFile, $stackPtr)
}
/**
+ * Semicolon validation.
+ *
* @param File $phpcsFile
* @param int $stackPtr
* @param array $tokens
@@ -90,6 +91,8 @@ private function validateSemicolon(File $phpcsFile, $stackPtr, array $tokens, $s
}
/**
+ * Spaces validation.
+ *
* @param File $phpcsFile
* @param int $stackPtr
* @param array $tokens
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/TokenizerSymbolsInterface.php b/dev/tests/static/framework/Magento/Sniffs/Less/TokenizerSymbolsInterface.php
index 9da92913b402f..db6a2fe116924 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/TokenizerSymbolsInterface.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/TokenizerSymbolsInterface.php
@@ -7,7 +7,6 @@
/**
* Interface TokenizerSymbolsInterface
- *
*/
interface TokenizerSymbolsInterface
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorConcatenationSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorConcatenationSniff.php
index dc2e5ed39b71c..16ebb71c7281a 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorConcatenationSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorConcatenationSniff.php
@@ -14,7 +14,6 @@
* Ensure that selector in one line, concatenation is not used
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#formatting-1
- *
*/
class TypeSelectorConcatenationSniff implements Sniff
{
@@ -34,7 +33,7 @@ class TypeSelectorConcatenationSniff implements Sniff
];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -42,7 +41,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorsSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorsSniff.php
index 288a9a8b5f346..3cd0f5d1679be 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorsSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/TypeSelectorsSniff.php
@@ -19,7 +19,6 @@
* - Write selector in one line, do not use concatenation
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#selectors-naming
- *
*/
class TypeSelectorsSniff implements Sniff
{
@@ -56,7 +55,7 @@ class TypeSelectorsSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -64,7 +63,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/VariablesSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/VariablesSniff.php
index 060deb998aabb..433c256c5bdad 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/VariablesSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/VariablesSniff.php
@@ -18,7 +18,6 @@
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#local-variables
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#naming
- *
*/
class VariablesSniff implements Sniff
{
@@ -30,7 +29,7 @@ class VariablesSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -38,7 +37,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/ZeroUnitsSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/ZeroUnitsSniff.php
index dc334d718e697..a19a0a8eb7016 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Less/ZeroUnitsSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Less/ZeroUnitsSniff.php
@@ -16,7 +16,6 @@
*
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#and-units
* @link https://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#floating-values
- *
*/
class ZeroUnitsSniff implements Sniff
{
@@ -43,7 +42,7 @@ class ZeroUnitsSniff implements Sniff
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -51,7 +50,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/NamingConventions/InterfaceNameSniff.php b/dev/tests/static/framework/Magento/Sniffs/NamingConventions/InterfaceNameSniff.php
index 1618beb665d4b..6a7a0d2b1432c 100644
--- a/dev/tests/static/framework/Magento/Sniffs/NamingConventions/InterfaceNameSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/NamingConventions/InterfaceNameSniff.php
@@ -8,12 +8,15 @@
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
+/**
+ * Validates that interface name ends with "Interface" suffix.
+ */
class InterfaceNameSniff implements Sniff
{
const INTERFACE_SUFFIX = 'Interface';
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -21,7 +24,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $sourceFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/NamingConventions/ReservedWordsSniff.php b/dev/tests/static/framework/Magento/Sniffs/NamingConventions/ReservedWordsSniff.php
index e3cfdf532438c..b81c250338e1d 100644
--- a/dev/tests/static/framework/Magento/Sniffs/NamingConventions/ReservedWordsSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/NamingConventions/ReservedWordsSniff.php
@@ -8,6 +8,9 @@
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
+/**
+ * Validates that class name is not reserved word.
+ */
class ReservedWordsSniff implements Sniff
{
/**
@@ -35,7 +38,7 @@ class ReservedWordsSniff implements Sniff
];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -94,7 +97,7 @@ protected function validateClass(File $sourceFile, $stackPtr)
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $sourceFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Security/ExecutableRegExSniff.php b/dev/tests/static/framework/Magento/Sniffs/Security/ExecutableRegExSniff.php
index 0482f574f28ce..54cf1d462c300 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Security/ExecutableRegExSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Security/ExecutableRegExSniff.php
@@ -52,7 +52,7 @@ class ExecutableRegExSniff implements Sniff
];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -60,7 +60,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Strings/StringPositionSniff.php b/dev/tests/static/framework/Magento/Sniffs/Strings/StringPositionSniff.php
index d98a55a6f3ee8..aea1ddc1efa91 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Strings/StringPositionSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Strings/StringPositionSniff.php
@@ -106,7 +106,7 @@ class StringPositionSniff implements Sniff
];
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -114,7 +114,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Translation/ConstantUsageSniff.php b/dev/tests/static/framework/Magento/Sniffs/Translation/ConstantUsageSniff.php
index b1e358e404829..50fddb240b30b 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Translation/ConstantUsageSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Translation/ConstantUsageSniff.php
@@ -5,8 +5,8 @@
*/
namespace Magento\Sniffs\Translation;
-use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
+use PHP_CodeSniffer\Sniffs\Sniff;
/**
* Make sure that constants are not used as the first argument of translation function.
@@ -21,7 +21,7 @@ class ConstantUsageSniff implements Sniff
protected $previousLineContent = '';
/**
- * {@inheritDoc}
+ * @inheritdoc
*/
public function register()
{
@@ -31,7 +31,11 @@ public function register()
/**
* Copied from \Generic_Sniffs_Files_LineLengthSniff, minor changes made
*
- * {@inheritDoc}
+ * {@inheritdoc}
+ *
+ * @param \PHP_CodeSniffer\Files\File $phpcsFile
+ * @param int $stackPtr
+ * @return void|int
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/dev/tests/static/framework/Magento/Sniffs/Whitespace/EmptyLineMissedSniff.php b/dev/tests/static/framework/Magento/Sniffs/Whitespace/EmptyLineMissedSniff.php
index de3cfc50bbb56..8e34727533bdd 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Whitespace/EmptyLineMissedSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Whitespace/EmptyLineMissedSniff.php
@@ -14,7 +14,7 @@
class EmptyLineMissedSniff implements Sniff
{
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -22,7 +22,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
@@ -37,6 +37,8 @@ public function process(File $phpcsFile, $stackPtr)
}
/**
+ * Execute empty line missed check.
+ *
* @param File $phpcsFile
* @param int $stackPtr
* @param array $tokens
diff --git a/dev/tests/static/framework/Magento/Sniffs/Whitespace/MultipleEmptyLinesSniff.php b/dev/tests/static/framework/Magento/Sniffs/Whitespace/MultipleEmptyLinesSniff.php
index f276426efad6f..c862b019ae10d 100644
--- a/dev/tests/static/framework/Magento/Sniffs/Whitespace/MultipleEmptyLinesSniff.php
+++ b/dev/tests/static/framework/Magento/Sniffs/Whitespace/MultipleEmptyLinesSniff.php
@@ -14,7 +14,7 @@
class MultipleEmptyLinesSniff implements Sniff
{
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function register()
{
@@ -22,7 +22,7 @@ public function register()
}
/**
- * {@inheritdoc}
+ * @inheritdoc
*/
public function process(File $phpcsFile, $stackPtr)
{
diff --git a/setup/src/Magento/Setup/Controller/LandingInstaller.php b/setup/src/Magento/Setup/Controller/LandingInstaller.php
index 51d3fd648af4b..49125c47fad9d 100644
--- a/setup/src/Magento/Setup/Controller/LandingInstaller.php
+++ b/setup/src/Magento/Setup/Controller/LandingInstaller.php
@@ -27,6 +27,8 @@ public function __construct(\Magento\Framework\App\ProductMetadata $productMetad
}
/**
+ * Setup index action.
+ *
* @return array|ViewModel
*/
public function indexAction()
diff --git a/setup/src/Magento/Setup/Controller/LandingUpdater.php b/setup/src/Magento/Setup/Controller/LandingUpdater.php
index fca323fefe663..6ae97eec42d23 100644
--- a/setup/src/Magento/Setup/Controller/LandingUpdater.php
+++ b/setup/src/Magento/Setup/Controller/LandingUpdater.php
@@ -27,6 +27,8 @@ public function __construct(\Magento\Framework\App\ProductMetadata $productMetad
}
/**
+ * Updater index action.
+ *
* @return array|ViewModel
*/
public function indexAction()
@@ -35,7 +37,7 @@ public function indexAction()
. "Click 'Agree and Update Magento' or read ";
$docRef = "https://devdocs.magento.com/guides/v1.0/install-gde/install/install-web.html";
$agreeButtonText = "Agree and Update Magento";
- $view = new ViewModel;
+ $view = new ViewModel();
$view->setTerminal(true);
$view->setTemplate('/magento/setup/landing.phtml');
$view->setVariable('version', $this->productMetadata->getVersion());
diff --git a/setup/src/Magento/Setup/Model/SystemPackage.php b/setup/src/Magento/Setup/Model/SystemPackage.php
index ab59fdc849dd7..bc5f55c0b128b 100755
--- a/setup/src/Magento/Setup/Model/SystemPackage.php
+++ b/setup/src/Magento/Setup/Model/SystemPackage.php
@@ -154,6 +154,8 @@ public function getSystemPackageVersions($systemPackageInfo)
}
/**
+ * Get installed system packages.
+ *
* @return array
* @throws \Exception
* @throws \RuntimeException
@@ -187,6 +189,8 @@ public function getInstalledSystemPackages()
}
/**
+ * Sort versions.
+ *
* @param array $enterpriseVersions
* @return array
*/
@@ -241,6 +245,8 @@ private function formatPackages($packages)
}
/**
+ * Filter enterprise versions.
+ *
* @param string $currentCE
* @param array $enterpriseVersions
* @param string $maxVersion