Commit Graph

21 Commits

Author SHA1 Message Date
406b8fdb74 Add rule for namespaces
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
39cb25d576 Add rule for empty comments
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
9f16cb6a5f Check for unused privates
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
9c64537761 Disallows use of continue without integer operand in switch
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
d1529a03c3 Disallows assignments in some control structures
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
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
b2e5952896 Update code sniffer rules to require space after keywords
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ca3b6412ee Fix exception class in mailpoet custom sniff
[MAILPOET-1542]
2018-10-11 15:23:06 +02:00
7c9b2be760 Update PHPCompatibility standard and PHP_CodeSniffer
[MAILPOET-1542]
2018-10-11 14:02:13 +02:00
feae98ac3f Use a single ruleset for both the plugin and its tests [MAILPOET-1025] 2017-07-26 18:56:14 +03:00
864c9cbe95 - Updates code sniffer rules to run PHP Compatibility sniff 2016-11-05 19:54:54 -04:00
0b711e6341 Add running QA scripts in CI, disable checking for useless overrides 2016-11-02 13:10:23 +02:00
d0813bb4e2 Fix class and method names to use camel case 2016-06-30 18:52:07 +03:00
235fdea00f Remove commented out code, raise code similarity trigger treshold 2016-06-30 18:50:48 +03:00
ad0a9838bc Disable line width limits 2016-06-30 18:46:33 +03:00
81ec293e54 Remove rule that prevents statements with only comments in body 2016-06-30 18:46:32 +03:00
805e641d40 Add PHP lint and PHP code sniffer 2016-06-30 18:46:32 +03:00