1 # This does not pass tests due to the following error: 2 # 3 # Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Google\FlatBuffers\ByteBuffer::getX() expects parameter 1 by reference, but the call was not annotated with '&'. in /code/php/FlatbufferBuilder.php:971 4 # Stack trace: 5 # #0 /code/tests/phpTest.php(277): Google\FlatBuffers\FlatbufferBuilder->sizedByteArray() 6 # #1 /code/tests/phpTest.php(79): fuzzTest1() 7 # #2 /code/tests/phpTest.php(86): main() 8 # #3 {main} 9 # thrown in in /code/php/FlatbufferBuilder.php:971 10 FROM hhvm/hhvm:2019.01.16 as base 11 WORKDIR /code 12 ADD . . 13 RUN cp flatc_debian_stretch flatc 14 WORKDIR /code/tests 15 RUN hhvm --version 16 RUN hhvm phpTest.php 17 RUN ../flatc --php -o php union_vector/union_vector.fbs 18 RUN hhvm phpUnionVectorTest.php 19