MDL-67114 mustache: php74 fix. Fix use of scalar as array
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sat, 2 Nov 2019 15:20:44 +0000 (16:20 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 3 Jan 2020 10:33:15 +0000 (11:33 +0100)
commit309912cfca664e15eaa5754023c7c90609d0aab4
treeff353e8b2b40725ca0ec3ad41522502bf1e1fa71
parentc55402486bfefe81a1c102f36158de17e1dacd12
MDL-67114 mustache: php74 fix. Fix use of scalar as array

Trying to use values of type null, bool, int, float or resource as an
array (such as $null["key"]) will now generate a notice. This does not
affect array accesses performed by list().

RFC: https://wiki.php.net/rfc/notice-for-non-valid-array-container
lib/mustache/readme_moodle.txt
lib/mustache/src/Mustache/Parser.php