Skip to content

Commit

Permalink
fix: php args in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
janosmiko committed Nov 27, 2024
1 parent 359ab51 commit ea21993
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion images/_php-fpm-common/magento2-web/bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
exit 1
fi

PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} --memory_limit=${PHP_MEMORY_LIMIT:-2G}"
PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} -dmemory_limit=${PHP_MEMORY_LIMIT:-2G}"

_magento_command="bin/magento"
MAGENTO_COMMAND="${MAGENTO_COMMAND:-php ${PHP_ARGS} ${_magento_command} --no-ansi --no-interaction}"
Expand Down
2 changes: 1 addition & 1 deletion images/_php-fpm-common/magento2-web/bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
exit 1
fi

PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} --memory_limit=${PHP_MEMORY_LIMIT:-2G}"
PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} -dmemory_limit=${PHP_MEMORY_LIMIT:-2G}"

_magento_command="bin/magento"
MAGENTO_COMMAND="${MAGENTO_COMMAND:-php ${PHP_ARGS} ${_magento_command} --no-ansi --no-interaction}"
Expand Down
2 changes: 1 addition & 1 deletion images/_php-fpm-common/shopware-web/bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
exit 1
fi

PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} --memory_limit=${PHP_MEMORY_LIMIT:-2G}"
PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} -dmemory_limit=${PHP_MEMORY_LIMIT:-2G}"

_console_command="bin/ci"
CONSOLE_COMMAND="${CONSOLE_COMMAND:-php ${PHP_ARGS} ${_console_command} --no-ansi --no-interaction}"
Expand Down
2 changes: 1 addition & 1 deletion images/_php-fpm-common/shopware-web/bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
exit 1
fi

PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} --memory_limit=${PHP_MEMORY_LIMIT:-2G}"
PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} -dmemory_limit=${PHP_MEMORY_LIMIT:-2G}"

_console_command="bin/ci"
CONSOLE_COMMAND="${CONSOLE_COMMAND:-php ${PHP_ARGS} ${_console_command} --no-ansi --no-interaction}"
Expand Down
2 changes: 1 addition & 1 deletion images/_php-fpm-common/wordpress-web/bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
exit 1
fi

PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} --memory_limit=${PHP_MEMORY_LIMIT:-2G}"
PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} -dmemory_limit=${PHP_MEMORY_LIMIT:-2G}"

_wordpress_command=wp
if command -v wp 2>/dev/null; then
Expand Down
2 changes: 1 addition & 1 deletion images/_php-fpm-common/wordpress-web/bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
exit 1
fi

PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} --memory_limit=${PHP_MEMORY_LIMIT:-2G}"
PHP_ARGS="-derror_reporting=${PHP_ERROR_REPORTING:-E_ALL} -dmemory_limit=${PHP_MEMORY_LIMIT:-2G}"

_wordpress_command=wp
if command -v wp 2>/dev/null; then
Expand Down

0 comments on commit ea21993

Please sign in to comment.