stevenash/

phpcd-pre-push-hook

测试

dev-master 2020-01-09 09:07 UTC

This package is auto-updated.

Last update: 2024-09-09 19:04:07 UTC


README

phpcs-pre-push-hook.

安装

$ composer require stevenash/phpcd-pre-push-hook -vvv

或者,您也可以在 composer.json 文件中手动包含对 wickedreports/phpcs-pre-commit-hook 的依赖项

{
    "require-dev": {
        "stevenash/phpcd-pre-push-hook": "*"
    }
}

要启用代码嗅探,请将 post-install-cmdpost-update-cmd 添加到 composer.json 安装脚本中

"scripts": {
    "post-install-cmd": [
        "Stevenash\\PhpcdPrePushHook\\Installer::postInstall"
    ],
    "post-update-cmd": [
        "Stevenash\\PhpcdPrePushHook\\Installer::postInstall"
    ]
}

用法

待办事项

贡献

您可以通过以下三种方式之一进行贡献

  1. 使用 问题跟踪器 提交错误报告。
  2. 问题跟踪器 上回答问题或修复错误。
  3. 贡献新功能或更新 wiki。

代码贡献流程不是很正式。您只需确保遵循 PSR-0、PSR-1 和 PSR-2 编码规范。任何新的代码贡献都必须附有适用的单元测试。

许可证

MIT