bellangelo/phpstan-require-file-exists
最新稳定版本:v1.2.0
Composer 安装命令:
composer require bellangelo/phpstan-require-file-exists
包简介
A PHPStan rule for checking if the files mentioned in the imports really exist.
README 文档
README
UPDATE: This rule has been merged into PHPStan itself. Here is the PR: phpstan/phpstan-src#3294
Weirdly enough, PHPStan does not check if a file exists when used in a
require or include statement. This is a PHPStan rule that tries to do
exactly that.
Installation
composer require --dev bellangelo/phpstan-require-file-exists
Development
For local development and testing, composer.json contains several commands that you can run.
composer run tests- runs the PHPUnit tests.composer run phpstan- runs PHPStan on thesrcandtestsdirectories.composer run phpcs- runs PHP CodeSniffer on thesrcandtestsdirectories.composer run phpcs:fix- runs PHP CodeSniffer on thesrcandtestsdirectories and tries to fix the issues.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2024-08-01