8000 Bumpcomposer by ltagliaferri · Pull Request #5 · minicli/miniterm · GitHub
[go: up one dir, main page]

Skip to content

Bumpcomposer - #5

Open
ltagliaferri wants to merge 3 commits into
minicli:mainfrom
ltagliaferri:bumpcomposer
Open

ltagliaferri wants to merge 3 commits into
minicli:mainfrom
ltagliaferri:bumpcomposer

Conversation

@ltagliaferri
Copy link
Copy Markdown

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:

  • Require PHP 8.2: composer.json "php": ">=8.1" → ">=8.2"
  • Update actions/cache to v4: actions/cache@v2 has been retired by GitHub, so the workflow fails at that step
  • Fix code style in TermwindService: removes blank lines between use statements. Without a lock file, CI installs the latest pint, which flags this on main today

Testing: Actions wouldn't run on my fork, so I ran the workflow's steps locally in Docker (php:8.2-cli and php:8.3-cli): composer validate --strict, composer install (resolves minicli 4.2.1), composer test:lint (17 files) and composer 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)

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.

1 participant

0