Hi,
"The testbot is running PHP 5.4.39 (from dotdeb)"
According to php.net, php 5.4 has a new feature
Function array dereferencing: e.g foo()[0]
But the test fails anyway - https://qa.drupal.org/pifr/test/1032823 for this line
return entity_get_info('cacheflush')['admin ui']['path'];
Parse error: syntax error, unexpected '[' in ./sites/default/modules/cacheflush/modules/cacheflush_ui/cacheflush_ui.module on line 335
Errors parsing ./sites/default/modules/cacheflush/modules/cacheflush_ui/cacheflush_ui.module].
[03:22:41] Encountered error on [syntax], details:
array (
'@filename' => 'sites/default/modules/cacheflush/modules/cacheflush_ui/cacheflush_ui.module',
)
[03:22:41] Review complete. test_id=1032823 result code=6 details=Array
(
[@filename] => sites/default/modules/cacheflush/modules/cacheflush_ui/cacheflush_ui.module
)
[03:22:41] Static variables reset.
Comments
Comment #1
Mixologic