forked from spryker-shop/suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-bootstrap.php
31 lines (27 loc) · 1.02 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
<?php
/**
* Copyright © 2017-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
define('APPLICATION_ROOT_DIR', __DIR__);
define('APPLICATION_VENDOR_DIR', APPLICATION_ROOT_DIR . '/vendor');
define('APPLICATION_SOURCE_DIR', APPLICATION_ROOT_DIR . '/src');
define('APPLICATION', '');
define('APPLICATION_ENV', '');
define('APPLICATION_STORE', '');
require_once(__DIR__ . '/src/Generated/Client/Ide/AutoCompletion.php');
require_once(__DIR__ . '/src/Generated/Service/Ide/AutoCompletion.php');
require_once(__DIR__ . '/src/Generated/Yves/Ide/AutoCompletion.php');
require_once(__DIR__ . '/src/Generated/Zed/Ide/AutoCompletion.php');
// Shim to not throw "Function opcache_invalidate not found" error when opcache is not enabled
if (!function_exists('opcache_invalidate')) {
/**
* @param string $script
* @param bool $force
*
* @return void
*/
function opcache_invalidate($script, $force = false)
{
}
}