Skip to content

Commit 0efdba1

Browse files
committed
Upgrade phpDocumentor (#3213)
1 parent af9cff8 commit 0efdba1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

tools/php_api_ref/phpdoc.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -x;
3+
set +x;
44

55
AUTH_JSON=${1:-~/.composer/auth.json}; # Path to an auth.json file allowing to install the targeted edition and version
66
PHP_API_OUTPUT_DIR=${2:-./docs/api/php_api/php_api_reference}; # Path to the directory where the built PHP API Reference is hosted
@@ -10,10 +10,10 @@ DXP_VERSION="${DXP_VERSION:-4.6.*}"; # Version from and for which the Reference
1010
DXP_ADD_ONS=(connector-ai connector-openai automated-translation product-catalog-date-time-attribute rector discounts discounts-codes product-catalog-symbol-attribute collaboration share fieldtype-richtext-rte integrated-help cdp); # 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
1212
SF_VERSION='5.4'; # Symfony version used by Ibexa DXP
13-
PHPDOC_VERSION='3.9.1'; # Version of phpDocumentor used to build the Reference
13+
PHPDOC_VERSION='3.10.0'; # Version of phpDocumentor used to build the Reference
1414
PHPDOC_CONF="$(pwd)/tools/php_api_ref/phpdoc.dist.xml"; # Absolute path to phpDocumentor configuration file
1515
#PHPDOC_CONF="$(pwd)/tools/php_api_ref/phpdoc.dev.xml"; # Absolute path to phpDocumentor configuration file
16-
PHPDOC_TEMPLATE_VERSION='3.9.1'; # Version of the phpDocumentor base template set
16+
PHPDOC_TEMPLATE_VERSION='3.10.0'; # Version of the phpDocumentor base template set
1717
PHPDOC_DIR="$(pwd)/tools/php_api_ref/.phpdoc"; # Absolute path to phpDocumentor resource directory (containing the override template set)
1818

1919
PHP_BINARY="php -d error_reporting=`php -r 'echo E_ALL & ~E_DEPRECATED;'`"; # Avoid depreciation messages from phpDocumentor/Reflection/issues/529 when using PHP 8.2 or higher
@@ -32,6 +32,9 @@ if [ ! -d $PHP_API_OUTPUT_DIR ]; then
3232
fi;
3333
fi;
3434
PHP_API_OUTPUT_DIR=$(realpath $PHP_API_OUTPUT_DIR); # Transform into absolute path before changing the working directory
35+
REST_API_OUTPUT_FILE=$(realpath $REST_API_OUTPUT_FILE); # Transform into absolute path before changing the working directory
36+
REST_API_OPENAPI_FILE_YAML=$(realpath $REST_API_OPENAPI_FILE_YAML); # Transform into absolute path before changing the working directory
37+
REST_API_OPENAPI_FILE_JSON=$(realpath $REST_API_OPENAPI_FILE_JSON); # Transform into absolute path before changing the working directory
3538

3639
if [ 1 -eq $FORCE_DXP_INSTALL ]; then
3740
echo 'Remove temporary directory…';

0 commit comments

Comments
 (0)