<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                PHP-CS-Fixer ============= [PHP Coding Standards Fixer][] 是在不破壞相容性的情況下,將 PHP 的代碼往 [PSR-2][] 的方向修正。 [PHP Coding Standards Fixer]: http://cs.sensiolabs.org/ [PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md * * * * * ## 安裝方法 以下是基于 Linux 環境的安裝方法: 直接下載 [php-cs-fixer.phar](http://get.sensiolabs.org/php-cs-fixer.phar) 文件 ``` wget http://cs.sensiolabs.org/get/php-cs-fixer.phar -O php-cs-fixer chmod a+x php-cs-fixer ``` 放到 `/usr/local/bin` 目錄下 ## 使用方法 使用 `fix` 命令修正指定的目錄或文件 ```shell php-cs-fixer fix /path/to/dir php-cs-fixer fix /path/to/file ``` 預設是 PSR-2 以及一些作者自訂的規則,如果要強制只用 PSR-2 的話可以用 `--level=psr2` 。 更多使用說明文檔,請查閱官方 [Github](https://github.com/FriendsOfPHP/PHP-CS-Fixer) ## 專用插件 * [PhpStorm](http://tzfrs.de/2015/01/automatically-format-code-to-match-psr-standards-with-phpstorm) * [Sublime Text](https://github.com/benmatselby/sublime-phpcs)
                  <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>

                              哎呀哎呀视频在线观看