Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7411238
AfterAnalyzeFileCapability.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
884 B
Referenced Files
None
Subscribers
None
AfterAnalyzeFileCapability.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Phan\PluginV3
;
use
ast\Node
;
use
Phan\CodeBase
;
use
Phan\Language\Context
;
/**
* AfterAnalyzeFileCapability is used when you want to perform checks after analyzing a file
* NOTE: This does not run on empty files.
*/
interface
AfterAnalyzeFileCapability
{
/**
* This method is called after Phan analyzes a file.
*
* @param CodeBase $code_base
* The code base in which the node exists
*
* @param Context $context
* A context with the file name for $file_contents and the scope after analyzing $node.
*
* @param string $file_contents the unmodified file contents
* @param Node $node the node parsed from $file_contents
*/
public
function
afterAnalyzeFile
(
CodeBase
$code_base
,
Context
$context
,
string
$file_contents
,
Node
$node
):
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 23:29 (1 d, 21 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b9/45/039274ccb0726ae6a7188d403b6f
Default Alt Text
AfterAnalyzeFileCapability.php (884 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment