File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/vendor/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php
Back
<?php declare (strict_types=1); namespace RectorPrefix202208\Symplify\EasyTesting\PHPUnit; /** * @api */ final class StaticPHPUnitEnvironment { /** * Never ever used static methods if not neccesary, this is just handy for tests + src to prevent duplication. */ public static function isPHPUnitRun() : bool { return \defined('RectorPrefix202208\\PHPUNIT_COMPOSER_INSTALL') || \defined('RectorPrefix202208\\__PHPUNIT_PHAR__'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings