Commit Graph

24 Commits

Author SHA1 Message Date
Rodrigo Primo
95568e770b The minimum supported PHP version in PHPCS checks should be 7.3
[MAILPOET-5681]
2023-10-26 16:17:58 +02:00
David Remer
60abe14c7a Remove text-domain rule from shared-ruleset
[MAILPOET-4913]
2023-01-11 07:46:57 +02:00
David Remer
dbb972ec3f Create ruleset for free and premium and a shared ruleset
[MAILPOET-4913]
2023-01-11 07:46:57 +02:00
Jan Jakes
c2107b8d59 Enable strict types rule for all files
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Jan Jakes
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
David Remer
33a9097719 Fix trim(null) issue
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
299c6b779e Remove MinimalPluginStandard from ruleset
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
cd1f06b116 Forbid assert() in code base
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
Jan Jakes
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
Rostislav Wolny
02af3d6c2e Update sed command for fixing code sniffer to be Mac OS compatible
[MAILPOET-4560]
2022-08-11 12:30:33 +02:00
David Remer
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
David Remer
45b344727c Allow 'mailpoet-premium' text-domain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
41a99f15f6 Allow for 'woocommerce' text-domain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
0b2b211b08 Add WP.I18n sniffs to our ruleset
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
Jan Jakes
50c80b8a05 Avoid curcular symlink paths
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
Jan Jakes
af4322c16e Run qa_php job on latest php version
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
David Remer
9f39843189 Sanitize incoming data according to WP sniffer
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
Jan Jakes
af66378f9a Add MinimalPluginStandard code sniffer ruleset 2022-04-04 17:12:33 +02:00
Jan Jakes
f4af6433e3 Fix wporg-code-analysis autoloading 2022-04-04 17:12:33 +02:00
Jan Jakes
1d3c013cee Install wporg-code-analysis 2022-04-04 17:12:33 +02:00
Rostislav Wolny
f4f2af0f40 Update code_sniffer tools
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
Jan Lysý
f3fa51b5b0 Update tools in install script
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Jakes
73554ec101 Enforce strict types in automation directory
[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00