...

Text file src/github.com/google/flatbuffers/tests/docker/TODO.Dockerfile.testing.php.hhvm_2019_01_16

Documentation: github.com/google/flatbuffers/tests/docker

     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
    10FROM hhvm/hhvm:2019.01.16 as base
    11WORKDIR /code
    12ADD . .
    13RUN cp flatc_debian_stretch flatc
    14WORKDIR /code/tests
    15RUN hhvm --version
    16RUN hhvm phpTest.php
    17RUN ../flatc --php -o php union_vector/union_vector.fbs
    18RUN hhvm phpUnionVectorTest.php

View as plain text