임베디드 | 라즈베리파이 | ARM | 리눅스 | Qt | 딥러닝

sublime text2 에서 php 표준화를 따르려고

phpcs 를 설치했는데

매우 느려졌음

나중에 다시 사용 할 수도 있으니 

환경설정 파일 백업



{

    "show_debug": true,

    "phpcs_executable_path": "/usr/local/bin/phpcs",

    "phpcs_php_path": "/usr/local/bin/php",

    "phpcs_additional_args": {

        "--standard": "/Users/mac/pear/share/pear/PHP/CodeSniffer/Standards/MySource/ruleset.xml",

        "-n": ""

    },



    // phpcbf settings


    // Fix the issues on save

    "phpcbf_on_save": true,


    // Show the quick panel

    "phpcbf_show_quick_panel": true,


    // Path to where you have the phpcbf installed

    "phpcbf_executable_path": "/usr/local/bin/phpcbf",


    // Additional arguments you can specify into the application

    //

    // Example:

    // {

    //     "--level": "all"

    // }

    "phpcbf_additional_args": {

        "--standard": "PSR2",

        "-n": ""

    }

}



    // "phpcs_php_prefix_path": "/Applications/MAMP/bin/php/php5.6.7/bin/php",

    // "phpcs_php_prefix_path": "/usr/local/bin/phpcs",

      // "phpmd_run": true,

      // @TODO chmod +x /usr/local/bin/phpmd.phar

      // "phpmd_executable_path": "/usr/local/bin/phpmd.phar",

        // "phpmd_executable_path" : "/usr/local/bin/phpcs",


        // "phpcs":

        // {

        //     "phpcs_additional_args": {

        //          "--standard": "PSR2"


        //     },

        //     "show_debug": true

        // },

// ,

//         "phpcs":

//         {

//             "phpcs_additional_args":

//             {

//                 // "--standard": "/path/to/.composer/vendor/drupal/coder/coder_sniffer/Drupal"

//                      "--standard": "/Users/mac/pear/share/pear/PHP/CodeSniffer/Standards/MySource/ruleset.xml"

//                      // "--standard": "/Users/mac/pear/share/pear/PHP/CodeSniffer"

                     


//             }

//         }