[phpMyAdmin Developers] PHPCS not in composer file

Michal Čihař michal at cihar.com
Mon Aug 10 09:31:42 CEST 2015


Hi

Dne Mon, 10 Aug 2015 00:23:53 +0300
Dan Ungureanu <udan1107 at gmail.com> napsal(a):

> On 09.08.2015 17:37, Hugues Peccatte wrote:
> > Hi,
> >
> > I noticed that PHPCS is not loaded by our composer file. Is there any 
> > reason for this please?
> > How do you load it on your dev environments?
> >
> > I used to have it from PEAR from xampp, but on my new dev environment, 
> > I use uWamp and don't have PEAR. Do you see any objection to add it to 
> > require-dev section please?
> >
> > Thanks,
> > H.
> >
> >
> > _______________________________________________
> > Developers mailing list
> > Developers at phpmyadmin.net
> > http://lists.phpmyadmin.net/mailman/listinfo/developers
> Hello,
> 
> I am using Composer to install PHP_CodeSniffer. All I need to do is run 
> ` composer global require "squizlabs/php_codesniffer=*"` and make sure 
> that I have the correct folder in my PATH environment variable. That is 
> simple as possible and I can use it anywhere I want.
> 
> I believe that for some developers, including it in `require-dev` 
> section would make their job easier.

I don't see reason why it should not be included. Most likely it's just
caused by original usage of PEAR and migrating things to Composer only
when needed. So feel free to add it.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20150810/c5825fc4/attachment.sig>


More information about the Developers mailing list