PHP 静态分析工具 PHPStan
- 授权协议: MIT
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: https://github.com/phpstan/phpstan
- 软件文档: https://github.com/phpstan/phpstan/blob/master/README.md
- 官方下载: https://github.com/phpstan/phpstan/archive/master.zip
软件介绍
PHPStan 是一款 PHP 静态分析工具,它专注于在代码中发现错误而不实际运行它。 它甚至能在代码编写测试之前捕获整个类的错误。
PHPStan 让 PHP 更接近编译语言,这意味着在运行实际行之前可以检查代码的每一行的正确性。
使用
要开始对代码执行分析,需要在 Compose r中使用 PHPStan :
composer require --dev phpstan/phpstan
Composer 将在其 bin-dir 中安装 PHPStan 的可执行文件,默认为 vendor / bin。
分析
为了让 PHPStan 分析代码库,需使用分析命令,并将其指向正确的目录。
例如,
vendor/bin/phpstan analyse src tests
Machine Learning
Kevin Murphy / The MIT Press / 2012-9-18 / USD 90.00
Today's Web-enabled deluge of electronic data calls for automated methods of data analysis. Machine learning provides these, developing methods that can automatically detect patterns in data and then ......一起来看看 《Machine Learning》 这本书的介绍吧!
