Page MenuHomeWickedGov Phorge

BeforeAnalyzeCapability.php
No OneTemporary

Size
758 B
Referenced Files
None
Subscribers
None

BeforeAnalyzeCapability.php

<?php
declare(strict_types=1);
namespace Phan\PluginV3;
use Phan\CodeBase;
/**
* BeforeAnalyzeCapability is used when you want to perform checks before analyzing a project.
*
* beforeAnalyze is invoked immediately before analyzing methods, before forking analysis workers and before starting the analysis phase.
*
* @see BeforeAnalyzePhaseCapability to run plugins **after** analyzing methods.
* (use BeforeAnalyzePhaseCapability if you're not sure)
*/
interface BeforeAnalyzeCapability
{
/**
* This method is called before analyzing a project and before analyzing methods.
*
* @param CodeBase $code_base
* The code base of the project.
*/
public function beforeAnalyze(
CodeBase $code_base
): void;
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 15:28 (1 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8b/1e/d3dd0eab3c3931993b69d7e2b72f
Default Alt Text
BeforeAnalyzeCapability.php (758 B)

Event Timeline