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

PHP 8.2+ Deprecation warnings #3524

Open
jackbentley opened this issue Oct 16, 2024 · 0 comments
Open

PHP 8.2+ Deprecation warnings #3524

jackbentley opened this issue Oct 16, 2024 · 0 comments

Comments

@jackbentley
Copy link

Receiving the following deprecation warnings when running on PHP 8.3:

PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/Directive/OrderDirective.php on line 137
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 46
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 50
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 54
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 58
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 66
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 82
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 82
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 82
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Storage/QueryParameterParser.php on line 86
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Twig/ContentExtension.php on line 594
PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in vendor/bolt/core/src/Twig/HtmlExtension.php on line 92

This was deprecated in PHP 8.2 apparently: https://php.watch/versions/8.2/$%7Bvar%7D-string-interpolation-deprecated

Details

Question Answer
Relevant Bolt Version 5.1.24
Install type Composer install
BC Break no
PHP version 8.3
Web server cPanel
For UX/UI issues N/A

Reproduction

Load any page

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

1 participant