mago-analyzer 1.18.1

A PHP static analyzer that can detect type errors in PHP code, and provide suggestions for fixing them.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Library-specific providers for PHP stdlib, PSL, Flow-PHP, and PSR-11 Container.

pub mod flow_php;
pub mod psl;
pub mod psr_container;
pub mod stdlib;

use crate::plugin::Plugin;

pub use flow_php::FlowPhpPlugin;
pub use psl::PslPlugin;
pub use psr_container::PsrContainerPlugin;
pub use stdlib::StdlibPlugin;

/// All available analyzer plugins.
pub static ALL_PLUGINS: &[&dyn Plugin] = &[&StdlibPlugin, &PslPlugin, &FlowPhpPlugin, &PsrContainerPlugin];