<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [TOC] > [github](https://github.com/phpro/grumphp/blob/master/doc/tasks.md) ## 概述 grumphp 用于限制 commit 的提交必須滿足要求才能提交,處了 - 限制php 的代碼格式 - 限制php的版本 - 文件的大小等 ## commit 的代碼檢測配置 ![](../../../images/screenshot_1682478202456.png) 如果有單元測試,也可勾選單眼 ## grumphp 設置 git hook ### 安裝 ``` composer require --dev phpro/grumphp ``` ### 設置配置文件 grumphp.yml ``` grumphp: hooks_dir: .git hooks_preset: local git_hook_variables: stop_on_failure: false ignore_unstaged_changes: false hide_circumvention_tip: false process_timeout: 60 parallel: enabled: true max_workers: 32 fixer: enabled: true fix_by_default: false environment: files: [] variables: {} paths: [] tasks: phplint: short_open_tag: false ignore_patterns: ['/vendor'] triggered_by: ['php'] phpcs: standard: [PSR12] ignore_patterns: ['/vendor'] triggered_by: ['php'] testsuites: [] extensions: [] ``` 執行,以下命令就會在 `.git/hook/pre-commit`下添加出命令 ``` grumphp git:init ``` ## 問題 ## 提示 he executable for "parallel-lint" could not be found. how to resolve this ``` composer require --dev jakub-onderka/php-parallel-lint ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看