diff --git a/app/code/Magento/Catalog/Model/Indexer/Category/Product/TableMaintainer.php b/app/code/Magento/Catalog/Model/Indexer/Category/Product/TableMaintainer.php index 1278434fcad43..105a6dbf30456 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Category/Product/TableMaintainer.php +++ b/app/code/Magento/Catalog/Model/Indexer/Category/Product/TableMaintainer.php @@ -139,7 +139,7 @@ public function getMainTable(int $storeId) public function createTablesForStore(int $storeId) { $mainTableName = $this->getMainTable($storeId); - //Create index table for store based on on main replica table + //Create index table for store based on main replica table //Using main replica table is necessary for backward capability and TableResolver plugin work $this->createTable( $this->getTable(AbstractAction::MAIN_INDEX_TABLE . $this->additionalTableSuffix), diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php b/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php index a4db630f0234b..d21a8666ec0ac 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php @@ -241,7 +241,7 @@ protected function _createItem($label, $value, $count = 0) } /** - * Get all product ids from from collection with applied filters + * Get all product ids from collection with applied filters * * @return array */ diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php index 4775b96e3a448..179da06b59990 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php @@ -307,7 +307,7 @@ protected function _saveValueTitles(\Magento\Framework\Model\AbstractModel $obje } /** - * Get first col from from first row for option table + * Get first col from first row for option table * * @param string $tableName * @param int $optionId diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php index 91bb99ca971a7..4ebcd1f4b9ae4 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php @@ -300,7 +300,7 @@ protected function _saveValueTitles(AbstractModel $object) } /** - * Get first col from from first row for option table + * Get first col from first row for option table * * @param string $tableName * @param int $optionId diff --git a/app/code/Magento/Catalog/view/adminhtml/web/js/product/weight-handler.js b/app/code/Magento/Catalog/view/adminhtml/web/js/product/weight-handler.js index 475c9d2dc0601..94300e31f74b5 100644 --- a/app/code/Magento/Catalog/view/adminhtml/web/js/product/weight-handler.js +++ b/app/code/Magento/Catalog/view/adminhtml/web/js/product/weight-handler.js @@ -67,10 +67,10 @@ define([ }, /** - * Has weight swither + * Has weight switcher * @returns {*} */ - hasWeightSwither: function () { + hasWeightSwitcher: function () { return this.$weightSwitcher().is(':visible'); }, @@ -107,7 +107,7 @@ define([ 'Magento_Catalog/js/product/weight-handler': function () { this.bindAll(); - if (this.hasWeightSwither()) { + if (this.hasWeightSwitcher()) { this.switchWeight(); } }, diff --git a/app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/CatalogPriceRuleActionGroup.xml b/app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/CatalogPriceRuleActionGroup.xml index ad92af9bb3b1b..2d437ab086f82 100644 --- a/app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/CatalogPriceRuleActionGroup.xml +++ b/app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/CatalogPriceRuleActionGroup.xml @@ -18,7 +18,7 @@ - + diff --git a/app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php b/app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php index ebab2a42a02ec..e26b49aaebe7a 100644 --- a/app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php +++ b/app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php @@ -73,7 +73,7 @@ public function execute() /** * Return component referer url - * TODO: Technical dept referer url should be implement as a part of Action configuration in in appropriate way + * TODO: Technical dept referer url should be implement as a part of Action configuration in appropriate way * * @return null|string */ diff --git a/app/code/Magento/Downloadable/Model/ResourceModel/Link/Collection.php b/app/code/Magento/Downloadable/Model/ResourceModel/Link/Collection.php index 4590d5433ed72..73ae696a85187 100644 --- a/app/code/Magento/Downloadable/Model/ResourceModel/Link/Collection.php +++ b/app/code/Magento/Downloadable/Model/ResourceModel/Link/Collection.php @@ -87,7 +87,7 @@ public function addProductToFilter($product) } /** - * Retrieve title for for current store + * Retrieve title for current store * * @param int $storeId * @return $this @@ -113,7 +113,7 @@ public function addTitleToResult($storeId = 0) } /** - * Retrieve price for for current website + * Retrieve price for current website * * @param int $websiteId * @return $this diff --git a/app/code/Magento/ReleaseNotification/README.md b/app/code/Magento/ReleaseNotification/README.md index e0d6e6de17c60..df3206a176f09 100644 --- a/app/code/Magento/ReleaseNotification/README.md +++ b/app/code/Magento/ReleaseNotification/README.md @@ -46,7 +46,7 @@ Each modal page can have the following optional content: The Sub Heading section is ideally used on the first modal page as a way to describe one to three highlighted features that will be presented in greater detail on the following modal pages. It is recommended to use the Main Content -> Text Body and Bullet Point lists as the paragraph and list content displayed on a highlighted feature's detail modal page. -A clickable link to internal or external content in any text field will be created by using the following format and opened in a new browser tab. Providing the URL for the link followed by the the text to be displayed for that link in brackets will cause a clickable link to be created. The text between the brackets [text] will be the text that the clickable link shows. +A clickable link to internal or external content in any text field will be created by using the following format and opened in a new browser tab. Providing the URL for the link followed by the text to be displayed for that link in brackets will cause a clickable link to be created. The text between the brackets [text] will be the text that the clickable link shows. ### Link Format Example: diff --git a/app/code/Magento/Sales/Controller/Adminhtml/Order/AbstractMassAction.php b/app/code/Magento/Sales/Controller/Adminhtml/Order/AbstractMassAction.php index 891bfeefc9f52..05066fe5b125e 100644 --- a/app/code/Magento/Sales/Controller/Adminhtml/Order/AbstractMassAction.php +++ b/app/code/Magento/Sales/Controller/Adminhtml/Order/AbstractMassAction.php @@ -70,7 +70,7 @@ public function execute() /** * Return component referrer url - * TODO: Technical dept referrer url should be implement as a part of Action configuration in in appropriate way + * TODO: Technical dept referrer url should be implement as a part of Action configuration in appropriate way * * @return null|string */ diff --git a/app/code/Magento/Ui/view/base/web/js/lib/core/element/element.js b/app/code/Magento/Ui/view/base/web/js/lib/core/element/element.js index b228494b422c3..1684f0b220175 100644 --- a/app/code/Magento/Ui/view/base/web/js/lib/core/element/element.js +++ b/app/code/Magento/Ui/view/base/web/js/lib/core/element/element.js @@ -46,7 +46,7 @@ define([ } /** - * Creates observable propery using 'track' method. + * Creates observable property using 'track' method. * * @param {Object} obj - Object to whom property belongs. * @param {String} key - Key of the property. diff --git a/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/Webapi/Adapter/Soap.php b/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/Webapi/Adapter/Soap.php index aee77ae6d589f..e2e32c119af21 100644 --- a/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/Webapi/Adapter/Soap.php +++ b/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/Webapi/Adapter/Soap.php @@ -63,7 +63,7 @@ public function call($serviceInfo, $arguments = [], $storeCode = null, $integrat } /** - * Get proper SOAP client instance that is initialized with with WSDL corresponding to requested service interface. + * Get proper SOAP client instance that is initialized with WSDL corresponding to requested service interface. * * @param string $serviceInfo PHP service interface name, should include version if present * @param string|null $storeCode diff --git a/dev/tests/functional/tests/app/Magento/Downloadable/Test/Block/Catalog/Product/View/Links.php b/dev/tests/functional/tests/app/Magento/Downloadable/Test/Block/Catalog/Product/View/Links.php index 3d3920f28a733..648361b0a31c8 100644 --- a/dev/tests/functional/tests/app/Magento/Downloadable/Test/Block/Catalog/Product/View/Links.php +++ b/dev/tests/functional/tests/app/Magento/Downloadable/Test/Block/Catalog/Product/View/Links.php @@ -18,7 +18,7 @@ class Links extends Block { /** - * Selector title for for links + * Selector title for links * * @var string */ diff --git a/dev/tests/functional/tests/app/Magento/Setup/Test/Constraint/Extension/AssertVersionOnGrid.php b/dev/tests/functional/tests/app/Magento/Setup/Test/Constraint/Extension/AssertVersionOnGrid.php index 068f748da4a8b..21ed8a24345f4 100644 --- a/dev/tests/functional/tests/app/Magento/Setup/Test/Constraint/Extension/AssertVersionOnGrid.php +++ b/dev/tests/functional/tests/app/Magento/Setup/Test/Constraint/Extension/AssertVersionOnGrid.php @@ -23,7 +23,7 @@ class AssertVersionOnGrid extends AbstractConstraint /*#@-*/ /** - * Assert that that version of extension is correct. + * Assert that version of extension is correct. * * @param Grid $grid * @param Extension $extension diff --git a/dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetCmsPageLink.php b/dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetCmsPageLink.php index abda2231c935f..0aa6d39497a43 100644 --- a/dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetCmsPageLink.php +++ b/dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetCmsPageLink.php @@ -18,7 +18,7 @@ class AssertWidgetCmsPageLink extends AbstractConstraint { /** - * Assert that created widget displayed on frontent on Home page and on Advanced Search and + * Assert that created widget displayed on frontend on Home page and on Advanced Search and * after click on widget link on frontend system redirects you to cms page. * * @param CmsIndex $cmsIndex diff --git a/dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetRecentlyViewedProducts.php b/dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetRecentlyViewedProducts.php index 67eeb0cdc238b..e6c25fdc52ed5 100644 --- a/dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetRecentlyViewedProducts.php +++ b/dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetRecentlyViewedProducts.php @@ -16,7 +16,7 @@ use Magento\Mtf\Constraint\AbstractConstraint; /** - * Check that that widget with type Recently Viewed Products is present on category page + * Check that widget with type Recently Viewed Products is present on category page */ class AssertWidgetRecentlyViewedProducts extends AbstractConstraint { diff --git a/dev/tests/integration/testsuite/Magento/Framework/App/Utility/_files/fixtures/theme/registration.php b/dev/tests/integration/testsuite/Magento/Framework/App/Utility/_files/fixtures/theme/registration.php index f3b30797b93ed..c286f6c57d87f 100644 --- a/dev/tests/integration/testsuite/Magento/Framework/App/Utility/_files/fixtures/theme/registration.php +++ b/dev/tests/integration/testsuite/Magento/Framework/App/Utility/_files/fixtures/theme/registration.php @@ -6,4 +6,4 @@ use \Magento\Framework\Component\ComponentRegistrar; -ComponentRegistrar::register(ComponentRegistrar::THEME, 'frontent/Test/theme', __DIR__); +ComponentRegistrar::register(ComponentRegistrar::THEME, 'frontend/Test/theme', __DIR__); diff --git a/dev/tests/integration/testsuite/Magento/Framework/App/Utility/_files/patterns/paths_one.txt b/dev/tests/integration/testsuite/Magento/Framework/App/Utility/_files/patterns/paths_one.txt index 8f2df480aabc5..f9cd49de77d67 100644 --- a/dev/tests/integration/testsuite/Magento/Framework/App/Utility/_files/patterns/paths_one.txt +++ b/dev/tests/integration/testsuite/Magento/Framework/App/Utility/_files/patterns/paths_one.txt @@ -1,2 +1,2 @@ module Magento_Module * -theme frontent/Test/theme One* +theme frontend/Test/theme One* diff --git a/dev/tests/integration/testsuite/Magento/Framework/GraphQl/Config/GraphQlReaderTest.php b/dev/tests/integration/testsuite/Magento/Framework/GraphQl/Config/GraphQlReaderTest.php index d098e9bed4ffe..8583dcf3e4cd2 100644 --- a/dev/tests/integration/testsuite/Magento/Framework/GraphQl/Config/GraphQlReaderTest.php +++ b/dev/tests/integration/testsuite/Magento/Framework/GraphQl/Config/GraphQlReaderTest.php @@ -196,7 +196,7 @@ enumValues(includeDeprecated: true) { 'Missing type in the response' ); } - //Checks to make sure that the the given description exists in the expectedOutput array + //Checks to make sure that the given description exists in the expectedOutput array $this->assertTrue( array_key_exists( array_search( diff --git a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php index a1fe346aae3b6..3f33d0b2c69d5 100644 --- a/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php +++ b/dev/tests/static/framework/Magento/Sniffs/Less/PropertiesLineBreakSniff.php @@ -46,7 +46,7 @@ public function process(File $phpcsFile, $stackPtr) } if ($tokens[$prevPtr]['line'] === $tokens[$stackPtr]['line']) { - $error = 'Each propery must be on a line by itself'; + $error = 'Each property must be on a line by itself'; $phpcsFile->addError($error, $stackPtr, 'SameLine'); } } diff --git a/lib/internal/Magento/Framework/Console/QuestionPerformer/YesNo.php b/lib/internal/Magento/Framework/Console/QuestionPerformer/YesNo.php index b46612df59296..58606bb38914d 100644 --- a/lib/internal/Magento/Framework/Console/QuestionPerformer/YesNo.php +++ b/lib/internal/Magento/Framework/Console/QuestionPerformer/YesNo.php @@ -66,7 +66,7 @@ public function execute(array $messages, InputInterface $input, OutputInterface } /** - * Creates Question object from from given array of messages. + * Creates Question object from given array of messages. * * @param string[] $messages array of messages * @return Question diff --git a/lib/internal/Magento/Framework/DB/TemporaryTableService.php b/lib/internal/Magento/Framework/DB/TemporaryTableService.php index 479cd0c6fddb9..03c1a9b9aa7f6 100644 --- a/lib/internal/Magento/Framework/DB/TemporaryTableService.php +++ b/lib/internal/Magento/Framework/DB/TemporaryTableService.php @@ -10,7 +10,7 @@ /** * Class TemporaryTableService creates a temporary table in mysql from a Magento\Framework\DB\Select. - * Use this class to create an index with that that you want to query later for quick data access + * Use this class to create an index with that you want to query later for quick data access * * @api * @since 100.2.0 diff --git a/lib/web/mage/utils/objects.js b/lib/web/mage/utils/objects.js index d0b77aa4320e3..bd0e496339ace 100644 --- a/lib/web/mage/utils/objects.js +++ b/lib/web/mage/utils/objects.js @@ -83,7 +83,7 @@ define([ * @private * * @param {Object} parent - Object from which to remove property. - * @param {Array} path - Splitted path to the propery. + * @param {Array} path - Splitted path to the property. */ function removeNested(parent, path) { var field = path.pop(); diff --git a/lib/web/mage/validation/url.js b/lib/web/mage/validation/url.js index 67e0e989d248e..00ac3fd4eb15d 100644 --- a/lib/web/mage/validation/url.js +++ b/lib/web/mage/validation/url.js @@ -42,7 +42,7 @@ define([], function () { /** * Sanitize url, replacing disallowed chars * - * @param {Sring} path - url to be normalized + * @param {String} path - url to be normalized * @returns {String} */ sanitize: function (path) { diff --git a/lib/web/prototype/windows/README b/lib/web/prototype/windows/README index e2cb960834593..44da88b6adec5 100644 --- a/lib/web/prototype/windows/README +++ b/lib/web/prototype/windows/README @@ -133,7 +133,7 @@ See samples/index.html for more details and go on my web page : http://prototype - Add Windows.focusedWindow and Windows.closeAll - Add name to iframe in case of url window - Clean up code, use _ for private function (just name convention) - - Add Dialog.info function, usefull for for submit or notice info (in Rails) + - Add Dialog.info function, usefull for submit or notice info (in Rails) - Add minimize and maximize buttons - Add alert_lite.css without any images - Debug diff --git a/setup/performance-toolkit/README.md b/setup/performance-toolkit/README.md index 700f6cd0d775d..bb0a023ab8af1 100644 --- a/setup/performance-toolkit/README.md +++ b/setup/performance-toolkit/README.md @@ -116,7 +116,7 @@ To get more details about available JMeter options, read [Non-GUI Mode](http://j For example, you can run the B2C scenario via console with 90 threads for the Frontend Pool and 10 threads for the Admin Pool: cd {JMeter path}/bin/ - jmeter -n -t {path to peformance toolkit}/benchmark.jmx -j ./jmeter.log -l ./jmeter-results.jtl -Jhost=magento2.dev -Jbase_path=/ -Jadmin_path=admin -JfrontendPoolUsers=90 -JadminPoolUsers=10 + jmeter -n -t {path to performance toolkit}/benchmark.jmx -j ./jmeter.log -l ./jmeter-results.jtl -Jhost=magento2.dev -Jbase_path=/ -Jadmin_path=admin -JfrontendPoolUsers=90 -JadminPoolUsers=10 As a result, you will get `jmeter.log` and `jmeter-results.jtl`. The`jmeter.log` contains information about the test run and can be helpful in determining the cause of an error. The JTL file is a text file containing the results of a test run. It can be opened in the GUI mode to perform analysis of the results (see the *Output* section below).