Commit Graph

5 Commits

Author SHA1 Message Date
Jan Lysý
0d94f42452 Fix typo in CodeSniffer config
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
9d65e2dbe8 Deactivate the rule about file_get_contents
I temporarily deactivated the rule because the change can be more complex.
WP_Filesystem cannot be used because we load files in constructors.
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
c6f6eeef53 Add excluded rule for tests to avoid repetition
Our tests use method _after and _before, so we would need to add ignore to each usage.
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
d0c8cde59c Migrate tests/unit folder to WordPress Coding Standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
Jan Lysý
8d7f26c42d Add CodeSniffer config file based on WordPress standard
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00