Repository navigation
[6.x] Skip app builds below the base app minimum PHP, add the rector utility - #487
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
Stop apps from building on a stale base image. Add the
shinsenter/rectorutility image.Scope
build/config.sh,tests/run.sh: base app minimum PHP rule.feat: add shinsenter/rector...).Implementation
An app with
base=<x>now skips PHP versions below theminof<x>. Before,invoiceshelfandcoolifybuilt for 8.2 onlaravel(min 8.3), andsulubuilt for 8.3 onsymfony(min 8.4). Nothing rebuilds the base below its minimum, so those apps inherited the old Debian Nginx and Apache, with their CVEs.Risks
invoiceshelfandcoolify8.2,sulu8.3 and lower) stay on the registry as they are. They need a manual cleanup.Tests
tests/run.sh config: 14 passed, 0 failed (4 new checks).tests/run.sh lint: 111 passed, 0 failed.