neděle 15. března 2015

How to install Code Sniffer to PHPStorm

Why you would want install Code Sniffer to your PHPStorm? Well, everybody expect from you that your code will be readable and according standards. In this case PSR-2. Code Sniffer will watch your code during programming and tell you that is not according those standards.


  • Download the newest Code Sniffer package for PHP.
  • Unzip it 
  • In your PHPStorm navigate to Preferences / PHP / Code Sniffer (or write to Code Sniffer to search field in preferences)

  • Add path in PHPStorm from your downloaded package /PHP_CodeSniffer-2.3.0/scripts/phpcs
  • In PHPStorm navigate to Code / Inspect code and in Inspection profile section click on open dialog button.

  • Followed screen will appear. Just check PHP, and on right side click refresh button and Code Sniffer will load up his profiles. Choose PSR-2. And go repair your code :)



3 komentáře:

  1. This site have particular software articles which emits an impression of being a significant and significant for you individual, able software installation.This is the spot you can get helps for any software installation, usage and cracked.
    kickasscrack.com
    mirillis-actio-crack
    phpstorm-crack
    minecraft-pocket-edition-crack
    restoro-crack/
    mx-player-pro-crack
    iphone-backup-extractor-crack

    OdpovědětVymazat
  2. Hello, this post gives very interesting information about off-season camping, really I like this information which is so much beneficial to us, keep sharing such kind of information, Thanks for sharing.
    PhpStorm Crack

    OdpovědětVymazat
  3. Wow.. Very informative article thanks for sharing please keep it up because there is no limit of information so I'm waiting for an awesome article just like that.
    Crackjin
    IDM Crack
    TeamViewer Crack
    PhpStorm Crack
    Tenorshare iCareFone Crack

    OdpovědětVymazat