PHPUnit 12.5.14 by Sebastian Bergmann and contributors. Runtime: PHP 8.5.0 Configuration: /var/www/html/dev/tests/static/phpunit.xml FFS... 6 / 6 (100%) Time: 00:03.834, Memory: 22.00 MB There were 2 failures: 1) Magento\Test\Php\LiveCodeTest::testCodeStyle PHP Code Sniffer detected 2 violation(s): FILE: /var/www/html/lib/internal/Magento/Framework/Jwt/JwkFactory.php --------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES --------------------------------------------------------------------------------------------- 753 | WARNING | [ ] Comment block is missing 764 | WARNING | [ ] Comment block is missing 784 | WARNING | [ ] Comment block is missing 820 | WARNING | [ ] Comment block is missing 850 | WARNING | [ ] Comment block is missing 889 | WARNING | [ ] Comment block is missing 953 | WARNING | [x] The closing brace for the class must go on the next line after the body --------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------------- Failed asserting that 2 matches expected 0. /var/www/html/dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php:257 2) Magento\Test\Php\LiveCodeTest::testCodeMess PHP Code Mess has found error(s): /var/www/html/lib/internal/Magento/Framework/Jwt/JwkFactory.php:14 ExcessivePublicCount The class JwkFactory has 45 public methods and attributes. Consider reducing the number of public items to less than 45. /var/www/html/lib/internal/Magento/Framework/Jwt/JwkFactory.php:28 CyclomaticComplexity The method createFromData() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. /var/www/html/lib/internal/Magento/Framework/Jwt/JwkFactory.php:28 NPathComplexity The method createFromData() has an NPath complexity of 512. The configured NPath complexity threshold is 200. /var/www/html/lib/internal/Magento/Framework/Jwt/JwkFactory.php:943 UnusedPrivateMethod Avoid unused private methods such as 'base64Decode'. Failed asserting that 2 matches expected 0. /var/www/html/dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php:295 FAILURES! Tests: 6, Assertions: 5, Failures: 2, Skipped: 1.