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

implode() deprecated in PHP 7.4 #24

Closed
yngveo opened this issue Jan 15, 2020 · 14 comments
Closed

implode() deprecated in PHP 7.4 #24

yngveo opened this issue Jan 15, 2020 · 14 comments

Comments

@yngveo
Copy link

yngveo commented Jan 15, 2020

I have updated my dev environment to PHP 7.4 and am now getting an exception when running Tab->devtools();

The error occurs in Protocol.php line 330 - implode().

Error message:

implode(): Passing glue string after array is deprecated. Swap the parameters

@yngveo yngveo changed the title imploded() deprecated in PHP 7.4 implode() deprecated in PHP 7.4 Jan 15, 2020
@xsuchy09
Copy link

xsuchy09 commented Feb 18, 2020

This is bug in wrench/wrench library (varspool/Wrench#128, varspool/Wrench#129, ...). Now fixed in master but still not new version. So in v2.0.8 there is this deprecated error in wrench/wrench required library. There is wrench v3.0 with fix but it is still not stable ... but maybe update this library to v3.0 can help (but there can be incompatible issues - new major version) ...

composer require wrench/wrench ~3.0

edit: Yes, there are incompatible issues ...

@jakubkulhan
Copy link
Owner

Hi, I've pushed a new version fix release that depends on PR created by @wells. Hopefully, the fix will be merged soon to the upstream.

@wells
Copy link

wells commented Feb 21, 2020

Thanks @jakubkulhan

Looks like we may be able to get 3.* tagged on wrench with a proper assist to get that across the finish line. Hopefully no breaking changes involved apart from phpunit / php versioning.

@wells
Copy link

wells commented Mar 4, 2020

@jakubkulhan, I was able to use dev-master of wrench without issue on php 7.4. This is not a definitive end-to-end test, but I made a forked branch of this package to take a test drive. Let's hope 3.0 of wrench gets tagged soon.

@kondaurov
Copy link

Hi @jakubkulhan
Is it possible to wait for a release with a commit fixes for PHP 7.4 in the near future?

@jakubkulhan
Copy link
Owner

@kondaurov Until Websocket library merges this PR varspool/Wrench#130 and tags a release, I cannot create tagged release here.

@iwiznia
Copy link

iwiznia commented Jun 17, 2020

Websocket released version 2.0 with the fix merged. Can we get a release with the dependency updated please?

@wells
Copy link

wells commented Jun 25, 2020

I concur. @jakubkulhan can we get a tagged release for this repo, now that v2.0.11 has my pull request merged on wrench? Thanks.

@jakubkulhan
Copy link
Owner

@wells
Copy link

wells commented Jun 29, 2020

@jakubkulhan You may also want to remove this from your composer.json

"repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/wells/Wrench.git"
    }
  ]

@jakubkulhan
Copy link
Owner

@wells Good point, thanks! Removed.

@iwiznia
Copy link

iwiznia commented Jun 30, 2020

Thank you!!

@wells
Copy link

wells commented Jul 1, 2020

Sorry to be a bother. @jakubkulhan, could you either move the v1.0.3 tag to commit 95fcaa3 or tag a new release?

@jakubkulhan
Copy link
Owner

@wells Sure, tagged as v1.0.4.

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

No branches or pull requests

6 participants