Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7112461
UnitTestableArcanistLintEngine.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
505 B
Referenced Files
None
Subscribers
None
UnitTestableArcanistLintEngine.php
View Options
<?php
/**
* Lint engine for use in constructing test cases. See
* @{class:ArcanistLinterTestCase}.
*
* @group testcase
*/
final
class
UnitTestableArcanistLintEngine
extends
ArcanistLintEngine
{
protected
$linters
=
array
();
public
function
addLinter
(
$linter
)
{
$this
->
linters
[]
=
$linter
;
return
$this
;
}
public
function
addFileData
(
$path
,
$data
)
{
$this
->
fileData
[
$path
]
=
$data
;
return
$this
;
}
protected
function
buildLinters
()
{
return
$this
->
linters
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Jul 3, 17:58 (4 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
799694
Default Alt Text
UnitTestableArcanistLintEngine.php (505 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment