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

Fix: Replace deprecated ${...} syntax in TestsForms.php #5234

Merged
merged 1 commit into from
Dec 13, 2022
Merged

Fix: Replace deprecated ${...} syntax in TestsForms.php #5234

merged 1 commit into from
Dec 13, 2022

Conversation

dbohn
Copy link

@dbohn dbohn commented Dec 13, 2022

When testing our filament app with PHP 8.2, I noticed, that a warning was emitted by PHP, because of the usage of the now deprecated ${var} syntax.
This MR swaps the position of the $ character.
Other than that, I did not notice any errors or notices because of the update to PHP 8.2!

@what-the-diff
Copy link
Contributor

what-the-diff bot commented Dec 13, 2022

  • The error message was changed to use curly braces instead of square brackets.

@zepfietje zepfietje added the bug Something isn't working label Dec 13, 2022
@zepfietje zepfietje added this to the v2 milestone Dec 13, 2022
@zepfietje
Copy link
Member

Thanks for reporting, @dbohn!

I'm pretty sure this must've been a typo, since later on that line it does use the non-deprecated interpolation syntax.

@danharrin
Copy link
Member

Yeah, it was probably just me typoing with the JS syntax 😭 why does it have to be different...

@danharrin danharrin merged commit 3148d87 into filamentphp:2.x Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants