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

[email protected] ("[email protected]")
Newsgroups php.general
Message-ID <[email protected]>
> Norah Jones <[email protected]> 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: [email protected]

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

http://www.behnke.biz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.