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

First idea and step for refactoring for php 8.1+ #236

Closed
wants to merge 7 commits into from
Closed

First idea and step for refactoring for php 8.1+ #236

wants to merge 7 commits into from

Conversation

wundii
Copy link
Contributor

@wundii wundii commented Apr 12, 2024

Hello :)

I would like to help step by step to make the Jsonmapper with types and future-proof.

In the first step, I added RectorPHP, PHPStan and ECS as dependencies to focus on type safety. All resulting bugs and problems have been fixed so that all current Unittest and PHPCS are green again.

In the next step, I would like to see the structure behind the facade refreshed to make it easier to make changes later, if that's okay with you. On the outside, little or nothing else should change from the library.

I really like this library and would like to help make it fit for the future.

Best Regards Wundii

P.S. this version would be something for 5.0-dev

@cweiske
Copy link
Owner

cweiske commented Apr 13, 2024

  1. I have no plan to drop support for PHP 7.
  2. There is no need to make most of the files executable
  3. I do not want to introduce any runtime dependencies, including psr/log.

This patch set is too huge.

@cweiske cweiske closed this Apr 13, 2024
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.

2 participants