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

Using ${var} in strings is deprecated #230

Closed
pherrymason opened this issue Dec 19, 2023 · 2 comments
Closed

Using ${var} in strings is deprecated #230

pherrymason opened this issue Dec 19, 2023 · 2 comments

Comments

@pherrymason
Copy link

pherrymason commented Dec 19, 2023

Library is throwing lots of deprecation messages as apparently Using ${var} in strings is deprecated is now deprecated in at least PHP 8.2

Example:

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /app/vendor/segmentio/analytics-php/lib/Segment.php on line 114

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /app/vendor/segmentio/analytics-php/lib/Segment/Consumer/ForkCurl.php on line 48

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /app/vendor/segmentio/analytics-php/lib/Segment/Consumer/ForkCurl.php on line 83

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /app/vendor/segmentio/analytics-php/lib/Segment/Consumer/ForkCurl.php on line 83

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /app/vendor/segmentio/analytics-php/lib/Segment/Consumer/LibCurl.php on line 73

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /app/vendor/segmentio/analytics-php/lib/Segment/Consumer/LibCurl.php on line 73

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /app/vendor/segmentio/analytics-php/lib/Segment/Consumer/Socket.php on line 183

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /app/vendor/segmentio/analytics-php/lib/Segment/Consumer/Socket.php on line 183

As of today, php 8.1 is not actively supported anymore: https://www.php.net/supported-versions.php
imagen

@nd4p90x
Copy link
Collaborator

nd4p90x commented Dec 19, 2023

@pherrymason Thank you for your report. We will address this.

@MichaelGHSeg
Copy link
Contributor

Should be addressed by #231

Thank you!

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

3 participants