REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.53 KB
Close
/opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/UnusedSystemUnitTest.inc
Text
Base64
<?php Channels::includeSystem('OurSystem'); Channels::includeSystem('Page'); Channels::includeAsset('Page2'); Channels::includeAsset('Folder'); function one() { Channels::includeSystem('MySystem'); $siteid = MySystem2::getCurrentSiteId(); Page::create(); PageAssetType::create(); } function two() { Page2AssetType::create(); Folder::getFolder(); } Channels::includeAsset('Asset'); class AssetListingAssetType extends AssetAssetType { function one() { Channels::includeSystem('MySystem2'); Channels::includeSystem('Page2'); $siteid = MySystem2::getCurrentSiteId(); } function two() { $siteid = Page2::getCurrentSiteId(); } } Channels::includeSystem('Log'); Channels::includeSystem('Log4'); class MyLog implements Dog, Log extends LogMe {} Channels::includeSystem('Log1'); class MyLog implements Dog, Log1 extends LogMe {} class MyLog implements Log2 {} Channels::includeSystem('Log3'); class MyLog implements Log3 {} if (self::systemExists($systemName) === FALSE) { return $actions; } else { // Shouldn't throw an error because we don't know the system name. self::includeSystem($systemName); self::includeSystem($systemNames['log']); } Channels::includeSystem('Widget'); Widget::includeWidget('AbstractContainer'); class MyOtherWidget extends BookWidgetType {} function myFunction() { if (Channels::systemExists('Log5') === TRUE) { Channels::includeSystem('Log5'); } else { return; } Log5::addProjectLog('metadata.field.update', $msg); } ?>
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
DisallowSelfActionsUnitTest.inc
896 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DisallowSelfActionsUnitTest.php
1.42 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
IncludeSystemUnitTest.inc
2.86 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
IncludeSystemUnitTest.php
1.54 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnusedSystemUnitTest.inc
1.53 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
UnusedSystemUnitTest.php
1.43 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).