-
Notifications
You must be signed in to change notification settings - Fork 58
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
Deprecated feature in PHP 7.4 #148
Comments
Sebbo94BY
pushed a commit
to Sebbo94BY/ts3phpframework
that referenced
this issue
May 17, 2020
Merged
ronindesign
pushed a commit
that referenced
this issue
May 18, 2020
* Icon Download extended function (#131) * Update Server.php Option to Download an icon by name. This has the benefit that you don't have to change the virtualserver_icon_id to download a specific icon. * Update Server.php fixed name was not set for download * Fixing naming error (#135) * try to fix issue #136 * add -banners option to channellist * remove iconname argument use transferInitDownload() instead * add -keepfiles argument to snapshot deploy * update changelog * set release date for 1.1.34 * Fixing deprecated curly braces for PHP 7.4+ (#142) * removed deprecated curly braces from string.php, host.php, crypt.php, char.php * removed another deprecated curly braces from string.php (#144) overlooked one more curly braces * * Added Travis CI build status icon to README * Travis CI tests now also PHP 7.3 and 7.4 * Improved composer.json * Updated command to run all tests in README * Added `docker-compose up` to README for existing docker container(s) * Fixed PHPUnit config issues * Exposed ServerQuery SSH port * Switched from libssh to phpseclib * Changed requirement from PHP extension SSH to phpseclib * Fixed composer warning * #148: Fixed deprecated curly braces in PHP 7.4 * Updated composer packages Co-authored-by: Sensznet <ssensz@gmx.de> Co-authored-by: Thomas Hanke <18329992+thhan@users.noreply.github.com> Co-authored-by: Sven Paulsen <info@sven-paulsen.de> Co-authored-by: Fjonan <fjonan@fjonan.com> Co-authored-by: Sebastian Krätzig <sebastian.kraetzig@4g-server.eu>
All deprecated curly braces should be replaced with square braces. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Curly braces for indexes are deprecated as of PHP 7.4 (Released 28 Nov 2019): https://wiki.php.net/rfc/deprecate_curly_braces_array_access
These braces need replacement with square brackets. A migration script is available: https://gist.github.com/theodorejb/763b83a43522b0fc1755a537663b1863
The text was updated successfully, but these errors were encountered: