[Phpmyadmin-devel] Coding style checks
Marc Delisle
marc at infomarc.info
Wed May 2 15:22:28 CEST 2012
Le 2012-05-02 09:10, Alex Marin a écrit :
> On Wed, May 2, 2012 at 12:17 PM, Michal Čihař <michal at cihar.com> wrote:
>> Sure there is :-). Once you install PHP CodeSniffer you can run it with
>> our customized standard in phpMyAdmin's directory:
>>
>> phpcs --standard=PMAStandard file.php
>
> If you also want to use the NetBeans plugin as Madhura suggested,
> once you have copied the PMAStandard folder inside your installation
> dir (.../CodeSniffer/Standards/), you simply go to Tools->Options->
> ->PHP->Code Sniffer->Standard and select PMAStandard from the
> list.
> If you had NetBeans open while copying PMAStandard, then you have
> to restart the IDE in order for it to display the new option in the list.
>
> All the best,
> Alex
Can someone create a CodeSniffer page on http://wiki.phpmyadmin.net ?
Don't forget to put this at the bottom:
[[Category:Devel]]
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list