PHPUnit 10.5.32 by Sebastian Bergmann and contributors. Runtime: PHP 8.3.6 Configuration: /var/www/html/dev/tests/static/phpunit.xml F.S... 6 / 6 (100%) Time: 00:03.497, Memory: 22.00 MB There was 1 failure: 1) Magento\Test\Php\LiveCodeTest::testCodeStyle PHP Code Sniffer detected 2 violation(s): FILE: /var/www/html/lib/internal/Magento/Framework/Data/Tree/Db.php ------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 26 WARNINGS AFFECTING 26 LINES ------------------------------------------------------------------------------------------------------------ | WARNING | [ ] Copyright is missing or Copyright content/year is not valid 14 | WARNING | [x] Tag @author MUST NOT be used. 18 | WARNING | [ ] Visibility must be declared on all constants if your project supports PHP 7.1 or later 20 | WARNING | [ ] Visibility must be declared on all constants if your project supports PHP 7.1 or later 22 | WARNING | [ ] Visibility must be declared on all constants if your project supports PHP 7.1 or later 24 | WARNING | [ ] Visibility must be declared on all constants if your project supports PHP 7.1 or later 95 | WARNING | [ ] Direct throw of generic Exception is discouraged. Use context specific instead. 111 | WARNING | [ ] Direct throw of generic Exception is discouraged. Use context specific instead. 123 | WARNING | [ ] Missing short description 124 | WARNING | [ ] There must be exactly one blank line before tags 131 | WARNING | [ ] Missing short description 132 | WARNING | [ ] There must be exactly one blank line before tags 143 | WARNING | [ ] Tags visual alignment must be consistent 159 | WARNING | [ ] Direct throw of generic Exception is discouraged. Use context specific instead. 178 | WARNING | [ ] Missing short description 179 | WARNING | [ ] There must be exactly one blank line before tags 192 | WARNING | [ ] Missing short description 193 | WARNING | [ ] There must be exactly one blank line before tags 277 | WARNING | [ ] Direct throw of generic Exception is discouraged. Use context specific instead. 281 | WARNING | [ ] Missing short description 282 | WARNING | [ ] There must be exactly one blank line before tags 310 | WARNING | [ ] Missing short description 311 | WARNING | [ ] There must be exactly one blank line before tags 329 | WARNING | [ ] Missing short description 330 | WARNING | [ ] There must be exactly one blank line before tags 359 | WARNING | [ ] Direct throw of generic Exception is discouraged. Use context specific instead. ------------------------------------------------------------------------------------------------------------ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------ FILE: /var/www/html/lib/internal/Magento/Framework/Data/Tree/Dbp.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------------- | WARNING | [ ] Copyright is missing or Copyright content/year is not valid 16 | WARNING | [x] Tag @author MUST NOT be used. -------------------------------------------------------------------------------- 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:254 FAILURES! Tests: 6, Assertions: 5, Failures: 1, Skipped: 1.