-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add support for Symfony 6 #27
Conversation
update travis.yml
@maxbaldanza |
Hi Chris, Sorry just seen this, any chance you can rebase as there's some merge conflicts and I'll take a look? Appreciate the contribution 👍 |
@Chris53897, we have an old Legacy project that currently supports Symfony 3 so we need to keep that at the minute. |
I have deleted the file |
It will handle it but if there's any updates to make we'd need to make them to both versions which means more maintenance on our part which I want to try avoid. I'd prefer to keep Symfony 3 until we've migrated and then remove the support at a later date. |
.travis.yml
Outdated
@@ -1,36 +0,0 @@ | |||
language: php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add Symfony 6 to the versions here please? https://github.com/mybuilder/cronos/blob/master/.github/workflows/test.yml#L12
We're now using github actions for testing rather than travis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update: sorry i did read this wrong. I will change it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update your branch and add Symfony 6 to the linked github action please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The github actions needs more changes. Only adding 6.0.0 to the matrix will fail.
https://github.com/Chris53897/cronos/actions/runs/3463286751/jobs/5783304065
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah of course Symfony 6 requires PHP8.
If you have time to update the action then that would be good. If not, then take it out for now and I'll update it when I get a chance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will try to find some time after my vacation. Should not be so hard, i guess.
Something like this.
matrix: include:
https://github.com/Chris53897/KnpMenuBundle/blob/master/.github/workflows/build.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, enjoy your holiday 😎
Something like that matrix would work yes 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I have adjusted the ci-tests.
And i changed composer.json to "^3.4|^4.4|^5.4|^6.0", as supported LTS.
Additional i fixed a deprecation message of the ci.
If you want more or other test runs, please let me know or change it to your needs.
feat: allow symfony 3.4
feat: allow symfony 3.4
feat: allow symfony 3.4
feat: allow symfony 3.4
A new inspection was created. |
The inspection completed: **** |
feat: allow symfony 3.4
A new inspection was created. |
The inspection completed: **** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for this. Really appreciate the contribution 👍
You'll be happy to know we no longer need to support Symfony 3.4 but I can remove that at a later date or if you want to create a new PR then your very welcome to
That are good news. Should i support 4.4 in the new PR? |
It's still getting security fixes until the end of the year so I'd prefer to leave it in. |
I will extend my PR and drop support of php 8 |
update travis.yml
Not tested in real life app.
Is is easier for dev to have "symfony/filesystem": "^4.4|^5.0|^6.0", installed and check if it is correct by IDE or static code analyzer.