forked from diablomedia/doctrine1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-bootstrap.php
58 lines (44 loc) · 1.66 KB
/
phpstan-bootstrap.php
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
<?php
// Use stubs so we can analyze types from unloaded extensions
if (!extension_loaded('apc')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/apc/apc.php';
}
if (!extension_loaded('apcu')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/apcu/apcu.php';
}
if (!extension_loaded('ctype')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/ctype/ctype.php';
}
if (!extension_loaded('filter')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/filter/filter.php';
}
if (!extension_loaded('iconv')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/iconv/iconv.php';
}
if (!extension_loaded('json')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/json/json.php';
}
if (!extension_loaded('mbstring')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/mbstring/mbstring.php';
}
if (!extension_loaded('memcache')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/memcache/memcache.php';
}
if (!extension_loaded('oci8')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/oci8/oci8.php';
}
if (!extension_loaded('PDO')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/PDO/PDO.php';
}
if (!extension_loaded('posix')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/posix/posix.php';
}
if (!extension_loaded('SimpleXML')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/SimpleXML/SimpleXML.php';
}
if (!extension_loaded('xcache')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/xcache/xcache.php';
}
if (!extension_loaded('zlib')) {
require_once __DIR__ . '/vendor/jetbrains/phpstorm-stubs/zlib/zlib.php';
}