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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                >也可以參考此文:https://www.cnblogs.com/huangbx/p/php_codesniffer.html [TOC] 我用的是`wamp`,環境是`php7.0.23` # (一)下載 `pear` 打開`http://pear.php.net/go-pear.phar`,會顯示代碼,不用管他,直接`copy+s`復制到本地!然后將其復制到`php7目錄`,如圖: ![mark](http://qiniu.newthink.cc/blog/180412/gi1LB2GkAK.png) # (二)安裝 `pear` ## 2.1 安裝 安裝 `pear`,到上邊的目錄下運行 ``` php go-pear.phar ``` 安裝過程(以下紅框內的是需要自己輸入的)! ![mark](http://qiniu.newthink.cc/blog/180412/3edAe9alAL.png) ![mark](http://qiniu.newthink.cc/blog/180412/g4dHLImFLB.png) ## 2.2 注冊環境 雙擊pear.bat文件,注冊pear到當前環境。 # (三)查看安裝后的變化 ## 3.1 安裝后多出來的文件 ![mark](http://qiniu.newthink.cc/blog/180412/A9GeF5HGaB.png) ## 3.2 `php.ini`變化 安裝后php.ini配置被改變了,增加了一段話,如圖: ![mark](http://qiniu.newthink.cc/blog/180412/a1LHA8IfhJ.png) # (四)安裝 `PHP_CodeSniffer` 命令如下: ``` pear install PHP_CodeSniffer ``` ![mark](http://qiniu.newthink.cc/blog/180412/bbi3gc8agK.png) >問:安裝在哪兒了? ![mark](http://qiniu.newthink.cc/blog/180412/514i4bifdH.png) # (五)`PHPStrom`配置 ## 5.1 搜索`code sniffer` 配置 ![mark](http://qiniu.newthink.cc/blog/180412/AdKI3HB9hF.png) ![mark](http://qiniu.newthink.cc/blog/180412/B6bJB4kH1j.png) ![mark](http://qiniu.newthink.cc/blog/180412/i54Idkdflc.png) ![mark](http://qiniu.newthink.cc/blog/180412/fF0i8deChb.png) 注:新版界面可能略有所不同,如圖: ![mark](http://qiniu.newthink.cc/blog/20181227/r6bV3PP5APSw.jpg) ## 5.2 搜索`inspections`配置 ![mark](http://qiniu.newthink.cc/blog/180412/H1baCg3DBa.png) 注:新版界面可能略有所不同,如圖: ![mark](http://qiniu.newthink.cc/blog/20181227/uuT3jo62FHMJ.jpg) # (六)代碼查看 ![mark](http://qiniu.newthink.cc/blog/180412/iHFckh429B.png) # (其他)安裝遇到的問題 報錯1、 `cann't run PHP code Sniffer` 答: 方法1:前三步沒有操作,好好操作一下,不要報錯; 方法2:關掉`phpstorm`重新啟動試一下,重新驗證一下。 GIT官方包下載地址:鏈接:https://github.com/squizlabs/PHP_CodeSniffer
                  <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>

                              哎呀哎呀视频在线观看