golden hour
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/Testing/PHPUnit
⬆️ Go Up
Upload
File/Folder
Size
Actions
AbstractLazyTestCase.php
1.18 KB
Del
OK
AbstractRectorTestCase.php
10.62 KB
Del
OK
AbstractTestCase.php
813 B
Del
OK
StaticPHPUnitEnvironment.php
349 B
Del
OK
ValueObject
-
Del
OK
Edit: StaticPHPUnitEnvironment.php
<?php declare (strict_types=1); namespace Rector\Testing\PHPUnit; final class StaticPHPUnitEnvironment { /** * Never ever used static methods if possible, this is just handy for tests + src to prevent duplication. */ public static function isPHPUnitRun() : bool { return \defined('PHPUNIT_COMPOSER_INSTALL'); } }
Save