Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that users of 32-bit systems might encounter precision issues when running Phing #50

Open
twoseascharlie opened this issue Jan 27, 2022 · 6 comments

Comments

@twoseascharlie
Copy link

Describe the bug
I am running into a couple of issues running the phpunit tests for the latest/main of phing. I am running them on a 32-bit linux system.

Steps To Reproduce
Checkout/clone phing and run the unit tests on a 32-bit system.

     $ composer install
     $ cd tests
     $ ../bin/phing

Expected behavior
All tests should pass on a clean checkout/clone of the repo.

Additional context
I didn't see anything that said the phing tool, or the unit tests, were dependent on a 64-bit system. But there are a couple of places that make this assumption by using int types. Since the php int type is system dependent, these should be set up in a way that works on any 64 or 32-bit system. Or it should be documented that a 64-bit system is required to use phing.

@siad007
Copy link
Member

siad007 commented Jan 27, 2022

Would you be so kind to share your output please?

@twoseascharlie
Copy link
Author

can't upload xml/html files to github, so copy/pasting relevant test result failures and errors:

terminal output:

  [phpunit] Testsuite: Phing\Test\Task\System\FileSizeTaskTest::testUnitAttribute
  [phpunit] Tests run: 8, Risky: 0, Warnings: 0, Failures: 0, Errors: 1, Incomplete: 0, Skipped: 0, Time elapsed: 0.12361 s
  [phpunit] testUnitAttribute with data set phingofficial/phing#7 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] Testsuite: Phing\Test\Task\System\FileSizeTaskTest
  [phpunit] Tests run: 15, Risky: 0, Warnings: 0, Failures: 0, Errors: 1, Incomplete: 0, Skipped: 0, Time elapsed: 0.23727 s
  [phpunit] testUnitAttribute with data set phingofficial/phing#7 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  
  [phpunit] Testsuite: Phing\Test\Type\Selector\DateSelectorTest
  [phpunit] Tests run: 18, Risky: 0, Warnings: 0, Failures: 4, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed: 0.54037 s
  [phpunit] testMillisWithDefaults FAILED
  [phpunit] Now file should exist in the output directory
  [phpunit] Failed asserting that file "/home/pi/files/code/githubdev/phing/phing/tests/etc/types/selectors/tmp/date/testoutput/dstzKnMDS" exists.
  [phpunit] testMillisWithWhenAfter FAILED
  [phpunit] Before file should not exist in the output directory
  [phpunit] Failed asserting that file "/home/pi/files/code/githubdev/phing/phing/tests/etc/types/selectors/tmp/date/testoutput/dsttT1IVj" does not exist.
  [phpunit] testMillisWithWhenBefore FAILED
  [phpunit] Before file should exist in the output directory
  [phpunit] Failed asserting that file "/home/pi/files/code/githubdev/phing/phing/tests/etc/types/selectors/tmp/date/testoutput/dstx1lgA4" exists.
  [phpunit] testMillisGranularitySixSeconds FAILED
  [phpunit] -6s file missing from the output directory
  [phpunit] Failed asserting that file "/home/pi/files/code/githubdev/phing/phing/tests/etc/types/selectors/tmp/date/testoutput/dstTu6xrW" exists.
  

  [phpunit] Testsuite: Phing\Test\Util\SizeHelperTest::testFromHumanToBytes
  [phpunit] Tests run: 40, Risky: 0, Warnings: 0, Failures: 0, Errors: 8, Incomplete: 0, Skipped: 0, Time elapsed: 0.03904 s
  [phpunit] testFromHumanToBytes with data set phingofficial/phing#32 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] testFromHumanToBytes with data set phingofficial/phing#33 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] testFromHumanToBytes with data set phingofficial/phing#34 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] testFromHumanToBytes with data set phingofficial/phing#35 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] testFromHumanToBytes with data set phingofficial/phing#36 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] testFromHumanToBytes with data set phingofficial/phing#37 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] testFromHumanToBytes with data set phingofficial/phing#38 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] testFromHumanToBytes with data set phingofficial/phing#39 ERROR
  [phpunit] Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned
  [phpunit] Testsuite: Phing\Test\Util\SizeHelperTest::testInvalidFromHumanToBytes
  [phpunit] Tests run: 10, Risky: 0, Warnings: 0, Failures: 0, Errors: 0, Incomplete: 0, Skipped: 0, Time elapsed: 0.00445 s
  [phpunit] Testsuite: Phing\Test\Util\SizeHelperTest::testFromBytesTo
  [phpunit] Tests run: 34, Risky: 0, Warnings: 0, Failures: 0, Errors: 16, Incomplete: 0, Skipped: 0, Time elapsed: 0.05670 s
  [phpunit] testFromBytesTo with data set phingofficial/phing#18 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#19 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#20 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#21 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#22 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#23 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#24 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#25 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#26 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#27 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#28 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#29 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#30 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#31 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#32 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] testFromBytesTo with data set phingofficial/phing#33 ERROR
  [phpunit] Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545
  [phpunit] Testsuite: Phing\Test\Util\SizeHelperTest::testInvalidFromBytesTo

xml test results:

    <testsuite name="Phing\Test\Task\System\FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" tests="15" assertions="33" errors="1" failures="0" skipped="0" time="0.226278">
      <testcase name="testSimpleCase" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="29" assertions="2" time="0.022288"/>
      <testcase name="testPropertyNameAttribute" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="37" assertions="2" time="0.018239"/>
      <testsuite name="Phing\Test\Task\System\FileSizeTaskTest::testUnitAttribute" tests="8" assertions="24" errors="1" failures="0" skipped="0" time="0.116579">
        <testcase name="testUnitAttribute with data set #0" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="54" assertions="4" time="0.014697"/>
        <testcase name="testUnitAttribute with data set phingofficial/phing#1" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="54" assertions="4" time="0.014823"/>
        <testcase name="testUnitAttribute with data set phingofficial/phing#2" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="54" assertions="4" time="0.014541"/>
        <testcase name="testUnitAttribute with data set phingofficial/phing#3" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="54" assertions="3" time="0.014535"/>
        <testcase name="testUnitAttribute with data set phingofficial/phing#4" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="54" assertions="3" time="0.014491"/>
        <testcase name="testUnitAttribute with data set phingofficial/phing#5" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="54" assertions="3" time="0.014536"/>
        <testcase name="testUnitAttribute with data set phingofficial/phing#6" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="54" assertions="3" time="0.014413"/>
        <testcase name="testUnitAttribute with data set phingofficial/phing#7" class="Phing\Test\Task\System\FileSizeTaskTest" classname="Phing.Test.Task.System.FileSizeTaskTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php" line="54" assertions="0" time="0.014544">
          <error type="TypeError">Phing\Test\Task\System\FileSizeTaskTest::testUnitAttribute with data set phingofficial/phing#7 ('20m', 't', '20971520B', '1.9073486328125E-5t', '1.9073486328125E-5')
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:102
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:63
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task/System/FileSizeTask.php:104
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Support/BuildFileTest.php:296
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Task/System/FileSizeTaskTest.php:58
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
<testsuite name="Phing\Test\Type\Selector\DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" tests="18" assertions="54" errors="0" failures="4" skipped="0" time="0.523422">
      <testcase name="testSecondsWithDefaults" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="95" assertions="3" time="0.029395"/>
      <testcase name="testSecondsWithWhenAfter" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="117" assertions="3" time="0.028856"/>
      <testcase name="testSecondsWithWhenBefore" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="139" assertions="3" time="0.028676"/>
      <testcase name="testSecondsGranularitySixtySeconds" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="161" assertions="11" time="0.046131"/>
      <testcase name="testDateTimeWithDefaults" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="201" assertions="3" time="0.028781"/>
      <testcase name="testDateTimeWithWhenAfter" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="225" assertions="3" time="0.029008"/>
      <testcase name="testDateTimeWithWhenBefore" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="249" assertions="3" time="0.029624"/>
      <testcase name="testDateTimeGranularityThirtySeconds" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="273" assertions="11" time="0.045849"/>
      <testcase name="testMillisWithDefaults" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="315" assertions="3" time="0.027498">
        <failure type="PHPUnit\Framework\ExpectationFailedException">Phing\Test\Type\Selector\DateSelectorTest::testMillisWithDefaults
Now file should exist in the output directory
Failed asserting that file "/home/pi/files/code/githubdev/phing/phing/tests/etc/types/selectors/tmp/date/testoutput/dstzKnMDS" exists.

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php:330
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</failure>
      </testcase>
      <testcase name="testMillisWithWhenAfter" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="338" assertions="1" time="0.032146">
        <failure type="PHPUnit\Framework\ExpectationFailedException">Phing\Test\Type\Selector\DateSelectorTest::testMillisWithWhenAfter
Before file should not exist in the output directory
Failed asserting that file "/home/pi/files/code/githubdev/phing/phing/tests/etc/types/selectors/tmp/date/testoutput/dsttT1IVj" does not exist.

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php:351
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</failure>
      </testcase>
      <testcase name="testMillisWithWhenBefore" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="361" assertions="3" time="0.027489">
        <failure type="PHPUnit\Framework\ExpectationFailedException">Phing\Test\Type\Selector\DateSelectorTest::testMillisWithWhenBefore
Before file should exist in the output directory
Failed asserting that file "/home/pi/files/code/githubdev/phing/phing/tests/etc/types/selectors/tmp/date/testoutput/dstx1lgA4" exists.

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php:376
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</failure>
      </testcase>
      <testcase name="testMillisGranularitySixSeconds" class="Phing\Test\Type\Selector\DateSelectorTest" classname="Phing.Test.Type.Selector.DateSelectorTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php" line="384" assertions="1" time="0.036538">
        <failure type="PHPUnit\Framework\ExpectationFailedException">Phing\Test\Type\Selector\DateSelectorTest::testMillisGranularitySixSeconds
-6s file missing from the output directory
Failed asserting that file "/home/pi/files/code/githubdev/phing/phing/tests/etc/types/selectors/tmp/date/testoutput/dstTu6xrW" exists.

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Type/Selector/DateSelectorTest.php:411
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</failure>
SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" tests="93" assertions="88" errors="24" failures="0" skipped="0" time="0.017538">
      <testsuite name="Phing\Test\Util\SizeHelperTest::testFromHumanToBytes" tests="40" assertions="32" errors="8" failures="0" skipped="0" time="0.007189">
        <testcase name="testFromHumanToBytes with data set #0" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000254"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#1" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000119"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#2" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000121"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#3" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000119"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#4" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000114"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#5" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000118"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#6" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000116"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#7" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000154"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#8" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000191"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#9" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000168"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#10" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000122"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#11" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000157"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#12" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000136"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#13" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000185"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#14" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000253"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#15" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000182"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#16" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000176"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#17" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000195"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#18" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000223"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#19" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000214"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#20" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000203"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#21" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000202"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#22" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000164"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#23" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000125"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#24" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000126"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#25" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000176"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#26" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000130"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#27" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000126"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#28" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000124"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#29" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000144"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#30" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000141"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#31" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="1" time="0.000142"/>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#32" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="0" time="0.000264">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromHumanToBytes with data set phingofficial/phing#32 ('00.1T', 109951162777.6)
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:102
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:53
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:39
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#33" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="0" time="0.000257">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromHumanToBytes with data set phingofficial/phing#33 ('00.1ti', 109951162777.6)
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:102
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:53
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:39
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#34" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="0" time="0.000243">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromHumanToBytes with data set phingofficial/phing#34 ('00.1tib', 109951162777.6)
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:102
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:53
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:39
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#35" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="0" time="0.000256">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromHumanToBytes with data set phingofficial/phing#35 ('00.1tebi', 109951162777.6)
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:102
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:53
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:39
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#36" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="0" time="0.000245">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromHumanToBytes with data set phingofficial/phing#36 ('00.1tebibyte', 109951162777.6)
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:102
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:53
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:39
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#37" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="0" time="0.000277">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromHumanToBytes with data set phingofficial/phing#37 ('00.1tb', 100000000000.0)
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:107
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:53
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:39
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#38" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="0" time="0.000272">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromHumanToBytes with data set phingofficial/phing#38 ('00.1tera', 100000000000.0)
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:107
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:53
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:39
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromHumanToBytes with data set phingofficial/phing#39" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="37" assertions="0" time="0.000258">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromHumanToBytes with data set phingofficial/phing#39 ('00.1terabyte', 100000000000.0)
TypeError: Return value of Phing\Util\SizeHelper::findUnitMultiple() must be of the type int, float returned

/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:107
/home/pi/files/code/githubdev/phing/phing/src/Phing/Util/SizeHelper.php:53
/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:39
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
      </testsuite>
      <testsuite name="Phing\Test\Util\SizeHelperTest::testInvalidFromHumanToBytes" tests="10" assertions="20" errors="0" failures="0" skipped="0" time="0.001965">
        <testcase name="testInvalidFromHumanToBytes with data set #0" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000322"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#1" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000208"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#2" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000186"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#3" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000152"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#4" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000146"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#5" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000204"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#6" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000187"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#7" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000186"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#8" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000187"/>
        <testcase name="testInvalidFromHumanToBytes with data set phingofficial/phing#9" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="92" assertions="2" time="0.000187"/>
      </testsuite>
      <testsuite name="Phing\Test\Util\SizeHelperTest::testFromBytesTo" tests="34" assertions="18" errors="16" failures="0" skipped="0" time="0.006540">
        <testcase name="testFromBytesTo with data set #0" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000244"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#1" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000115"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#2" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000115"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#3" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000113"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#4" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000111"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#5" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000111"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#6" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000110"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#7" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000136"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#8" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000130"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#9" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000128"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#10" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000115"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#11" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000114"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#12" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000115"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#13" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000117"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#14" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000116"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#15" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000134"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#16" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000133"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#17" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="1" time="0.000133"/>
        <testcase name="testFromBytesTo with data set phingofficial/phing#18" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000213">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#18 (4294967296.0, 'g', 4)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#19" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000208">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#19 (4294967296.0, 'gi', 4)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#20" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000322">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#20 (4294967296.0, 'gib', 4)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#21" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000289">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#21 (4294967296.0, 'gibi', 4)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#22" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000261">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#22 (4294967296.0, 'gibibyte', 4)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#23" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000250">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#23 (4500000000.0, 'gb', 4.5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#24" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000270">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#24 (4500000000.0, 'giga', 4.5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#25" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000272">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#25 (4500000000.0, 'gigabyte', 4.5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#26" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000265">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#26 (5497558138880.0, 'T', 5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#27" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000278">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#27 (5497558138880.0, 'Ti', 5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#28" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000261">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#28 (5497558138880.0, 'Tib', 5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#29" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000247">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#29 (5497558138880.0, 'Tebi', 5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#30" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000270">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#30 (5497558138880.0, 'Tebibyte', 5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#31" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000283">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#31 (5500000000000.0, 'Tb', 5.5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#32" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000271">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#32 (5500000000000.0, 'Tera', 5.5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
        <testcase name="testFromBytesTo with data set phingofficial/phing#33" class="Phing\Test\Util\SizeHelperTest" classname="Phing.Test.Util.SizeHelperTest" file="/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php" line="118" assertions="0" time="0.000292">
          <error type="TypeError">Phing\Test\Util\SizeHelperTest::testFromBytesTo with data set phingofficial/phing#33 (5500000000000.0, 'Terabyte', 5.5)
TypeError: Argument 1 passed to Phing\Test\Util\SizeHelperTest::testFromBytesTo() must be of the type int, float given, called in /home/pi/files/code/githubdev/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1545

/home/pi/files/code/githubdev/phing/phing/tests/Phing/Util/SizeHelperTest.php:118
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTestRunner9.php:174
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:623
/home/pi/files/code/githubdev/phing/phing/vendor/phing/task-phpunit/src/PHPUnitTask.php:501
/home/pi/files/code/githubdev/phing/phing/src/Phing/UnknownElement.php:116
/home/pi/files/code/githubdev/phing/phing/src/Phing/Dispatch/DispatchUtils.php:95
/home/pi/files/code/githubdev/phing/phing/src/Phing/Task.php:197
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:397
/home/pi/files/code/githubdev/phing/phing/src/Phing/Target.php:427
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:799
/home/pi/files/code/githubdev/phing/phing/src/Phing/Project.php:770
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:891
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:284
/home/pi/files/code/githubdev/phing/phing/src/Phing/Phing.php:242
/home/pi/files/code/githubdev/phing/phing/bin/phing.php:61
</error>
        </testcase>
      </testsuite>

@twoseascharlie
Copy link
Author

the issue seems to be that since I'm on a 32-bit system, once the signed int max is reached, php starts passing things around as floats where the code is expected ints

and in DateSelector->setMillis casting the string value of $millis to int causes long ints to "shrink down", causing the files not to be copied over in the tests cases.

@twoseascharlie
Copy link
Author

adding my system info for reference:

$ uname -a
Linux raspi-nas1 5.10.60-v7l_charlie1+ phingofficial/phing#1 SMP Fri Sep 3 14:29:32 CDT 2021 armv7l GNU/Linux

$ lscpu
Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               3
Model name:          Cortex-A72
Stepping:            r0p3
CPU max MHz:         2000.0000
CPU min MHz:         600.0000
BogoMIPS:            108.00
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

$ getconf LONG_BIT
32

$ php --version
PHP 7.3.33-1+0~20211119.91+debian10~1.gbp618351 (cli) (built: Nov 19 2021 06:39:58) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies
    with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans
    with Zend OPcache v7.3.33-1+0~20211119.91+debian10~1.gbp618351, Copyright (c) 1999-2018, by Zend Technologies

@mrook
Copy link
Member

mrook commented Jan 28, 2022

I understand the problem, and I'm sympathetic to the 32 bit users, even if I'm not sure about the size of the 32 bit install base of Phing. However, I'm not sure changing types from int to float is the correct solution here. That may have unintended side effects we're not necessarily picking up in our tests, but need to investigate further.

@twoseascharlie
Copy link
Author

thanks for the comment, I can certainly understand that this could have a bigger impact beyond the scope of just some unit tests, and I'm sure the 32-bit user base is small in comparison, but it would be nice if we could come up with a solution.

@mrook mrook changed the title Issue with unit tests on 32-bit systems Document that users of 32-bit systems might encounter precision issues when running Phing May 16, 2022
@mrook mrook transferred this issue from phingofficial/phing Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants