Skip to content

Commit 67f5346

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 da39630 commit 67f5346

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
@@ -67,6 +67,7 @@ public function getFileContents()
6767
* as soon as it enters the class definition itself.
6868
*
6969
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
70+
* @SuppressWarnings(PHPMD.NPathComplexity)
7071
* @return array
7172
*/
7273

0 commit comments

Comments
 (0)