laravel-shift / blueprint

A code generation tool for Laravel developers.
MIT License
2.86k stars 273 forks source link

String interpolation ${} in PHP8.2 warning #648

Closed impeto closed 11 months ago

impeto commented 11 months ago

Issue:

Running blueprint:new (and probably other blueprint commands) in PHP 8.2 gives this warning. The yaml file was created, but I switched to 8.1 so I didn't have to deal with it.

PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/vendor/laravel-shift/blueprint/src/Generators/TestGenerator.php on line 525

~inpeto

jasonmccreary commented 11 months ago

Can you open a PR with the fix?

impeto commented 11 months ago

Just did PR #649

jasonmccreary commented 11 months ago

Fix pushed directly to master.