Re: How can I make PHP CodeSniffer Fixer ignore the namespace declaration?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Norah Jones <nh.jones01@xxxxxxxxx> hat am 12. März 2013 um 15:18 geschrieben:
>
> I am using the sublime text 2 plugin for PHP Coding Standards Fixer. It is
> working fine, except for the fact that it considers the namespace invalid (it
> is in fact invalid and I'm okay with it). this errors halts the script from
> correcting the rest of the file. I get the following error:
>
>     The namespace Application\Controllers\Admin in  does not match the file
> path according to PSR-0 rules.
>
> How can I tell the the script to ignore the namespace constraint. Both command
> line arguments and Sublime text 2 user settings can be changed.

Have you looked at the configuration options? Do they help?

https://github.com/fabpot/PHP-CS-Fixer

>

--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: marco@xxxxxxxxxx

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux