Skip to content

Commit cb46def

Browse files
maximalsamdark
authored andcommitted
Old array syntax in requirement checker (could be run in PHP prior to 5.4) (yiisoft#201)
1 parent 87ef329 commit cb46def

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

requirements.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717

1818
if (!isset($frameworkPath)) {
19-
$searchPaths = [
19+
$searchPaths = array(
2020
dirname(__FILE__) . '/vendor/yiisoft/yii2',
2121
dirname(__FILE__) . '/../vendor/yiisoft/yii2',
22-
];
22+
);
2323
foreach($searchPaths as $path) {
2424
if (is_dir($path)) {
2525
$frameworkPath = $path;

0 commit comments

Comments
 (0)