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

DRAFT: Making it compatible with composer ^2.5 as php is throwing an error. #48

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

fr3nch13
Copy link

The error:

PHP Fatal error:  Declaration of Foxy\Json\JsonFile::encode($data, $options = 448) must be compatible with Composer\Json\JsonFile::encode($data, int $options = 448, string $indent = self::INDENT_DEFAULT): string in vendor/foxy/foxy/Json/JsonFile.php on line 98

This will also bump the minimum for php to ^7.3, but come on. just let php 5.x die!

Maybe this should be a PR to a new branch called 2.0 or something?

I'll be adding to this PR, so I prefixed it with DRAFT.

@mambax7
Copy link

mambax7 commented Oct 21, 2023

Same problem here. Thank you for the update.
Hopefully, it will be accepted soon! :)

@joester89
Copy link

Is there an idea when this will be merged?

@francoispluchino
Copy link
Member

Thank you for your feedbacks.

Unfortunately, this Pull Request goes way too far beyond the scope of the topic, namely, making it compatible with Composer 2.5 and above. I'm not going to go into details, but as it stands, all of the proposed changes mainly concern the style of code and CI using Github Actions whereas the project is tested with Travis CI. In addition, this PR does not respect the project's PHP CS Fixer configurations.

In the event that this PR is simplified to what it describes or another PR does this, I would voluntarily merge it.

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.

None yet

4 participants