Skip to content

Update php and Symfony#1

Merged
sunkan merged 7 commits into
circli:mainfrom
runar-stefna:update-php
Jun 11, 2026
Merged

Update php and Symfony#1
sunkan merged 7 commits into
circli:mainfrom
runar-stefna:update-php

Conversation

@runar-stefna

Copy link
Copy Markdown
Contributor

Set the minimum version of Symfony to 7.4, since that version introduced the addCommand method on the Application class and marked the add as deprecated.

Upgrade symfony to at least 7.4 to get the addCommand function (instead
of the deprecated add).
@runar-stefna

Copy link
Copy Markdown
Contributor Author

@sunkan What do you think about this?

Comment thread composer.json Outdated
"require": {
"php": "^8.1",
"symfony/console": "^5.0 || ^6.0 || ^7.0"
"php": "^8.5",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since your changes actually just need 8.2 maybe just bump to 8.2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, was wondering about that, lowered to 8.2

@sunkan

sunkan commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

@runar-stefna
Also update the github workflows

- "8.5"
experimental:
- false
include:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be kept and point to 8.6
this is for testing against next php version

Comment thread composer.json Outdated
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"phpunit/phpunit": "^12.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do ^11.0 || 12.0 so the test passes

@sunkan sunkan merged commit 25a1ee4 into circli:main Jun 11, 2026
7 checks passed
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