]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Makefile: add a generic rule to run PHPCS against different coding standards 276/head
authorVirtualTam <virtualtam@flibidi.net>
Sun, 12 Jul 2015 21:04:43 +0000 (23:04 +0200)
committerVirtualTam <virtualtam@flibidi.net>
Sun, 12 Jul 2015 21:04:43 +0000 (23:04 +0200)
commit3e25f245f95bdaeb9db2e6e0540189d5378ad05d
tree5d7c4c2e267b81b47a0a45f9b1fd22a02dc44d80
parent5b0ebbc5de06b8a0e9679b78b45d0dc755db7986
Makefile: add a generic rule to run PHPCS against different coding standards

Relates to #95

Usage
 - list available standards
   $ ./vendor/bin/phpcs -i
 - run PHPCS against a given standard
   $ make PHPCS_<standard>

Examples
 $ make PHPCS_PSR1
 $ make PHPCS_Zend

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Makefile