myparcelnl/devtools
最新稳定版本:1.0.0
Composer 安装命令:
composer require myparcelnl/devtools
包简介
Dev tools for linting and analysing php projects.
README 文档
README
These tools are used to make a consistent php workflow.
Installation
composer require --dev myparcelnl/devtools
Included tools
Configuration
PHPMD
Create a new file in your project root called phpmd.xml.
Paste the following content into it:
<?xml version="1.0"?> <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="MyParcel" xmlns="http://pmd.sf.net/ruleset/1.0.0" xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 https://pmd.sourceforge.io/ruleset_xml_schema.xsd" xsi:noNamespaceSchemaLocation="https://pmd.sourceforge.io/ruleset_xml_schema.xsd"> <description /> <rule ref="vendor/myparcelnl/devtools/phpmd.xml"> <exclude name="StaticAccess" /> </rule> </ruleset>
Then set up your IDE so PHPMD inspections are enabled.
统计信息
- 总下载量: 1.87k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-29