Skip to content

Commit ea90720

Browse files
committed
Disabled CyclomaticComplexity check. This code is sometimes called multiple 10's of millions of times so micro-optimizations are the name of the game here.
1 parent b8703c4 commit ea90720

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup/src/Magento/Setup/Module/Di/Code/Reader/FileClassScanner.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function getFileContents()
6666
* Extracts the fully qualified class name from a file. It only searches for the first match and stops looking
6767
* as soon as it enters the class definition itself.
6868
*
69+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
6970
* @return array
7071
*/
7172

0 commit comments

Comments
 (0)