File tree 3 files changed +76
-157
lines changed
3 files changed +76
-157
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ require ( dirname (__FILE__ ) . '/../list.php ' );
4
+
3
5
function parse_results ($ file )
4
6
{
5
7
$ lines = file ($ file );
@@ -31,44 +33,7 @@ function parse_results($file)
31
33
];
32
34
}
33
35
34
- $ frameworks = [
35
- "no-framework " ,
36
- //"phalcon-1.3",
37
- "phalcon-2.0 " ,
38
- "ice-1.0 " ,
39
- "tipsy-0.10 " ,
40
- "fatfree-3.5 " ,
41
- "slim-2.6 " ,
42
- "ci-3.0 " ,
43
- "nofuss-1.2 " ,
44
- "slim-3.0 " ,
45
- "bear-1.0 " ,
46
- "lumen-5.1 " ,
47
- "ze-1.0 " ,
48
- "radar-1.0-dev " ,
49
- "yii-2.0 " ,
50
- //"lumen-5.0",
51
- //"silex-1.2",
52
- "silex-1.3 " ,
53
- "cygnite-1.3 " ,
54
- //"fuel-1.8-dev",
55
- "fuel-2.0-dev " ,
56
- "phpixie-3.2 " ,
57
- //"cake-3.0",
58
- "aura-2.0 " ,
59
- "cake-3.1 " ,
60
- "bear-0.10 " ,
61
- //"symfony-2.5",
62
- //"symfony-2.6",
63
- "symfony-2.7 " ,
64
- //"laravel-4.2",
65
- //"laravel-5.0",
66
- "laravel-5.1 " ,
67
- //"zf-2.4",
68
- "zf-2.5 " ,
69
- //"typo3f-2.3",
70
- "typo3f-3.0 " ,
71
- ];
36
+ $ frameworks = frameworks ();
72
37
73
38
$ ordered_results = [];
74
39
foreach ($ frameworks as $ fw ) {
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ function frameworks ()
4
+ {
5
+
6
+ $ frameworks = [
7
+ "no-framework " ,
8
+ //"phalcon-1.3",
9
+ "phalcon-2.0 " ,
10
+ "ice-1.0 " ,
11
+ "tipsy-0.10 " ,
12
+ "fatfree-3.5 " ,
13
+ "slim-2.6 " ,
14
+ "ci-3.0 " ,
15
+ "nofuss-1.2 " ,
16
+ "slim-3.0 " ,
17
+ "bear-1.0 " ,
18
+ "lumen-5.1 " ,
19
+ "ze-1.0 " ,
20
+ "radar-1.0-dev " ,
21
+ "yii-2.0 " ,
22
+ //"lumen-5.0",
23
+ //"silex-1.2",
24
+ "silex-1.3 " ,
25
+ "cygnite-1.3 " ,
26
+ "fuel-1.8-dev " ,
27
+ //"fuel-2.0-dev",
28
+ "phpixie-3.2 " ,
29
+ //"cake-3.0",
30
+ "aura-2.0 " ,
31
+ "cake-3.1 " ,
32
+ //"bear-0.10",
33
+ //"symfony-2.5",
34
+ //"symfony-2.6",
35
+ "symfony-2.7 " ,
36
+ //"laravel-4.2",
37
+ //"laravel-5.0",
38
+ //"laravel-5.1", // Disabled since it segfaults too much
39
+ //"zf-2.4",
40
+ "zf-2.5 " ,
41
+ //"typo3f-2.3",
42
+ //"typo3f-3.0", // Disabled since it attempts to connect to mysql
43
+ ];
44
+
45
+ if (strpos (getenv ('stack ' ), 'hhvm ' ) !== false ) {
46
+ return array_diff (
47
+ $ frameworks ,
48
+ array (
49
+ 'phalcon-1.3 ' , // Not supported by HHVM
50
+ 'phalcon-2.0 ' , // Not supported by HHVM
51
+ 'ice-1.0 ' , // Not supported by HHVM
52
+ 'bear-1.0 ' , // apc_fetch()-error on PHP7
53
+ 'laravel-5.1 ' , // fails-with-no-such-file-or-directory
54
+ )
55
+ );
56
+ }
57
+
58
+ if (strpos (getenv ('stack ' ), 'php_7 ' ) !== false ) {
59
+ return array_diff (
60
+ $ frameworks ,
61
+ array (
62
+ 'phalcon-1.3 ' , // Not compiled for PHP7 - is it even supported?
63
+ 'phalcon-2.0 ' , // Not compiled for PHP7 - is it even supported?
64
+ 'ice-1.0 ' , // Not compiled for PHP7 - is it even supported?
65
+ 'bear-1.0 ' , // apc_fetch()-error on PHP7
66
+ )
67
+ );
68
+ }
69
+
70
+ return $ frameworks ;
71
+
72
+ }
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- if [ " $stack " = " local" ] || [ " $stack " = " docker_nginx_php_5_6_4" ]; then
4
3
list="
5
- no-framework
6
- #phalcon-1.3
7
- phalcon-2.0
8
- ice-1.0
9
- tipsy-0.10
10
- fatfree-3.5
11
- slim-2.6
12
- ci-3.0
13
- nofuss-1.2
14
- slim-3.0
15
- bear-1.0
16
- lumen-5.1
17
- ze-1.0
18
- radar-1.0-dev
19
- yii-2.0
20
- #lumen-5.0
21
- #silex-1.2
22
- silex-1.3
23
- cygnite-1.3
24
- fuel-1.8-dev
25
- #fuel-2.0-dev
26
- phpixie-3.2
27
- #cake-3.0
28
- aura-2.0
29
- cake-3.1
30
- #bear-0.10
31
- #symfony-2.5
32
- #symfony-2.6
33
- symfony-2.7
34
- #laravel-4.2
35
- #laravel-5.0
36
- #segfaults-too-much#laravel-5.1
37
- #zf-2.4
38
- zf-2.5
39
- #typo3f-2.3
40
- #disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0
4
+ " $( php -r ' require("list.php"); foreach (frameworks() as $fw) {echo $fw."\n";};' ) "
41
5
"
42
- fi
43
- if [ " $stack " = " docker_nginx_hhvm_3_10_1" ]; then
44
- list="
45
- no-framework
46
- #not-supported-by-hhvm##phalcon-1.3
47
- #not-supported-by-hhvm#phalcon-2.0
48
- #not-supported-by-hhvm#ice-1.0
49
- tipsy-0.10
50
- fatfree-3.5
51
- slim-2.6
52
- ci-3.0
53
- nofuss-1.2
54
- slim-3.0
55
- #apc_fetch()-error#bear-1.0
56
- lumen-5.1
57
- ze-1.0
58
- radar-1.0-dev
59
- yii-2.0
60
- #lumen-5.0
61
- #silex-1.2
62
- silex-1.3
63
- cygnite-1.3
64
- fuel-1.8-dev
65
- #fuel-2.0-dev
66
- phpixie-3.2
67
- #cake-3.0
68
- aura-2.0
69
- cake-3.1
70
- #bear-0.10
71
- #symfony-2.5
72
- #symfony-2.6
73
- symfony-2.7
74
- #laravel-4.2
75
- #laravel-5.0
76
- #fails-with-no-such-file-or-directory#laravel-5.1
77
- #zf-2.4
78
- zf-2.5
79
- #typo3f-2.3
80
- #disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0
81
- "
82
-
83
- fi
84
- if [ " $stack " = " docker_nginx_php_7_0_0" ]; then
85
- list="
86
- no-framework
87
- #not-compiled-for-php7-is-it-even-supported##phalcon-1.3
88
- #not-compiled-for-php7-is-it-even-supported#phalcon-2.0
89
- #not-compiled-for-php7-is-it-even-supported#ice-1.0
90
- tipsy-0.10
91
- fatfree-3.5
92
- slim-2.6
93
- ci-3.0
94
- nofuss-1.2
95
- slim-3.0
96
- #apc_fetch()-error#bear-1.0
97
- lumen-5.1
98
- ze-1.0
99
- radar-1.0-dev
100
- yii-2.0
101
- #lumen-5.0
102
- #silex-1.2
103
- silex-1.3
104
- cygnite-1.3
105
- fuel-1.8-dev
106
- #fuel-2.0-dev
107
- phpixie-3.2
108
- #cake-3.0
109
- aura-2.0
110
- cake-3.1
111
- #bear-0.10
112
- #symfony-2.5
113
- #symfony-2.6
114
- symfony-2.7
115
- #laravel-4.2
116
- #laravel-5.0
117
- #segfaults-too-much#laravel-5.1
118
- #zf-2.4
119
- zf-2.5
120
- #typo3f-2.3
121
- #disabled-since-it-attempts-to-connect-to-mysql#typo3f-3.0
122
- "
123
- fi
You can’t perform that action at this time.
0 commit comments