Commit Graph

38 Commits

Author SHA1 Message Date
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
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
c822b09010 Install PHPStan PHAR to tools directory
[MAILPOET-2405]
2019-09-30 20:10:53 +01:00
0957b6a129 Remove comments
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
857c3fab84 Allow phpstan run with woocommerce active
[MAILPOET-2212]
2019-08-21 13:34:02 -04:00
26babab9be Add WC() function to WooCommerce helper
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
574f10b029 Add background job to track historical WooCommerce revenues
[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
b72908dca9 Add method stub for PHPStan
[MAILPOET-1853]
2019-05-13 12:26:23 -04:00
3280eeb241 Add annotations for PHPStan
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
b40e4bb28a Use WC functions to get short and full description in products widget
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
46a0b7501b Update phpstan to level 5
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
6f85c27d4f Fix PHPStan warnings 2019-03-28 15:20:28 -04:00
c5b5d8f45d Downgrade PHPStan level to 4
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
f3f769316a Upgrade PHPStan level to 5
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
21766421d5 Upgrade PHPStan level to 4
I had to add some ignore errors until phpstan/phpstan#1482 is resolved

[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
7d6f69ec1d Upgrade PHPStan level to 3
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
f719ae69c5 Fix the PHPStan report about passing in arguments into empty constructor 2019-01-24 15:20:29 +02:00
db3ea80b87 Skip reporting ignored errors if they do not happen 2019-01-23 21:26:11 +02:00
e13789b768 Fix "Static call to instance method" errors on Models
Paris uses magic methods to create model instance for static calls
2019-01-23 18:44:43 +02:00
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
c73741e727 Add ability to register premium service as a dependency of free plugin
[PREMIUM-99]
2018-12-12 08:53:28 +01:00
48d202ee99 Add Robo task for PHPstan, avoid conflicts using other working dir
[MAILPOET-1657]
2018-12-10 16:15:39 +01:00
bf7e6a601e Move prefixed dependencies from lib/Dependencies to vendor-prefixed
[MAILPOET-1642]
2018-11-20 14:11:33 +01:00
0a12d64cbf Added PHPStan on level 0 for lib directory 2018-11-15 11:41:04 +01:00