Add support for adding values to php.ini

For example, to set the `memory_limit` value:

```yaml
php:
  ini:
    memory_limit: 256M
```
This commit is contained in:
Oliver Davies 2024-10-25 18:06:42 +01:00
parent 85d0c6cb06
commit 30304ec7a8

View file

@ -194,6 +194,13 @@ final class ConfigDto
new Assert\Type('string'), new Assert\Type('string'),
]), ]),
'ini' => new Assert\Optional([
new Assert\Type('array'),
new Assert\All([
new Assert\Type('string'),
]),
]),
'phpcs' => new Assert\Optional([ 'phpcs' => new Assert\Optional([
new Assert\AtLeastOneOf( new Assert\AtLeastOneOf(
constraints: [ constraints: [