Skip to content

Commit 874b8a4

Browse files
committed
phpDocumentor 3.5.3 → 3.7.1
Fix `PHP Parse error: syntax error, unexpected token ":" in phar:///private/tmp/ibexa-dxp-phpdoc/phpDocumentor.phar/vendor/twig/twig/src/Environment.php(418) : eval()'d code on line 58`
1 parent 761ad96 commit 874b8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/php_api_ref/phpdoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ DXP_EDITION='commerce'; # Edition from and for which the Reference is built
99
DXP_VERSION='4.6.*'; # Version from and for which the Reference is built
1010
DXP_ADD_ONS=(connector-ai connector-openai automated-translation); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa"
1111
DXP_EDITIONS=(oss headless experience commerce); # Available editions ordered by ascending capabilities
12-
PHPDOC_VERSION='3.5.3'; # Version of phpDocumentor used to build the Reference
12+
PHPDOC_VERSION='3.7.1'; # Version of phpDocumentor used to build the Reference
1313
PHPDOC_CONF="$(pwd)/tools/php_api_ref/phpdoc.dist.xml"; # Absolute path to phpDocumentor configuration file
1414
#PHPDOC_CONF="$(pwd)/tools/php_api_ref/phpdoc.dev.xml"; # Absolute path to phpDocumentor configuration file
1515
PHPDOC_TEMPLATE_VERSION='3.5.3'; # Version of the phpDocumentor base template set
@@ -106,7 +106,7 @@ if [ 0 -eq $DXP_ALREADY_EXISTS ]; then
106106
NAMESPACE_MAP="$NAMESPACE_MAP\n$NAMESPACES"
107107
PACKAGE_MAP="$PACKAGE_MAP\n'ibexa/$package': 'optional',"
108108
done;
109-
109+
110110
PACKAGE_MAP="{% set package_edition_map = {\n$PACKAGE_MAP\n} %}"
111111
NAMESPACE_MAP="{% set namespace_package_map = {\n$NAMESPACE_MAP\n} %}"
112112
{

0 commit comments

Comments
 (0)