-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.bootstrap.php
24 lines (18 loc) · 1.12 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
<?php
declare(strict_types = 1);
// phpcs:disable Generic.NamingConventions.UpperCaseConstantName
defined('LF') ?: define('LF', chr(10));
defined('CR') ?: define('CR', chr(13));
defined('CRLF') ?: define('CRLF', CR . LF);
defined('FILE_DENY_PATTERN_DEFAULT') ?: define('FILE_DENY_PATTERN_DEFAULT', '\\.(php[3-8]?|phpsh|phtml|pht|phar|shtml|cgi)(\\..*)?$|\\.pl$|^\\.htaccess$');
defined('TYPO3_REQUESTTYPE') ?: define('TYPO3_REQUESTTYPE', 0);
defined('TYPO3_REQUESTTYPE_FE') ?: define('TYPO3_REQUESTTYPE_FE', 1);
defined('TYPO3_REQUESTTYPE_BE') ?: define('TYPO3_REQUESTTYPE_BE', 2);
defined('TYPO3_REQUESTTYPE_CLI') ?: define('TYPO3_REQUESTTYPE_CLI', 4);
defined('TYPO3_REQUESTTYPE_AJAX') ?: define('TYPO3_REQUESTTYPE_AJAX', 8);
defined('TYPO3_REQUESTTYPE_INSTALL') ?: define('TYPO3_REQUESTTYPE_INSTALL', 16);
defined('TYPO3_MODE') ?: define('TYPO3_MODE', '');
defined('TYPO3_mainDir') ?: define('TYPO3_mainDir', 'typo3/');
defined('TYPO3_version') ?: define('TYPO3_version', '');
defined('TYPO3_branch') ?: define('TYPO3_branch', '');
defined('PHPUNIT_COMPOSER_INSTALL') ?: define('PHPUNIT_COMPOSER_INSTALL', __DIR__ . '/vendor/autoload.php');