codesniffer
why this error is coming in php cs
I am running this phpcs command to check one file . I am getting this error. ubuntu@myip:/var/www/ryapi$ phpcs -n content.php[详细]
2023-02-05 11:30 分类:问答@param tag alignment in php code sniffer
I am using php code sniffer for a function, i want to add @param tag but it is giving me alignment error of first and second param.[详细]
2023-02-05 02:29 分类:问答PHP_CodeSniffer missing Zend standards?
I\'m trying to use PHP_CodeSniffer to sniff the problems in a php file according to the zend coding standards.[详细]
2023-01-29 00:49 分类:问答How to call a custom ruleset.xml for php code sniffer
I\'m trying to write an custom ruleset.xml for php code sniff开发者_运维知识库er but calling it from the commandline without putting it in the default folder doesn\'t seem to work.[详细]
2023-01-22 10:19 分类:问答Zend Coding Standard in Netbeans
How to configure Netbeans PHP to follow Zend Coding Standard? I\'m struggling with this quite a while, and still get ph开发者_如何学Pythonpcs errors on multi line function arguments.[详细]
2023-01-20 01:24 分类:问答PHP codesniffer (phpcs) - how to allow override when using as part of a svn pre-commit hook?
We have a PHP 5 web application and we\'re currently evaluating PHP CodeSniffer in order to decide whether forcing code standards improves code quality.[详细]
2023-01-09 19:50 分类:问答In PHPUnderControl, can I configure PHP_CodeSniffer to ignore specific directories?
I\'ve recently been trying to set up PHPUnderControl, a Continuous Integration server based on CruisControl. Part of the checks I\'d like to run is the PHP CodeSniffer (PHPCS) to detect \"code smell\"[详细]
2023-01-07 11:37 分类:问答Why am I getting an exception from PHP CodeSniffer?
Well, I\'m getting a pretty bizarre开发者_JAVA技巧 error from PHPCS: <?xml version=\"1.0\" encoding=\"UTF-8\"?>[详细]
2023-01-07 02:03 分类:问答How to pass (cli) arguments by file in Ant
I\'m using Ant to build开发者_高级运维 my project, generate docs and check coding strandard violations. I use some external tool through exec task. Exec prefixes the output lines with [exec][详细]
2022-12-22 08:10 分类:问答PHP-CodeBrowser not following path in checkstyle.xml correctly
I\'ve set up phpUnderControl and it\'s all working very well, except that for a few projects that I have aren\'t getting any output in the PHP-CodeBrowser tab.[详细]
2022-12-20 13:28 分类:问答