Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve env placeholders in configuration #1113

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

tkulka
Copy link
Contributor

@tkulka tkulka commented Nov 13, 2023

Q A
Branch master for features and deprecations
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Documented? yes
Fixed tickets #1042

Example:

# grumphp.yml
parameters:
  env(FIXER_ENABLED): 'true'

grumphp:
    fixer:
      enabled: '%env(bool:FIXER_ENABLED)%'

@veewee
Copy link
Contributor

veewee commented Nov 14, 2023

Wow, thanks for figuring this out! 👍
I was clueless about that specific compile option.

@veewee veewee merged commit 78591c8 into phpro:v2.x Nov 14, 2023
10 checks passed
@veewee veewee added this to the 2.3.0 milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants