#3299 closed defect (fixed)
PHP 7.4: fix compatibility issue
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.6.3 | Priority: | normal |
Severity: | normal | Version: | trunk |
Component: | API - Importers | Keywords: | has-patch commit |
Cc: |
Description
Array and string offset access using curly braces
The array and string offset access syntax using curly braces is deprecated. Use
$var[$idx]
instead of$var{$idx}
.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Note: this patch fixes all violations against the
PHPCompatibility.Syntax.RemovedCurlyBraceArrayAccess.Found
sniff. See #3294