File "DisallowSelfActionsUnitTest.inc"
Full Path: /home/warrior1/public_html/languages/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/DisallowSelfActionsUnitTest.inc
File size: 896 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
class SomethingActions
{
private static function _x()
{
}
public static function y()
{
self::z();
static::z();
SomethingActions::z();
static::_x();
self::a();
static::a();
}
public static function z()
{
}
protected static function a()
{
self::a(); // recursion, yay!
self::z();
static::y();
self::b();
echo self::$_myVar;
echo static::$yourVar;
}
}
abstract class AbstractEditingScreenModeWidgetActions extends AbstractEditingModeWidgetActions {
public static function getScreens($systemName)
{
}//end getScreens()
public static function setHelpScreenTitle()
{
// This is allowed because we are in an abstract class.
$screens = self::getScreens('');
}//end setHelpScreenTitle()
}//end class
?>