-
-
Notifications
You must be signed in to change notification settings - Fork 466
/
config.json
170 lines (169 loc) · 4.02 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"namespace": "stub",
"name": "Test Extension",
"description": "Description <b>test</b> for<br\/>Test Extension.",
"author": "Phalcon Team and contributors",
"version": "1.0.0",
"verbose": true,
"requires": {
"extensions": [
"PDO",
"SPL",
"standard",
"hash",
"json"
]
},
"stubs": {
"path": "ide\/%version%\/%namespace%\/",
"stubs-run-after-generate": false,
"banner": "/**\n * This file is part of the Zephir.\n *\n * (c) Phalcon Team <[email protected]>\n *\n * For the full copyright and license information, please view\n * the LICENSE file that was distributed with this source code.\n */"
},
"api": {
"path": "doc/%version%",
"theme": {
"name": "zephir",
"options": {
"github": "https://github.com/user/repo",
"analytics": null,
"main_color": "#3E6496",
"link_color": "#3E6496",
"link_hover_color": "#5F9AE7"
}
}
},
"warnings": {
"unused-variable": true,
"unused-variable-external": false,
"possible-wrong-parameter": true,
"possible-wrong-parameter-undefined": false,
"nonexistent-function": true,
"nonexistent-class": true,
"non-valid-isset": true,
"non-array-update": true,
"non-valid-objectupdate": true,
"non-valid-fetch": true,
"invalid-array-index": true,
"non-array-append": true,
"invalid-return-type": true,
"unreachable-code": true,
"nonexistent-constant": true,
"not-supported-magic-constant": true,
"non-valid-decrement": true,
"non-valid-increment": true,
"non-valid-clone": true,
"non-valid-new": true,
"non-array-access": true,
"invalid-reference": true,
"invalid-typeof-comparison": true,
"conditional-initialization": true
},
"optimizations": {
"static-type-inference": true,
"static-type-inference-second-pass": true,
"local-context-pass": true,
"constant-folding": true,
"static-constant-class-folding": true,
"call-gatherer-pass": true,
"check-invalid-reads": false,
"private-internal-methods": false,
"public-internal-methods": false,
"public-internal-functions": true
},
"globals": {
"my_setting_1": {
"type": "bool",
"default": true,
"ini-entry": {
"name": "ini-entry.my_setting_1",
"scope": "PHP_INI_ALL"
}
},
"test_setting_1": {
"type": "bool",
"default": true
},
"my_setting_2": {
"type": "int",
"default": 10
},
"my_setting_3": {
"type": "double",
"default": 15.2
},
"my_setting_4": {
"type": "char",
"default": "A"
},
"my_setting_5": {
"type": "string",
"default": "custom_value"
},
"db.my_setting_1": {
"type": "bool",
"default": false
},
"db.my_setting_2": {
"type": "int",
"default": 100
},
"db.my_setting_3": {
"type": "double",
"default": 7.5
},
"orm.cache_level": {
"type": "int",
"default": 3
},
"orm.cache_enable": {
"type": "bool",
"default": true
},
"orm.cache_prefix": {
"type": "string",
"default": "prefix-string-"
},
"extension.test_ini_variable": {
"type": "bool",
"default": true,
"ini-entry": {
"name": "extension.test_ini_variable",
"scope": "PHP_INI_ALL"
}
}
},
"info": [
{
"header": [
"Test Extension support",
"Value"
],
"rows": [
[
"Lifecycle hooks",
"PHP provides several lifecycle events, which extensions can use to perform common initialization or shutdown tasks."
],
[
"Static Analysis",
"Test extensions' compiler provides static analysis of the compiled code."
]
]
},
{
"header": [
"Test variable",
"Value"
],
"rows": [
[
"Extension",
"Installed"
],
[
"NFR",
"Contributions are welcome!"
]
]
}
]
}