Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4145952
InvalidTokenArray.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
InvalidTokenArray.php
View Options
<?php
/**
* PHPCSUtils, utility functions and classes for PHP_CodeSniffer sniff developers.
*
* @package PHPCSUtils
* @copyright 2019-2020 PHPCSUtils Contributors
* @license https://opensource.org/licenses/LGPL-3.0 LGPL3
* @link https://github.com/PHPCSStandards/PHPCSUtils
*/
namespace
PHPCSUtils\Exceptions
;
use
PHP_CodeSniffer\Exceptions\RuntimeException
;
/**
* Exception thrown when an non-existent token array is requested.
*
* @since 1.0.0
*/
final
class
InvalidTokenArray
extends
RuntimeException
{
/**
* Create a new invalid token array exception with a standardized text.
*
* @since 1.0.0
*
* @param string $name The name of the token array requested.
*
* @return \PHPCSUtils\Exceptions\InvalidTokenArray
*/
public
static
function
create
(
$name
)
{
$stack
=
\debug_backtrace
(
\DEBUG_BACKTRACE_IGNORE_ARGS
,
2
);
return
new
self
(
\sprintf
(
'Call to undefined method %s::%s()'
,
$stack
[
1
][
'class'
],
$name
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 17:50 (5 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
67/a1/33959781d10a738fc14d26452c94
Default Alt Text
InvalidTokenArray.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment