Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5978879
TestMarkerNotFound.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
TestMarkerNotFound.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
OutOfBoundsException
;
/**
* Exception thrown when a delimiter comment can not be found in a test case file.
*
* @since 1.0.0
*/
final
class
TestMarkerNotFound
extends
OutOfBoundsException
{
/**
* Create a new "test marker not found" exception with a standardized text.
*
* @since 1.0.0
*
* @param string $marker The delimiter comment.
* @param string $file The file in which the delimiter was not found.
*
* @return \PHPCSUtils\Exceptions\TestMarkerNotFound
*/
public
static
function
create
(
$marker
,
$file
)
{
return
new
self
(
\sprintf
(
'Failed to find the test marker: %s in test case file %s'
,
$marker
,
$file
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 20:37 (4 d, 1 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
26/29/1dfeb0e931fda093f837c8f1efe5
Default Alt Text
TestMarkerNotFound.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment