Commit Graph

161 Commits

Author SHA1 Message Date
wxa
e7e116c83d Refactor create_function() to anonymous functions [MAILPOET-2523] 2020-01-16 16:12:52 +01:00
wxa
067950feda Rename deprecated constructors [MAILPOET-2523] 2020-01-16 16:12:52 +01:00
4e75bcd296 Implement API for Premium plugin installation and activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
edb07f03ac Convert variable names to camel case in PHPStan baseline files
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
3bbc8ea2af Convert variable names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
wxa
ee4246eaf0 Ignore errors after fetching models with ORM and a few misc errors [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
17b578a09f Fix undefined classes and functions [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
091e17ce0c Add PHPStan to integration tests, fix a class name conflict [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
ec409042d5 Add methods visibility rule
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
f6c301f38f Add remaining found errors to PHPStan baseline
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
27a842b037 Exclude error on expect() function
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
d44fef7528 Exclude new PHPStan level 6 for now
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
ff7c63f0b3 Upgrade PHPUnit5CompatExtension
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
4a12051e81 Fix PHPStan paths
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
f142bd6695 Upgrade PHPStan to 0.12
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
wxa
f9ec25213d Always fetch styles from WooCommerce [MAILPOET-2569] 2019-12-23 21:55:40 +03:00
d3ce76f88d Use instance of checks for detecting WCProduct
[MAILPOET-2586]
2019-12-19 18:08:26 +00:00
07fc94f046 Fix Carbon-related problems reported by PHPStan
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
8fb58450ed Use inferPrivatePropertyTypeFromConstructor
[MAILPOET-2568]
2019-12-10 13:24:17 +01:00
16db49cfa3 Mark constant as dynamic
[MAILPOET-2568]
2019-12-10 13:24:17 +01:00
wxa
393b377437 Fix colors and font sizes, add default logo, remove CTA button [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
7bd6f1aa13 Correct file names for formal german translations
[MAILPOET-2532]
2019-12-04 20:28:28 +00:00
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
01eb608303 Remove no longer present errors from PHPStan baseline
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
1b3a74ace1 Run PHPStan on level 7
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
788d192ba9 Ignore this error because of bug in PHPStan
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
e252118d2b Use the latest version of PHPStan
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
20ad724a98 Improve code sniffer settings
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
d8facf9512 Mark doctrine properties always used
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
f16d97fa5a Ignore PHPStan error caused by wrong Doctrine annotation
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
3366d9eb85 Add comments explaining custom PHPStan extensions
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
e3176a3edf Check all test support files with PHPStan
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
2e836c174e Check acceptance tests with PHPStan, fix discovered problems
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
ffc11af689 Check data factories with PHPStan, fix discovered problems
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
5c2cf6e3c7 Implement Codeception extension for PHPStan
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
66c48f4690 Implement PHPStan extension for PHPUnit 5 compatibility
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
175b66c273 Add PHPUnit extension for PHPStan
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
39932e9846 Run PHPStan for unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
078223cd64 Fix path usage in PHPStan setup
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
cdcd63342d Install PHPStan Shim (prefixed PHAR version) using Composer to enable extensions
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
7ecabdba3a Check also tasks and tools with code sniffer
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
c7cfd958b9 Allow spaces after ( and before )
[MAILPOET-2416]
2019-10-03 09:17:34 +01:00
c2eb8ed58f Skip mailpoet-cron.php when prefixing files
[MAILPOET-2414]
2019-10-01 17:57:45 +01:00
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
fa9b6443e1 Add one namespace in file rule
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
935d9f01e8 Add sniff for alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00