opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
Testing
/
PHPUnit
➕ New
📤 Upload
✎ Editing:
StaticPHPUnitEnvironment.php
← Back
<?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 Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel