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

Prevent possible notice curly braces on array - PHP 7.4 compatibility #15560

Merged
merged 1 commit into from Feb 13, 2020

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Feb 13, 2020

Was running a php -l check on all files while investigating some WordPress issue and noticed these files were still using curly braces... The ISBN isn't in use and don't think the quickform is in use either. So no need to merge as part of Matomo 3.

Noticed also warnings for many other files but these we can't change ourselves and suppose by the time we release Matomo 4 they might be fixed in the packages directly

Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 126
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 126
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 141
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 141
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 144
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 189
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 193
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 202
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 203
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 299
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/console_getopt/> Console/Getopt.php on line 303
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/pear-core-minimal/> src/System.php on line 268
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/pear/pear-core-minimal/> src/OS/Guess.php on line 243
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/tecnickcom/tcpdf/> include/barcodes/pdf417.php on line 881
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/tecnickcom/tcpdf/> include/barcodes/pdf417.php on line 891
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/tecnickcom/tcpdf/> include/barcodes/pdf417.php on line 955
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/tecnickcom/tcpdf/> include/barcodes/datamatrix.php on line 632
Deprecated: Array and string offset access syntax with curly braces is deprecated in app/vendor/leafo/lessphp/lessify.inc.php on line 57

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Feb 13, 2020
@tsteur tsteur added this to the 3.13.3 milestone Feb 13, 2020
@sgiehl sgiehl merged commit 0fdca6c into 3.x-dev Feb 13, 2020
@sgiehl sgiehl deleted the php74curly branch February 13, 2020 08:15
jonasgrilleres pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 22, 2020
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants