echo-fusion/codestandard
最新稳定版本:v1.0.3
Composer 安装命令:
composer require echo-fusion/codestandard
包简介
This project contains the code standard for echoFusion framework
README 文档
README
This package promotes uniformity across all EchoFusion framework packages by establishing a standardized set of rules for the "friendsofphp/php-cs-fixer" package.
Installation
Install the package via Composer:
composer require echo-fusion/codestandard
Requirements
The following versions of PHP are supported by this version.
- PHP 8.1
- PHP 8.2
- PHP 8.3
Usage
To develop packages that will integrate with the EchoFusion framework, follow this rule set configuration. Here's how to apply it:
Copy the phpcs-fixer configuration file from the template directory and remove the 'template' extension. Your final configuration file should be named:
.php-cs-fixer.dist.php
Now you can execute command:
./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php
Testing
Testing includes PHPUnit and PHPStan (Level 7).
$ composer test
Credits
Developed and maintained by Amir Shadanfar.
Connect on LinkedIn.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 160
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-30