From 30a9173a8c506b1a73cb0de6fa0cfc321b835afa Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Sun, 25 Dec 2022 09:17:00 +0100 Subject: [PATCH 1/5] Added shell to checks --- .php-cs-fixer.dist.php | 3 ++- .phpcs.ecg.xml.dist | 1 + .phpcs.php.xml.dist | 1 + .phpcs.xml.dist | 1 + phpstan.dist.neon | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 83f9b99d93e..653d7c3268e 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -98,7 +98,8 @@ 'app/code/core/Mage/', 'lib/Mage/', 'lib/Magento/', - 'lib/Varien/' + 'lib/Varien/', + 'shell/', ]) ->name('*.php') ->ignoreDotFiles(true) diff --git a/.phpcs.ecg.xml.dist b/.phpcs.ecg.xml.dist index e47bcabeef4..d802c387385 100644 --- a/.phpcs.ecg.xml.dist +++ b/.phpcs.ecg.xml.dist @@ -10,6 +10,7 @@ lib/Mage/ lib/Magento/ lib/Varien/ + shell/ diff --git a/.phpcs.php.xml.dist b/.phpcs.php.xml.dist index 834e429cc6e..302d5e75ff9 100644 --- a/.phpcs.php.xml.dist +++ b/.phpcs.php.xml.dist @@ -10,6 +10,7 @@ lib/Mage/ lib/Magento/ lib/Varien/ + shell/ */Varien/Object.php* diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist index 3becc0355fc..24994abbae4 100644 --- a/.phpcs.xml.dist +++ b/.phpcs.xml.dist @@ -10,6 +10,7 @@ lib/Mage/ lib/Magento/ lib/Varien/ + shell/ diff --git a/phpstan.dist.neon b/phpstan.dist.neon index e3ef425adbf..98df53d565c 100644 --- a/phpstan.dist.neon +++ b/phpstan.dist.neon @@ -16,6 +16,7 @@ parameters: - lib/Mage - lib/Magento - lib/Varien + - shell excludePaths: # removed and fixed modules (OM-2811, OM-2813) - app/code/core/Mage/Backup/* From 341301601ad3e61c6ac29c404a04515f00adb9ab Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Sun, 25 Dec 2022 09:19:42 +0100 Subject: [PATCH 2/5] Minor update - short array - phpdocs --- shell/abstract.php | 6 +++--- shell/indexer.php | 12 ++++++------ shell/log.php | 4 ++-- shell/update-copyright.php | 10 +++++----- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/shell/abstract.php b/shell/abstract.php index be5a06e45d9..1d39cad6ce3 100644 --- a/shell/abstract.php +++ b/shell/abstract.php @@ -61,7 +61,7 @@ abstract class Mage_Shell_Abstract * * @var array */ - protected $_args = array(); + protected $_args = []; /** * Factory instance @@ -112,7 +112,7 @@ protected function _applyPhpVariables() if (file_exists($htaccess)) { // parse htaccess file $data = file_get_contents($htaccess); - $matches = array(); + $matches = []; preg_match_all('#^\s+?php_value\s+([a-z_]+)\s+(.+)$#siUm', $data, $matches, PREG_SET_ORDER); if ($matches) { foreach ($matches as $match) { @@ -137,7 +137,7 @@ protected function _parseArgs() { $current = null; foreach ($_SERVER['argv'] as $arg) { - $match = array(); + $match = []; if (preg_match('#^--([\w\d_-]{1,})$#', $arg, $match) || preg_match('#^-([\w\d_]{1,})$#', $arg, $match)) { $current = $match[1]; $this->_args[$current] = true; diff --git a/shell/indexer.php b/shell/indexer.php index 3def3fa12fa..240c6816017 100644 --- a/shell/indexer.php +++ b/shell/indexer.php @@ -48,7 +48,7 @@ protected function _getIndexer() */ protected function _parseIndexerString($string) { - $processes = array(); + $processes = []; if ($string == 'all') { $collection = $this->_getIndexer()->getProcessesCollection(); foreach ($collection as $process) { @@ -79,11 +79,11 @@ protected function _parseIndexerString($string) */ public function run() { - $_SESSION = array(); + $_SESSION = []; if ($this->getArg('info')) { $processes = $this->_parseIndexerString('all'); foreach ($processes as $process) { - /* @var $process Mage_Index_Model_Process */ + /** @var Mage_Index_Model_Process $process */ echo sprintf('%-30s', $process->getIndexerCode()); echo $process->getIndexer()->getName() . "\n"; } @@ -94,7 +94,7 @@ public function run() $processes = $this->_parseIndexerString($this->getArg('mode')); } foreach ($processes as $process) { - /* @var $process Mage_Index_Model_Process */ + /** @var Mage_Index_Model_Process $process */ $status = 'unknown'; if ($this->getArg('status')) { switch ($process->getStatus()) { @@ -136,7 +136,7 @@ public function run() $processes = $this->_parseIndexerString($this->getArg('mode-manual')); } foreach ($processes as $process) { - /* @var $process Mage_Index_Model_Process */ + /** @var Mage_Index_Model_Process $process */ try { $process->setMode($mode)->save(); echo $process->getIndexer()->getName() . " index was successfully changed index mode\n"; @@ -161,7 +161,7 @@ public function run() if( $this->getArg('reindexallrequired') && $process->getStatus() == Mage_Index_Model_Process::STATUS_PENDING ) { continue; } - /* @var $process Mage_Index_Model_Process */ + /** @var Mage_Index_Model_Process $process */ try { $startTime = microtime(true); $process->reindexEverything(); diff --git a/shell/log.php b/shell/log.php index bb851ca365b..d881aaa3994 100644 --- a/shell/log.php +++ b/shell/log.php @@ -104,7 +104,7 @@ public function run() $resource = $this->_getLog()->getResource(); $adapter = $resource->getReadConnection(); // log tables - $tables = array( + $tables = [ $resource->getTable('log/customer'), $resource->getTable('log/visitor'), $resource->getTable('log/visitor_info'), @@ -117,7 +117,7 @@ public function run() $resource->getTable('reports/event'), $resource->getTable('catalog/compare_item'), - ); + ]; $rows = 0; $dataLengh = 0; diff --git a/shell/update-copyright.php b/shell/update-copyright.php index f0192bc1253..e263283e4f3 100644 --- a/shell/update-copyright.php +++ b/shell/update-copyright.php @@ -17,8 +17,8 @@ $commits = explode("\n", shell_exec("git log --pretty='%H %cs %s'")); // Keep track of upstream Magento and OpenMage commits for debugging -$commits_magento = array(); -$commits_openmage = array(); +$commits_magento = []; +$commits_openmage = []; // Filter only commits by OpenMage contributors and reduce to assoc array with format: // array( @@ -36,7 +36,7 @@ function($acc, $cur) use(&$commits_magento, &$commits_openmage) { $msg = trim($msg); // Push into upstream magento commits for now. If we don't return early we'll move to openmage commits - $commits_magento[] = implode(' ', array($hash, $date, $msg)); + $commits_magento[] = implode(' ', [$hash, $date, $msg]); // Ignore any "Updated Copyright" type commits if (preg_match('/^(Add(ed)?|Update(d)?).*?Copyright/i', $msg)) { @@ -111,7 +111,7 @@ function($acc, $cur) use(&$commits_magento, &$commits_openmage) { return $acc; }, - array() + [] ); // If `php update-copyright.php dump` then stop here @@ -138,7 +138,7 @@ function($acc, $cur) use(&$commits_magento, &$commits_openmage) { $commits_file = array_filter(explode("\n", shell_exec("git log --pretty='%H' '$file'"))); // Find the years this file has been modified from our filtered $commits assoc array - $copyright_years = array(); + $copyright_years = []; foreach ($commits_file as $hash) { if (array_key_exists($hash, $commits) && !in_array($commits[$hash], $copyright_years)) { $copyright_years[] = $commits[$hash]; From aeabde1db7e79ef454b9ce484f6be14e4f849196 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Sun, 25 Dec 2022 09:41:53 +0100 Subject: [PATCH 3/5] Minor update - short array - phpdocs --- .phpcs.xml.dist | 4 +++ shell/abstract.php | 4 +-- shell/indexer.php | 26 +++++++++---------- shell/log.php | 29 +++++++++++++-------- shell/update-copyright.php | 53 +++++++++++++++++++------------------- 5 files changed, 62 insertions(+), 54 deletions(-) diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist index 24994abbae4..a4a9c1ce8fe 100644 --- a/.phpcs.xml.dist +++ b/.phpcs.xml.dist @@ -27,6 +27,10 @@ */core/Mage/Downloadable/controllers/Adminhtml/Downloadable/Product/EditController.php* */core/Mage/Downloadable/controllers/Product/EditController.php* */core/Mage/Downloadable/controllers/FileController.php* + */shell/indexer.php* + */shell/log.php* + */shell/translations.php* + */shell/update-copyright.php* */lib/Varien/Db/Tree/Exception.php* */lib/Varien/Db/Tree/Node.php* diff --git a/shell/abstract.php b/shell/abstract.php index 1d39cad6ce3..42eac0e9dd7 100644 --- a/shell/abstract.php +++ b/shell/abstract.php @@ -38,7 +38,7 @@ abstract class Mage_Shell_Abstract /** * Magento Root path * - * @var string + * @var string|null */ protected $_rootPath; @@ -144,7 +144,7 @@ protected function _parseArgs() } else { if ($current) { $this->_args[$current] = $arg; - } else if (preg_match('#^([\w\d_]{1,})$#', $arg, $match)) { + } elseif (preg_match('#^([\w\d_]{1,})$#', $arg, $match)) { $this->_args[$match[1]] = true; } } diff --git a/shell/indexer.php b/shell/indexer.php index 240c6816017..0229d262892 100644 --- a/shell/indexer.php +++ b/shell/indexer.php @@ -33,7 +33,7 @@ class Mage_Shell_Indexer extends Mage_Shell_Abstract /** * Get Indexer instance * - * @return Mage_Index_Model_Indexer + * @return Mage_Core_Model_Abstract|Mage_Index_Model_Indexer */ protected function _getIndexer() { @@ -57,11 +57,11 @@ protected function _parseIndexerString($string) } $processes[] = $process; } - } else if (!empty($string)) { + } elseif (!empty($string)) { $codes = explode(',', $string); $codes = array_map('trim', $codes); $processes = $this->_getIndexer()->getProcessesCollectionByCodes($codes); - foreach($processes as $key => $process) { + foreach ($processes as $key => $process) { if ($process->getIndexer()->getVisibility() === false) { unset($processes[$key]); } @@ -82,19 +82,19 @@ public function run() $_SESSION = []; if ($this->getArg('info')) { $processes = $this->_parseIndexerString('all'); + /** @var Mage_Index_Model_Process $process */ foreach ($processes as $process) { - /** @var Mage_Index_Model_Process $process */ echo sprintf('%-30s', $process->getIndexerCode()); echo $process->getIndexer()->getName() . "\n"; } - } else if ($this->getArg('status') || $this->getArg('mode')) { + } elseif ($this->getArg('status') || $this->getArg('mode')) { if ($this->getArg('status')) { $processes = $this->_parseIndexerString($this->getArg('status')); } else { $processes = $this->_parseIndexerString($this->getArg('mode')); } + /** @var Mage_Index_Model_Process $process */ foreach ($processes as $process) { - /** @var Mage_Index_Model_Process $process */ $status = 'unknown'; if ($this->getArg('status')) { switch ($process->getStatus()) { @@ -124,10 +124,9 @@ public function run() break; } } - echo sprintf('%-35s ', $process->getIndexer()->getName() . ':') . $status ."\n"; - + echo sprintf('%-35s ', $process->getIndexer()->getName() . ':') . $status . "\n"; } - } else if ($this->getArg('mode-realtime') || $this->getArg('mode-manual')) { + } elseif ($this->getArg('mode-realtime') || $this->getArg('mode-manual')) { if ($this->getArg('mode-realtime')) { $mode = Mage_Index_Model_Process::MODE_REAL_TIME; $processes = $this->_parseIndexerString($this->getArg('mode-realtime')); @@ -135,8 +134,8 @@ public function run() $mode = Mage_Index_Model_Process::MODE_MANUAL; $processes = $this->_parseIndexerString($this->getArg('mode-manual')); } + /** @var Mage_Index_Model_Process $process */ foreach ($processes as $process) { - /** @var Mage_Index_Model_Process $process */ try { $process->setMode($mode)->save(); echo $process->getIndexer()->getName() . " index was successfully changed index mode\n"; @@ -147,7 +146,7 @@ public function run() echo $e . "\n"; } } - } else if ($this->getArg('reindex') || $this->getArg('reindexall') || $this->getArg('reindexallrequired')) { + } elseif ($this->getArg('reindex') || $this->getArg('reindexall') || $this->getArg('reindexallrequired')) { if ($this->getArg('reindex')) { $processes = $this->_parseIndexerString($this->getArg('reindex')); } else { @@ -156,12 +155,12 @@ public function run() try { Mage::dispatchEvent('shell_reindex_init_process'); + /** @var Mage_Index_Model_Process $process */ foreach ($processes as $process) { //reindex only if required - if( $this->getArg('reindexallrequired') && $process->getStatus() == Mage_Index_Model_Process::STATUS_PENDING ) { + if ($this->getArg('reindexallrequired') && $process->getStatus() == Mage_Index_Model_Process::STATUS_PENDING) { continue; } - /** @var Mage_Index_Model_Process $process */ try { $startTime = microtime(true); $process->reindexEverything(); @@ -181,7 +180,6 @@ public function run() Mage::dispatchEvent('shell_reindex_finalize_process'); echo $e->getMessage() . "\n"; } - } else { echo $this->usageHelp(); } diff --git a/shell/log.php b/shell/log.php index d881aaa3994..77738019567 100644 --- a/shell/log.php +++ b/shell/log.php @@ -32,7 +32,7 @@ class Mage_Shell_Log extends Mage_Shell_Abstract /** * Log instance * - * @var Mage_Log_Model_Log + * @var Mage_Log_Model_Log|null */ protected $_log; @@ -58,14 +58,17 @@ protected function _getLog() protected function _humanCount($number) { if ($number < 1000) { - return $number; - } else if ($number >= 1000 && $number < 1000000) { + return (string)$number; + } + if ($number < 1000000) { return sprintf('%.2fK', $number / 1000); - } else if ($number >= 1000000 && $number < 1000000000) { + } + + if ($number < 1000000000) { return sprintf('%.2fM', $number / 1000000); - } else { - return sprintf('%.2fB', $number / 1000000000); } + + return sprintf('%.2fB', $number / 1000000000); } /** @@ -78,13 +81,17 @@ protected function _humanSize($number) { if ($number < 1000) { return sprintf('%d b', $number); - } else if ($number >= 1000 && $number < 1000000) { + } + + if ($number < 1000000) { return sprintf('%.2fKb', $number / 1000); - } else if ($number >= 1000000 && $number < 1000000000) { + } + + if ($number < 1000000000) { return sprintf('%.2fMb', $number / 1000000); - } else { - return sprintf('%.2fGb', $number / 1000000000); } + + return sprintf('%.2fGb', $number / 1000000000); } /** @@ -100,7 +107,7 @@ public function run() } $this->_getLog()->clean(); echo "Log cleaned\n"; - } else if ($this->getArg('status')) { + } elseif ($this->getArg('status')) { $resource = $this->_getLog()->getResource(); $adapter = $resource->getReadConnection(); // log tables diff --git a/shell/update-copyright.php b/shell/update-copyright.php index e263283e4f3..e0915404fef 100644 --- a/shell/update-copyright.php +++ b/shell/update-copyright.php @@ -7,8 +7,9 @@ error_reporting(E_ALL); ini_set('display_errors', 1); -if (PHP_SAPI != 'cli') +if (PHP_SAPI != 'cli') { exit(0); +} // Max number of lines to check in each file, "@copyright" line shouldn't be further than 50 lines down define('MAX_SCAN_LINES', 50); @@ -27,7 +28,7 @@ $commits = array_reduce( $commits, - function($acc, $cur) use(&$commits_magento, &$commits_openmage) { + function ($acc, $cur) use (&$commits_magento, &$commits_openmage) { $cur = explode(' ', $cur, 3); if (count($cur) !== 3) { return $acc; @@ -78,32 +79,32 @@ function($acc, $cur) use(&$commits_magento, &$commits_openmage) { // Ignore any commits with "SUPEE", except for a few whitelisted ones if (stripos($msg, 'SUPEE') !== false) { switch ($hash) { - case 'c0c5342b4ce6da45e1a7b12a48571f2d937f5b5c': // 2020-10-18 Adds missing meta tags to prevent SUPEE-11295 warnings (#1236) - case '951c0c79d75a13ed1f4a67b629c3de8bae7dcf0a': // 2020-07-06 Fix broken file upload for downloadables caused by PATCH SUPEE-11314 (#1048) - break; - default: - return $acc; + case 'c0c5342b4ce6da45e1a7b12a48571f2d937f5b5c': // 2020-10-18 Adds missing meta tags to prevent SUPEE-11295 warnings (#1236) + case '951c0c79d75a13ed1f4a67b629c3de8bae7dcf0a': // 2020-07-06 Fix broken file upload for downloadables caused by PATCH SUPEE-11314 (#1048) + break; + default: + return $acc; } } // Other commits not caught by rules above switch ($hash) { - case 'e1e0826b969b736e58b2bc6cf5daa5ea653c8971': // 2009-12-31 Reverting magento-1.4.0.0-alpha1 thru magento-1.4.0.0-rc1 commits - case '88e2a6b3c1c77f89801991c1e1a5c349e87335ad': // 2011-02-09 Fixing missing files - case 'd0b97bacb84d061d98f7f765b9edf932d7ac6da8': // 2013-09-25 Magento 1.8.0.0, excluding copyright changes from 2012 to 2013 - case 'b9c3c45f9fcb78d133064d2cb2b607a1c7b47379': // 2013-09-25 Copyright change from 2012 to 2013 - case '170cfbaee735f40a3772b367f621ad4c43cf56c5': // 2017-02-10 Imported 1.9.3.2 sources - case 'c401b73c3957ee89a21c4c79ee0aee7070279810': // 2017-03-03 Merge branch '1.9.3.x' into 1.9.3.0 - case '0e7f77ea8756e69df59746c9191f45a1d7fbad3d': // 2018-03-09 Merge var directory from 1.9.3.8. - case '2f09902201f5ae2b2063cdde4c354484f72d5396': // 2018-03-09 Update Copyright notices for 1.9.3.8. - case 'd92a24aa27360439a6f6ed68ba9260685b2f9e54': // 2018-03-09 Fix 1.9.3.x upstream merges - case 'a5ad2ee47599400ef0066562315b300c7f581938': // 2017-11-28 1.9.3.7 - case '577122d5a50acb7ae585a817fa50faee848c9673': // 2018-02-28 Merge pull request #61 from JeroenBoersma/magento-1.9.3.8 - case '9e443ccb2167cfec26aedc6446600a079b8caee1': // 2020-01-29 Magento 1.9.4.4 code changes - case '76ca350b1533f1e2a357d247a807fb558276f1b4': // 2020-01-29 Magento 1.9.4.4 copyright only - case '16dc8f76f1f6bbbaf18005e88ae08df218d60aac': // 2020-05-05 Updated to pristine copy of 1.9.4.5 from magento.com (#944) - case 'e6f08517af7e8ce1b166905737874da721e4427e': // Remove DISCLAIMER and change Magento -> OpenMage in header (#2297) - return $acc; + case 'e1e0826b969b736e58b2bc6cf5daa5ea653c8971': // 2009-12-31 Reverting magento-1.4.0.0-alpha1 thru magento-1.4.0.0-rc1 commits + case '88e2a6b3c1c77f89801991c1e1a5c349e87335ad': // 2011-02-09 Fixing missing files + case 'd0b97bacb84d061d98f7f765b9edf932d7ac6da8': // 2013-09-25 Magento 1.8.0.0, excluding copyright changes from 2012 to 2013 + case 'b9c3c45f9fcb78d133064d2cb2b607a1c7b47379': // 2013-09-25 Copyright change from 2012 to 2013 + case '170cfbaee735f40a3772b367f621ad4c43cf56c5': // 2017-02-10 Imported 1.9.3.2 sources + case 'c401b73c3957ee89a21c4c79ee0aee7070279810': // 2017-03-03 Merge branch '1.9.3.x' into 1.9.3.0 + case '0e7f77ea8756e69df59746c9191f45a1d7fbad3d': // 2018-03-09 Merge var directory from 1.9.3.8. + case '2f09902201f5ae2b2063cdde4c354484f72d5396': // 2018-03-09 Update Copyright notices for 1.9.3.8. + case 'd92a24aa27360439a6f6ed68ba9260685b2f9e54': // 2018-03-09 Fix 1.9.3.x upstream merges + case 'a5ad2ee47599400ef0066562315b300c7f581938': // 2017-11-28 1.9.3.7 + case '577122d5a50acb7ae585a817fa50faee848c9673': // 2018-02-28 Merge pull request #61 from JeroenBoersma/magento-1.9.3.8 + case '9e443ccb2167cfec26aedc6446600a079b8caee1': // 2020-01-29 Magento 1.9.4.4 code changes + case '76ca350b1533f1e2a357d247a807fb558276f1b4': // 2020-01-29 Magento 1.9.4.4 copyright only + case '16dc8f76f1f6bbbaf18005e88ae08df218d60aac': // 2020-05-05 Updated to pristine copy of 1.9.4.5 from magento.com (#944) + case 'e6f08517af7e8ce1b166905737874da721e4427e': // Remove DISCLAIMER and change Magento -> OpenMage in header (#2297) + return $acc; } $commits_openmage[] = array_pop($commits_magento); @@ -128,7 +129,6 @@ function($acc, $cur) use(&$commits_magento, &$commits_openmage) { $files_updated = 0; foreach ($files as $file) { - // Ignore this file if ($file === './shell/update-copyright.php') { continue; @@ -161,16 +161,15 @@ function($acc, $cur) use(&$commits_magento, &$commits_openmage) { // Find copyright line foreach ($contents as $line_no => &$line) { - // Check that this is a copyright line if (!preg_match('/^.*@copyright.*Magento.*$/', $line)) { continue; } // Check if we have an existing Copyright OpenMage line and update - if (preg_match('/.*?@copyright.*?(\d{4}(?:\s*-\s*\d{4})?).*?OpenMage.*/', $contents[$line_no+1], $match)) { + if (preg_match('/.*?@copyright.*?(\d{4}(?:\s*-\s*\d{4})?).*?OpenMage.*/', $contents[$line_no + 1], $match)) { if ($match[1] !== $copyright_years_str) { - $contents[$line_no+1] = str_replace($match[1], $copyright_years_str, $match[0]); + $contents[$line_no + 1] = str_replace($match[1], $copyright_years_str, $match[0]); $update = true; } break; From 612c5347123ec12cfb50a339c10ea8cf70ef9e11 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Sun, 25 Dec 2022 09:55:11 +0100 Subject: [PATCH 4/5] Updated phpstan.dist.baseline.neon --- phpstan.dist.baseline.neon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpstan.dist.baseline.neon b/phpstan.dist.baseline.neon index d942a085893..2a9d633b5fa 100644 --- a/phpstan.dist.baseline.neon +++ b/phpstan.dist.baseline.neon @@ -7859,3 +7859,8 @@ parameters: message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#" count: 1 path: lib/Varien/Simplexml/Config.php + + - + message: "#^Strict comparison using \\=\\=\\= between '' and 'dump' will always evaluate to false\\.$#" + count: 1 + path: shell/update-copyright.php From f3bbac6ba6a03f8963af071e8fd97bd161b5fe61 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Sun, 25 Dec 2022 09:58:18 +0100 Subject: [PATCH 5/5] Updated labeler.yml --- .github/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index dbb2d3ae826..7909fe63c73 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -606,7 +606,7 @@ - .phpstorm.meta.php/* 'phpcs': - - phpcs* + - .phpcs* - .github/workflows/phpcs.yml 'php-cs-fixer':