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

Coding style cleanups #108

Merged
merged 3 commits into from
May 15, 2022
Merged

Coding style cleanups #108

merged 3 commits into from
May 15, 2022

Conversation

jtojnar
Copy link
Member

@jtojnar jtojnar commented May 15, 2022

Picked from #104

drupol
drupol previously approved these changes May 15, 2022
Mostly make extensions one-per-line to match what is in Nixpkgs
but while at it also use the vertical space more liberally.
configureFlags should take array but lib.optionalString will return
a string when the condition is false. It only ever worked because
we always run the code on PHP < 7.4 and lib.optionalString returns
the argument as is when the condition is false.
Let’s just list version branches, we can always extract the required data from that.
This will be especially necessary once we introduce master branch, where major component of version needs to be computed.
@jtojnar jtojnar merged commit 7c34bf1 into master May 15, 2022
@jtojnar jtojnar deleted the cleanups branch May 15, 2022 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants