-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
76 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?php | ||
|
||
function frameworks() | ||
{ | ||
|
||
$frameworks = [ | ||
"no-framework", | ||
//"phalcon-1.3", | ||
"phalcon-2.0", | ||
"ice-1.0", | ||
"tipsy-0.10", | ||
"fatfree-3.5", | ||
"slim-2.6", | ||
"ci-3.0", | ||
"nofuss-1.2", | ||
"slim-3.0", | ||
"bear-1.0", | ||
"lumen-5.1", | ||
"ze-1.0", | ||
"radar-1.0-dev", | ||
"yii-2.0", | ||
//"lumen-5.0", | ||
//"silex-1.2", | ||
"silex-1.3", | ||
"cygnite-1.3", | ||
"fuel-1.8-dev", | ||
//"fuel-2.0-dev", | ||
"phpixie-3.2", | ||
//"cake-3.0", | ||
"aura-2.0", | ||
"cake-3.1", | ||
//"bear-0.10", | ||
//"symfony-2.5", | ||
//"symfony-2.6", | ||
"symfony-2.7", | ||
//"laravel-4.2", | ||
//"laravel-5.0", | ||
//"laravel-5.1", // Disabled since it segfaults too much | ||
//"zf-2.4", | ||
"zf-2.5", | ||
//"typo3f-2.3", | ||
//"typo3f-3.0", // Disabled since it attempts to connect to mysql | ||
]; | ||
|
||
if (strpos(getenv('stack'), 'hhvm') !== false) { | ||
return array_diff( | ||
$frameworks, | ||
array( | ||
'phalcon-1.3', // Not supported by HHVM | ||
'phalcon-2.0', // Not supported by HHVM | ||
'ice-1.0', // Not supported by HHVM | ||
'bear-1.0', // apc_fetch()-error on PHP7 | ||
'laravel-5.1', // fails-with-no-such-file-or-directory | ||
) | ||
); | ||
} | ||
|
||
if (strpos(getenv('stack'), 'php_7') !== false) { | ||
return array_diff( | ||
$frameworks, | ||
array( | ||
'phalcon-1.3', // Not compiled for PHP7 - is it even supported? | ||
'phalcon-2.0', // Not compiled for PHP7 - is it even supported? | ||
'ice-1.0', // Not compiled for PHP7 - is it even supported? | ||
'bear-1.0', // apc_fetch()-error on PHP7 | ||
) | ||
); | ||
} | ||
|
||
return $frameworks; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,123 +1,5 @@ | ||
#!/bin/sh | ||
|
||
if [ "$stack" = "local" ] || [ "$stack" = "docker_nginx_php_5_6_4" ]; then | ||
list=" | ||
no-framework | ||
#phalcon-1.3 | ||
phalcon-2.0 | ||
ice-1.0 | ||
tipsy-0.10 | ||
fatfree-3.5 | ||
slim-2.6 | ||
ci-3.0 | ||
nofuss-1.2 | ||
slim-3.0 | ||
bear-1.0 | ||
lumen-5.1 | ||
ze-1.0 | ||
radar-1.0-dev | ||
yii-2.0 | ||
#lumen-5.0 | ||
#silex-1.2 | ||
silex-1.3 | ||
cygnite-1.3 | ||
fuel-1.8-dev | ||
#fuel-2.0-dev | ||
phpixie-3.2 | ||
#cake-3.0 | ||
aura-2.0 | ||
cake-3.1 | ||
#bear-0.10 | ||
#symfony-2.5 | ||
#symfony-2.6 | ||
symfony-2.7 | ||
#laravel-4.2 | ||
#laravel-5.0 | ||
#segfaults-too-much#laravel-5.1 | ||
#zf-2.4 | ||
zf-2.5 | ||
#typo3f-2.3 | ||
#disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0 | ||
"$(php -r 'require("list.php"); foreach (frameworks() as $fw) {echo $fw."\n";};')" | ||
" | ||
fi | ||
if [ "$stack" = "docker_nginx_hhvm_3_10_1" ]; then | ||
list=" | ||
no-framework | ||
#not-supported-by-hhvm##phalcon-1.3 | ||
#not-supported-by-hhvm#phalcon-2.0 | ||
#not-supported-by-hhvm#ice-1.0 | ||
tipsy-0.10 | ||
fatfree-3.5 | ||
slim-2.6 | ||
ci-3.0 | ||
nofuss-1.2 | ||
slim-3.0 | ||
#apc_fetch()-error#bear-1.0 | ||
lumen-5.1 | ||
ze-1.0 | ||
radar-1.0-dev | ||
yii-2.0 | ||
#lumen-5.0 | ||
#silex-1.2 | ||
silex-1.3 | ||
cygnite-1.3 | ||
fuel-1.8-dev | ||
#fuel-2.0-dev | ||
phpixie-3.2 | ||
#cake-3.0 | ||
aura-2.0 | ||
cake-3.1 | ||
#bear-0.10 | ||
#symfony-2.5 | ||
#symfony-2.6 | ||
symfony-2.7 | ||
#laravel-4.2 | ||
#laravel-5.0 | ||
#fails-with-no-such-file-or-directory#laravel-5.1 | ||
#zf-2.4 | ||
zf-2.5 | ||
#typo3f-2.3 | ||
#disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0 | ||
" | ||
|
||
fi | ||
if [ "$stack" = "docker_nginx_php_7_0_0" ]; then | ||
list=" | ||
no-framework | ||
#not-compiled-for-php7-is-it-even-supported##phalcon-1.3 | ||
#not-compiled-for-php7-is-it-even-supported#phalcon-2.0 | ||
#not-compiled-for-php7-is-it-even-supported#ice-1.0 | ||
tipsy-0.10 | ||
fatfree-3.5 | ||
slim-2.6 | ||
ci-3.0 | ||
nofuss-1.2 | ||
slim-3.0 | ||
#apc_fetch()-error#bear-1.0 | ||
lumen-5.1 | ||
ze-1.0 | ||
radar-1.0-dev | ||
yii-2.0 | ||
#lumen-5.0 | ||
#silex-1.2 | ||
silex-1.3 | ||
cygnite-1.3 | ||
fuel-1.8-dev | ||
#fuel-2.0-dev | ||
phpixie-3.2 | ||
#cake-3.0 | ||
aura-2.0 | ||
cake-3.1 | ||
#bear-0.10 | ||
#symfony-2.5 | ||
#symfony-2.6 | ||
symfony-2.7 | ||
#laravel-4.2 | ||
#laravel-5.0 | ||
#segfaults-too-much#laravel-5.1 | ||
#zf-2.4 | ||
zf-2.5 | ||
#typo3f-2.3 | ||
#disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0 | ||
" | ||
fi |