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

[FrameworkBundle] Avoid calling rtrim(null, '/') in AssetsInstallCommand #44976

Merged
merged 1 commit into from Jan 12, 2022

Conversation

pavol-tuka
Copy link
Contributor

@pavol-tuka pavol-tuka commented Jan 10, 2022

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
License MIT

Avoid following deprecation notice:

php.INFO: Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated

Copy link
Member

@GromNaN GromNaN left a comment

Thank you for the fix. The warning is on PHP 8.1, right?
#41552

@carsonbot carsonbot changed the title Avoid calling rtrim(null, '/') in AssetsInstallCommand [FrameworkBundle] Avoid calling rtrim(null, '/') in AssetsInstallCommand Jan 10, 2022
@pavol-tuka
Copy link
Contributor Author

pavol-tuka commented Jan 10, 2022

It was symfony 5.4 project running on PHP 8.0 which log that to deprecations.log.

Copy link
Member

@GromNaN GromNaN left a comment

I updated the PR.

@GromNaN
Copy link
Member

GromNaN commented Jan 12, 2022

... and one more bug fixed, thank you Pavol.

@GromNaN GromNaN merged commit c7a5902 into symfony:4.4 Jan 12, 2022
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants