mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
feat(php): make ini values configurable
Refs: OD-28
This commit is contained in:
parent
b121f2fb77
commit
1c7f1f2e2b
|
@ -53,6 +53,11 @@ final class CreateListOfFilesToGenerate
|
|||
name: 'docker-entrypoint-php',
|
||||
path: 'tools/docker/images/php/root/usr/local/bin',
|
||||
);
|
||||
$filesToGenerate[] = new TemplateFile(
|
||||
data: 'php/php.ini',
|
||||
name: 'php.ini',
|
||||
path: 'tools/docker/images/php/root/usr/local/etc/php',
|
||||
);
|
||||
|
||||
if (Arr::has(array: $configurationData, keys: 'php.phpstan')) {
|
||||
$filesToGenerate[] = new TemplateFile(data: 'php/phpstan.neon', name: 'phpstan.neon.dist');
|
||||
|
|
4
templates/php/php.ini.twig
Normal file
4
templates/php/php.ini.twig
Normal file
|
@ -0,0 +1,4 @@
|
|||
# {{ managedText }}
|
||||
|
||||
max_vars_input = 1000
|
||||
memory_limit = {{ php.ini.memory_limit | default('128M') }}
|
Loading…
Reference in a new issue