1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 21:08:34 +01:00

Fix remove square bracket array declaration for PHP 5.3 compatibility (#360)

* Fix remove square bracket array declaration for PHP 5.3 compatibility

* Use dist: precise on Travis to ensure PHP 5.3 compatibility
This commit is contained in:
Robbie Averill 2017-09-14 00:19:07 +12:00 committed by Barry vd. Heuvel
parent 82a53b6ed8
commit 9640a66b9c
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,7 @@
language: php
dist: precise
php:
- 5.3
- 5.4

View File

@ -39,14 +39,13 @@ class PhpInfoCollector extends DataCollector implements Renderable
*/
public function getWidgets()
{
return [
"php_version" => [
return array(
"php_version" => array(
"icon" => "code",
"tooltip" => "Version",
"map" => "php.version",
"default" => ""
],
];
),
);
}
}