You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue, I tested this scenario where we remove a php comment docs. But that doc is needed for phpcs to check.
But what happen it went out it passed the checker.
diff.text
diff --git a/<path>/country_controller.php b/<path>/country_controller.php
index 0965de3e93..73afffd042 100644
--- a/<path>/country_controller.php
+++ b/<path>/country_controller.php
@@ -1,13 +1,4 @@
<?php
-/**
- * Controller to retrieve information about a country
- *
- * PHP version 5
- *
- * @author Sample Author <sampleauthor@sample.com>
- * @copyright Sample Copyright
- */
namespace <namespace>;
class Country_Controller extends Base_Controller {
I have added the squiz sniffs, I could make that user configurable too, If that is a public sniff (I can't see it from a quick google) I will add to the base config, if not I can make that array be adjusted by a users config.
I raised an issue a while back on phpcs as that error is not really on line 2, its the whole file in that case. It was discussed a while back squizlabs/PHP_CodeSniffer#1680 (comment)
I have an issue, I tested this scenario where we remove a php comment docs. But that doc is needed for phpcs to check.
But what happen it went out it passed the checker.
diff.text
phpcs.json
the output of the difffilter will be
The expected for this, it should have an error.
The text was updated successfully, but these errors were encountered: