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

Replace deprecated package #351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Replace deprecated package #351

wants to merge 1 commit into from

Conversation

leo108
Copy link
Contributor

@leo108 leo108 commented May 20, 2023

vierbergenlars/php-semver has been deprecated and can be replaced by composer/semver.

Also add the missing json ext requirement.

@codecov
Copy link

codecov bot commented May 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.11%. Comparing base (5d9d356) to head (4929c19).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #351      +/-   ##
============================================
+ Coverage     94.17%   95.11%   +0.93%     
- Complexity      700      701       +1     
============================================
  Files            70       70              
  Lines          1837     1841       +4     
============================================
+ Hits           1730     1751      +21     
+ Misses          107       90      -17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leo108 leo108 force-pushed the master branch 7 times, most recently from 0d78366 to 7ed6076 Compare May 20, 2023 08:17
@leo108
Copy link
Contributor Author

leo108 commented May 25, 2023

@rennokki any chance to check this pr?

@leo108
Copy link
Contributor Author

leo108 commented Jun 17, 2023

@rennokki bump

@leo108
Copy link
Contributor Author

leo108 commented Jul 24, 2023

@rennokki Sorry but I want to bump it again, please take a look when you have time

@ro0NL
Copy link

ro0NL commented Aug 3, 2023

cc @rennokki pls :)

@@ -12,12 +12,13 @@
}
],
"require": {
"ext-json": "*",
Copy link
Member

Choose a reason for hiding this comment

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

I would advise to remove this extension as it is already existing in other packages as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should not rely on other packages' dependencies if we are using json_* functions in this package's code.

Check this for more details

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rennokki let me know what you think, thanks.

Copy link
Contributor

Choose a reason for hiding this comment

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

I got encouraged by PhpStorm to add this package as well in #380 but didn't. I'd also recommend putting it explicitly in the requires section.

@cuppett
Copy link
Contributor

cuppett commented Aug 31, 2023

I don't know how I missed this PR. I have another variant of it here:

#380

I can trim off my commit and just keep the other bumps if we favor this one... I can also merge this commit over into mine to consolidate as well.

Great work!

@stale stale bot added the wontfix This will not be worked on label Oct 15, 2023
@leo108
Copy link
Contributor Author

leo108 commented Dec 2, 2023

@rennokki Sorry to bother you again, but I'm really hope this PR can be merged, please let me know what you concern, thanks!

@stale stale bot removed the wontfix This will not be worked on label Dec 2, 2023
@stale stale bot added the wontfix This will not be worked on label Mar 17, 2024
@stale stale bot removed the wontfix This will not be worked on label Mar 20, 2024
@leo108 leo108 force-pushed the master branch 2 times, most recently from bf592cb to 4929c19 Compare March 20, 2024 13:34
@leo108 leo108 requested a review from rennokki March 20, 2024 13:36
@leo108
Copy link
Contributor Author

leo108 commented Mar 25, 2024

It's almost one year later...

Bump again @rennokki

Copy link

@ro0NL ro0NL left a comment

Choose a reason for hiding this comment

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

we'll inline the relevant code on our side

tldr; don't use this package

Copy link

@ro0NL ro0NL left a comment

Choose a reason for hiding this comment

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

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.

4 participants