Files
SDK_SG200x_V2/flatbuffers/tests/docker/TODO.Dockerfile.testing.php.hhvm_2019_01_16
carbon 93b1517102 add flatbuffers
commit 6da1cf79d90eb242e7da5318241d42279a3df3ba
Author: Max Burke <max@urbanlogiq.com>
Date:   Sun Jan 19 14:47:28 2020 -0800

    [rust] Add use declarations to Rust-generated bindings for imported FB definitions (#5645)

    * Bugfix for Rust generation of union fields named with language keywords
2024-05-31 14:12:12 +08:00

19 lines
779 B
Plaintext

# This does not pass tests due to the following error:
#
# 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
# Stack trace:
# #0 /code/tests/phpTest.php(277): Google\FlatBuffers\FlatbufferBuilder->sizedByteArray()
# #1 /code/tests/phpTest.php(79): fuzzTest1()
# #2 /code/tests/phpTest.php(86): main()
# #3 {main}
# thrown in in /code/php/FlatbufferBuilder.php:971
FROM hhvm/hhvm:2019.01.16 as base
WORKDIR /code
ADD . .
RUN cp flatc_debian_stretch flatc
WORKDIR /code/tests
RUN hhvm --version
RUN hhvm phpTest.php
RUN ../flatc --php -o php union_vector/union_vector.fbs
RUN hhvm phpUnionVectorTest.php