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

Allow Symfony 7 #436

Merged
merged 17 commits into from Feb 5, 2024
Merged

Allow Symfony 7 #436

merged 17 commits into from Feb 5, 2024

Conversation

evertharmeling
Copy link
Contributor

Follows #435

joesenova and others added 12 commits August 4, 2023 10:03
2. Removed support for PHP <8.0
3. Reworked the __construct methods to be on-par with php >=8.0
4. Removed all rferences to GetMasterRequest - using only getMainRequest now
5. Fixed custom_uploader.md documentation to use getMainRequest
Reran testes, all passes
Changed the config file to work with the new version
Ran php_cs_fixer on codebase
Tests still pass
@evertharmeling
Copy link
Contributor Author

evertharmeling commented Nov 28, 2023

Hmm looks like with fixing the phpstan errors it introduced php-cs-fixer errors...? Alternative would probably be to not add phpdoc but direct (return) types, but that would definitely require a new major release as it would not be BC.

@bytehead
Copy link
Member

We will do a new major anyway to drop PHP 7 support and clean up a little bit 👍

@evertharmeling
Copy link
Contributor Author

evertharmeling commented Nov 29, 2023

CI runs for Symfony 6.4/7.0 should be running when new versions are released (probably in a few days hours :)), or we should refactor the used 'stability'.

Not sure how to fix the error in the lowest run...

@bytehead
Copy link
Member

Not sure how to fix the error in the lowest run...

Seems like the phpunit-brige is somewhat not compatible with the doctrine libs...

@evertharmeling
Copy link
Contributor Author

Found what triggered it, https://github.com/symfony/phpunit-bridge/blob/v6.0.0/bootstrap.php#L33

Which is fixed in v6.0.17 (https://github.com/symfony/phpunit-bridge/blob/v6.0.17/bootstrap.php#L33)

So added a conflict to skip versions before 6.0.17.

composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
Copy link
Contributor

@ndench ndench left a comment

Choose a reason for hiding this comment

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

Nice work!

src/Templating/Helper/UploaderHelper.php Show resolved Hide resolved
composer.json Show resolved Hide resolved
@bytehead
Copy link
Member

The pipline error seems somewhat unrelated...

@evertharmeling
Copy link
Contributor Author

The pipline error seems somewhat unrelated...

Yes, it's a weird one...

.github/workflows/ci.yml Outdated Show resolved Hide resolved
Copy link
Member

@bytehead bytehead 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 big times 🙏 🥳

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

Successfully merging this pull request may close these issues.

None yet

4 participants