Commit Graph

68 Commits

Author SHA1 Message Date
Pavel Dohnal
fcf5fe1d5d Move code snipper to its own directory
Because our main composer has php engine specified as 5.6
we cannot use tools and libraries dependent on php 7

[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Ján Mikláš
b2e5952896 Update code sniffer rules to require space after keywords
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolný
ca3b6412ee Fix exception class in mailpoet custom sniff
[MAILPOET-1542]
2018-10-11 15:23:06 +02:00
Rostislav Wolný
7c9b2be760 Update PHPCompatibility standard and PHP_CodeSniffer
[MAILPOET-1542]
2018-10-11 14:02:13 +02:00
stoletniy
feae98ac3f Use a single ruleset for both the plugin and its tests [MAILPOET-1025] 2017-07-26 18:56:14 +03:00
stoletniy
6fb18ad321 Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025] 2017-07-26 18:28:56 +03:00
stoletniy
321393f119 Fix Squiz.Classes.ClassFileName sniffer rule in tests [MAIPOET-1025] 2017-07-26 17:03:43 +03:00
stoletniy
0be872eea9 Fix PHPCompatibility.PHP.EmptyNonVariable rule [MAILPOET-989] 2017-07-07 11:30:16 +03:00
stoletniy
22c39c0092 Fix PEAR.WhiteSpace.ScopeClosingBrace rule in tests [MAILPOET-989] 2017-07-07 11:11:16 +03:00
stoletniy
a49a230983 Disable a few failing rules for further fixing [MAILPOET-981] 2017-07-03 14:57:48 +03:00
stoletniy
b8d285a1d9 Add a copy of MailPoet PHP coding standard for tests [MAILPOET-981] 2017-07-03 14:54:04 +03:00
Vlad
864c9cbe95 - Updates code sniffer rules to run PHP Compatibility sniff 2016-11-05 19:54:54 -04:00
Tautvidas Sipavičius
0b711e6341 Add running QA scripts in CI, disable checking for useless overrides 2016-11-02 13:10:23 +02:00
Tautvidas Sipavičius
d0813bb4e2 Fix class and method names to use camel case 2016-06-30 18:52:07 +03:00
Tautvidas Sipavičius
235fdea00f Remove commented out code, raise code similarity trigger treshold 2016-06-30 18:50:48 +03:00
Tautvidas Sipavičius
ad0a9838bc Disable line width limits 2016-06-30 18:46:33 +03:00
Tautvidas Sipavičius
81ec293e54 Remove rule that prevents statements with only comments in body 2016-06-30 18:46:32 +03:00
Tautvidas Sipavičius
805e641d40 Add PHP lint and PHP code sniffer 2016-06-30 18:46:32 +03:00