Package: phploc Version: 7.0.2-1 Severity: important Tags: upstream Control: block 976811 by -1
The testsuite is currently failing with PHP 8.1, I didn’t notice any upstream activity about it yet. autopkgtest [02:32:56]: test command1: phpunit --bootstrap /usr/share/php/SebastianBergmann/PHPLOC/autoload.php autopkgtest [02:32:56]: test command1: [----------------------- PHPUnit 9.5.10 by Sebastian Bergmann and contributors. Runtime: PHP 8.1.0RC5 Configuration: /tmp/autopkgtest-lxc.dgngl6tq/downtmp/build.Jf8/src/phpunit.xml FF............................. 31 / 31 (100%) Time: 00:00.013, Memory: 6.00 MB There were 2 failures: 1) SebastianBergmann\PHPLOC\AnalyserTest::testWithoutTests Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 'nonFinalClasses' => 1 'finalClasses' => 0 'functions' => 2 - 'namedFunctions' => 1 - 'anonymousFunctions' => 1 + 'namedFunctions' => 0 + 'anonymousFunctions' => 2 'methods' => 4 'publicMethods' => 2 'nonPublicMethods' => 2 @@ @@ 'globalConstants' => 1 'testClasses' => 0 'testMethods' => 0 - 'ccnByLloc' => 0.08 + 'ccnByLloc' => 0.08333333333333333 'llocByNof' => 0.5 'methodCalls' => 6 'staticMethodCalls' => 4 @@ @@ 'namespaces' => 1 'ncloc' => 68 'classCcnMin' => 1 - 'classCcnAvg' => 1.65 + 'classCcnAvg' => 1.6666666666666667 'classCcnMax' => 3 'methodCcnMin' => 1 - 'methodCcnAvg' => 1.65 + 'methodCcnAvg' => 1.6666666666666667 'methodCcnMax' => 2 'classLlocMin' => 0 - 'classLlocAvg' => 7.3 + 'classLlocAvg' => 7.333333333333333 'classLlocMax' => 22 'methodLlocMin' => 4 - 'methodLlocAvg' => 5.6 + 'methodLlocAvg' => 5.666666666666667 'methodLlocMax' => 7 - 'averageMethodsPerClass' => 1.33 + 'averageMethodsPerClass' => 1.3333333333333333 'minimumMethodsPerClass' => 0 'maximumMethodsPerClass' => 4 ) /tmp/autopkgtest-lxc.dgngl6tq/downtmp/build.Jf8/src/tests/unit/AnalyserTest.php:104 2) SebastianBergmann\PHPLOC\AnalyserTest::testWithTests Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 'nonFinalClasses' => 1 'finalClasses' => 0 'functions' => 2 - 'namedFunctions' => 1 - 'anonymousFunctions' => 1 + 'namedFunctions' => 0 + 'anonymousFunctions' => 2 'methods' => 4 'publicMethods' => 2 'nonPublicMethods' => 2 @@ @@ 'globalConstants' => 1 'testClasses' => 1 'testMethods' => 2 - 'ccnByLloc' => 0.08 + 'ccnByLloc' => 0.08333333333333333 'llocByNof' => 0.5 'methodCalls' => 6 'staticMethodCalls' => 4 @@ @@ 'classCcnAvg' => 1.5 'classCcnMax' => 3 'methodCcnMin' => 1 - 'methodCcnAvg' => 1.66 + 'methodCcnAvg' => 1.6666666666666667 'methodCcnMax' => 2 'classLlocMin' => 0 'classLlocAvg' => 5.5 'classLlocMax' => 22 'methodLlocMin' => 4 - 'methodLlocAvg' => 5.6 + 'methodLlocAvg' => 5.666666666666667 'methodLlocMax' => 7 'averageMethodsPerClass' => 1 'minimumMethodsPerClass' => 0 'maximumMethodsPerClass' => 4 ) /tmp/autopkgtest-lxc.dgngl6tq/downtmp/build.Jf8/src/tests/unit/AnalyserTest.php:183 FAILURES! Tests: 31, Assertions: 43, Failures: 2. autopkgtest [02:32:57]: test command1: -----------------------] autopkgtest [02:32:57]: test command1: - - - - - - - - - - results - - - - - - - - - - command1 FAIL non-zero exit status 1
signature.asc
Description: PGP signature