Repository navigation
Bumpcomposer - #5
Open
ltagliaferri wants to merge 3 commits into
Open
ltagliaferri wants to merge 3 commits into
ltagliaferri wants to merge 3 commits into
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.
Raise the PHP floor to 8.2, matching minicli 4.2.1.
minicli/minicli 4.2.1 requires PHP >= 8.2, but this template declares >=8.1. On PHP 8.1, ^4.2 resolves to minicli 4.2.0 instead of 4.2.1, so new apps start on an older release.
Commits:
composer.json"php": ">=8.1"→">=8.2"actions/cache@v2has been retired by GitHub, so the workflow fails at that stepusestatements. Without a lock file, CI installs the latest pint, which flags this onmaintodayTesting: Actions wouldn't run on my fork, so I ran the workflow's steps locally in Docker (
php:8.2-cliandphp:8.3-cli):composer validate --strict,composer install(resolves minicli 4.2.1),composer test:lint(17 files) andcomposer test:unit(3 passed) all pass on both.Note: the workflow has no setup-php step, so it runs on the runner's default PHP (8.3 on ubuntu-latest) and never tests the 8.2 floor. Happy to add a matrix in a follow-up if you'd like.
Related: minicli/minicli#117 (README + CI), minicli/docs#63 (docs), minicli/application#11 (same change for the application template)