PHP静态分析器phan.zip

时间:2022-08-04 21:06:39
【文件属性】:
文件名称:PHP静态分析器phan.zip
文件大小:170KB
文件格式:ZIP
更新时间:2022-08-04 21:06:39
开源项目 phan 是 PHP 的静态分析器。它需要加载 PHP-AST 扩展的 PHP7 。当然,你可以用于分析任何版本的PHP写的代码。不过,phan 不适合生产使用。特性:检查未声明的函数、方法、闭包和类的调用与实例。检查类型的所有从函数、闭包、方法发出/返回的参数、返回值的所有类型。支持 @param, @return, @var 和 @deprecated phpdoc 注释包括 union 和 void/null typesChecks for Uniform Variable Syntax PHP 5 -> PHP 7 BC breaks未定义的变量跟踪支持的命名空间,特征和variadics泛型 (from phpdoc hints - int[], string[], UserObject[], etc.)基本污染数据检测 标签:phan
【文件预览】:
phan-master
----phan(3KB)
----filelist.txt(170B)
----run-tests.php(57KB)
----includes()
--------log.php(4KB)
--------pass2.php(60KB)
--------util.php(35KB)
--------arginfo.php(693KB)
--------pass1.php(17KB)
--------class_vars.php(2KB)
--------cli.php(3KB)
--------ast_util.php(7KB)
----LICENSE(1KB)
----README.md(132B)
----tests()
--------0011_internal_arg.phpt(147B)
--------0022_ref_params.phpt(446B)
--------0025_catch.phpt(293B)
--------0034_generics.phpt(315B)
--------0015_variadic_call.phpt(200B)
--------0016_trait_call.phpt(601B)
--------0020_global_var.phpt(241B)
--------0027_void.phpt(164B)
--------0044_trait_priority.phpt(193B)
--------0003_return_type.phpt(320B)
--------0033_ns_function.phpt(257B)
--------0039_static_property_ref.phpt(328B)
--------0040_deprecated.phpt(185B)
--------0001_hello_world.phpt(53B)
--------0013_alternate_signature.phpt(267B)
--------0019_static_var.phpt(220B)
--------0042_array_access.phpt(144B)
--------0007_self_call.phpt(250B)
--------0036_properties.phpt(583B)
--------0008_parent_call.phpt(232B)
--------0018_return_var.phpt(185B)
--------0041_array_comp.phpt(191B)
--------0028_construct.phpt(225B)
--------0024_GLOBALS.phpt(359B)
--------0043_array_access_object.phpt(774B)
--------0006_var_combo.phpt(528B)
--------0035_class_const.phpt(198B)
--------0014_varargs_internal.phpt(146B)
--------0023_doc_comment.phpt(316B)
--------0005_arg_types.phpt(330B)
--------0012_redef_interface_class.phpt(568B)
--------0004_number_of_args.phpt(419B)
--------0026_closure.phpt(394B)
--------0032_ns_alias.phpt(367B)
--------0029_internal_method.phpt(176B)
--------0017_taint.phpt(719B)
--------0009_method_call.phpt(213B)
--------0002_dangling_var.phpt(88B)
--------0021_foreach.phpt(266B)
--------0037_properties2.phpt(448B)
--------0038_properties3.phpt(377B)
--------0031_prop.phpt(271B)
--------0030_def_arg_type.phpt(201B)
--------0010_this_method_call.phpt(263B)
----.gitignore(78B)
----composer.json(346B)

网友评论