Commit Graph

32 Commits

Author SHA1 Message Date
8a6a4fd29d Add WordPress-VIP-Go ruleset to CodeSniffer 2024-09-12 15:11:08 +02:00
5ef7059de8 Add WPCS WordPress-Extra ruleset to CodeSniffer
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
b5d75aaa21 Update used WP coding standards
The used package was outdated and didn't allow placeholders for tables or columns
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
f2e048282a Reset terminal color
This caused that all output below this was in red color, even if it's unrelated to this script

[MAILPOET-6172]
2024-08-02 12:03:45 +02:00
6f1a8fb374 Fix minimal standard in composer 2024-03-21 16:57:59 +01:00
35fbac6320 Update rules to include correct spacing around arrays and closures. 2024-03-21 16:57:59 +01:00
2212869800 Update sniff packages 2024-03-21 16:57:59 +01:00
0f58d5028b Bump min PHP versions when running PHPCS
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
95568e770b The minimum supported PHP version in PHPCS checks should be 7.3
[MAILPOET-5681]
2023-10-26 16:17:58 +02:00
60abe14c7a Remove text-domain rule from shared-ruleset
[MAILPOET-4913]
2023-01-11 07:46:57 +02:00
dbb972ec3f Create ruleset for free and premium and a shared ruleset
[MAILPOET-4913]
2023-01-11 07:46:57 +02:00
c2107b8d59 Enable strict types rule for all files
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
33a9097719 Fix trim(null) issue
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
299c6b779e Remove MinimalPluginStandard from ruleset
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
cd1f06b116 Forbid assert() in code base
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
80a6e78d48 Allow underscored naming in lib/Migrations
This is to allow readable naming of migration files and classes, such as "Migration_20221023_040819".
2022-11-07 10:05:42 +01:00
02af3d6c2e Update sed command for fixing code sniffer to be Mac OS compatible
[MAILPOET-4560]
2022-08-11 12:30:33 +02:00
402cf63e6b Make I18N sniff compatbile with PHP8.1+
This is a hacky workaround to enable us to use the translation sniffs in a PHP 8 environment. We can get rid of
it, once the coding standards are compatible.

[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
45b344727c Allow 'mailpoet-premium' text-domain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
41a99f15f6 Allow for 'woocommerce' text-domain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
0b2b211b08 Add WP.I18n sniffs to our ruleset
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
50c80b8a05 Avoid curcular symlink paths
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
af4322c16e Run qa_php job on latest php version
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
9f39843189 Sanitize incoming data according to WP sniffer
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
af66378f9a Add MinimalPluginStandard code sniffer ruleset 2022-04-04 17:12:33 +02:00
f4af6433e3 Fix wporg-code-analysis autoloading 2022-04-04 17:12:33 +02:00
1d3c013cee Install wporg-code-analysis 2022-04-04 17:12:33 +02:00
f4f2af0f40 Update code_sniffer tools
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
f3fa51b5b0 Update tools in install script
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
73554ec101 Enforce strict types in automation directory
[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00