Skip to content
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

Feature/drop support of php7 #48

Merged
merged 19 commits into from
Jan 6, 2023

Conversation

Chris53897
Copy link
Contributor

@Chris53897 Chris53897 commented Jan 4, 2023

I need to change the github test workflow. After closer look it never worked before correct to restrict symfony to a specific version. Example: https://github.com/mybuilder/cronos-bundle/actions/runs/3289609900/jobs/5421354389 you see that symfony 3.4 run, and many smyfony 5.4 components are installed.

There is a problem with symfony 4 and doctrine/annotations v2. And as it lost LTS i guess it will not be implemented anymore.
If we want to support symfony 4, i guess we can not use doctrine/annotations v2.
"doctrine/annotations": "^1.14 || ^2.0",

It will work on symfony 4 with 1.14 (1.x) but i can not set this logic in composer.

Because of this, i suggest to drop the support of symfony 4.
Or drop the support of "doctrine/annotations" v2. But this will propably block future doctrine updates for the users.

WDYT?

… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
Tests/bootstrap.php Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
Chris53897 and others added 8 commits January 5, 2023 20:15
Co-authored-by: Max Baldanza <massimiliano.baldanza@instapro.com>
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
… allow doctrine/annotations v2, allow mybuilder/cronos v4
@Chris53897
Copy link
Contributor Author

All tests are green now without support of doctrine/annotations v2
https://github.com/Chris53897/cronos-bundle/actions/runs/3849837894

Copy link
Contributor

@maxbaldanza maxbaldanza left a comment

Choose a reason for hiding this comment

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

Thank you so much for the time on this 👍
Really appreciate the help

composer.json Outdated Show resolved Hide resolved
composer.json Show resolved Hide resolved
Chris53897 and others added 2 commits January 6, 2023 11:11
Co-authored-by: Max Baldanza <massimiliano.baldanza@instapro.com>
… allow doctrine/annotations v2, allow mybuilder/cronos v4
@scrutinizer-notifier
Copy link

The inspection completed: ****

Copy link
Contributor

@maxbaldanza maxbaldanza left a comment

Choose a reason for hiding this comment

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

Thank you for this 👍

@maxbaldanza maxbaldanza merged commit 2665bcb into mybuilder:master Jan 6, 2023
@maxbaldanza
Copy link
Contributor

I've created an issue to support V2 of doctrine/annotations at a later date based from what you found here

@Chris53897 Chris53897 deleted the feature/drop-support-of-php7 branch January 6, 2023 10:54
@Chris53897
Copy link
Contributor Author

Thanks for creating the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants