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

Update libraries and remove deprecations #818 #819

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

tacman
Copy link

@tacman tacman commented Nov 14, 2021

Prepare for Symfony 6 by removing deprecations.

@j0k3r j0k3r linked an issue Nov 15, 2021 that may be closed by this pull request
composer.json Outdated
"symfony/browser-kit": "5.3.*",
"symfony/css-selector": "5.3.*",
"symfony/debug-bundle": "5.3.*",
"phpunit/phpunit": "^9.5",
Copy link
Owner

Choose a reason for hiding this comment

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

Is it required? Because we use simple-phpunit to run test and not phpunit directly

@tacman
Copy link
Author

tacman commented Nov 15, 2021 via email

@tacman
Copy link
Author

tacman commented Nov 15, 2021 via email

@j0k3r
Copy link
Owner

j0k3r commented Nov 15, 2021

I'll check when I got some spare time

@tacman
Copy link
Author

tacman commented Sep 5, 2022

What do you think about bumping to the latest Symfony/PHP?

This is a cool project, since it's not a library or bundle, there's little downside in tagging a new version and upgrading.

@j0k3r
Copy link
Owner

j0k3r commented Sep 5, 2022

I'm still running PHP 7.4 for some other pet projects and that's mostly the reason I didn't upgrade the Symfony version.

@tacman
Copy link
Author

tacman commented Sep 5, 2022

I've been doing a lot of upgrading of projects to PHP8 (rector rocks for that), I might be able to lend a hand.

The biggest issue I've faced when upgrading projects from Symfony 4 and 5 is moving to the new security system. Second biggest is framework related (new index.php and bin/console). Neither are too bad. I just tried to merge your latest changes, and indeed that's where I had conflicts.

I'll see if I can get my branch working, I had an issue wiith MySQL not installing, but I'm on a new computer now and it's going better.

@tacman
Copy link
Author

tacman commented Sep 5, 2022

OK, I think my fork now works handing both situations. If php 7.4, it installs Symfony 5.4, and if PHP 8, it install the Symfony 6.1 components.

While it's working for me locally, I'm not sure I migrated security.yaml correctly.

PHP 7.4 will stop receiving security fixes in 2 months...

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.

Remove deprecations in preparations for Symfony 6
2 participants