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

Run composer check-platform-reqs during deploy #1411

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

swalkinshaw
Copy link
Member

Fixes #1244

Runs composer check-platform-reqs before installing composer dependencies to verify that platform requirements (i.e. php and php extensions) are fulfilled by the PHP process currently running. This could potentially prevent some "white page of death" errors before a deploy.

Ref https://getcomposer.org/doc/07-runtime.md#platform-check

@tangrufus
Copy link
Collaborator

tangrufus commented Jul 22, 2022

Can we add a when conditional to allow skipping?
Default to perform platform check but allow skipping it by a boolean variable.

Fixes #1244

Runs `composer check-platform-reqs` before installing composer
dependencies to verify that platform requirements (i.e. php and php extensions)
are fulfilled by the PHP process currently running. This could
potentially prevent some "white page of death" errors before a deploy.

Ref https://getcomposer.org/doc/07-runtime.md#platform-check
@swalkinshaw
Copy link
Member Author

Good idea 👍 added

@swalkinshaw swalkinshaw merged commit 2decc06 into master Jul 22, 2022
@swalkinshaw swalkinshaw deleted the add-composer-check-to-deploy branch July 22, 2022 17:05
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.

Feature request: Perform composer platform check during deploy
2 participants