Skip to content
  • Benjamin Sigonneau's avatar
    [PHP 7.2 compatibility] Fix unquoted strings · 5e0de2b9
    Benjamin Sigonneau authored
    PHP 7.2 migration notes state that:
    
    > Unquoted strings that are non-existent global constants are taken to
    > be strings of themselves. This behaviour used to emit an E_NOTICE,
    > but will now emit an E_WARNING. In the next major version of PHP, an
    > Error exception will be thrown instead.
    
    There were various unquoted strings (used as array keys) in templates.
    As a consequence, those templates could not be rendered with PHP 7.2,
    and a 500 error was issued instead.
    5e0de2b9