Closed lyrixx closed 1 year ago
Without this patch, we get the following error:
SYMFONY_REQUIRE=5.4 composer up --prefer-lowest && vendor/bin/simple-phpunit tests/Jane/JaneTest.php
Testing JoliCode\Elastically\Tests\Jane\JaneTest Jane (JoliCode\Elastically\Tests\Jane\Jane) ✘ Create index and search with jane object ┐ ├ Undefined array key 265 │ ╵ /home/gregoire/dev/github.com/jolicode/elastically/vendor/nikic/php-parser/lib/PhpParser/Lexer.php:255 ╵ /home/gregoire/dev/github.com/jolicode/elastically/vendor/nikic/php-parser/lib/PhpParser/ParserAbstract.php:209 ╵ /home/gregoire/dev/github.com/jolicode/elastically/vendor/nikic/php-parser/lib/PhpParser/ParserAbstract.php:159 ╵ /home/gregoire/dev/github.com/jolicode/elastically/vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php:51 ╵ /home/gregoire/dev/github.com/jolicode/elastically/vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php:32 ╵ /home/gregoire/dev/github.com/jolicode/elastically/vendor/jane-php/json-schema/Generator/RuntimeGenerator.php:30 ╵ /home/gregoire/dev/github.com/jolicode/elastically/vendor/jane-php/json-schema/Generator/ChainGenerator.php:28 ╵ /home/gregoire/dev/github.com/jolicode/elastically/vendor/jane-php/json-schema/Console/Command/GenerateCommand.php:67 ╵ /home/gregoire/dev/github.com/jolicode/elastically/tests/Jane/JaneTest.php:49 ┴ Time: 0
Thanks :+1:
Without this patch, we get the following error: