Commit Graph

233 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
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
37adffaeb6 Add sniff for namespace empty line spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
8f75a18f6c Add sniff for useless aliases, fix found occurence
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
200dcaeca5 Add sniff to disallow group namespace use
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
2e98044b3d Add sniffs for namespace declaration format
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
c441d9c81d Extract namespace "use" rules to a section
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
c822b09010 Install PHPStan PHAR to tools directory
[MAILPOET-2405]
2019-09-30 20:10:53 +01:00
5a33946ea8 Rename de translation as de_DE-formal
[MAILPOET-2384]
2019-09-25 19:19:33 +01:00
0957b6a129 Remove comments
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
5cda1e3cdd Prefix files in build
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
d164950d29 Fix preparing release 2019-09-10 10:39:33 +02:00
1b6bec44f3 Download translations parallelly
[MAILPOET-2311]
2019-08-28 13:15:01 -04: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
394aa723df Rewrite getLastReleasedVersion() to a more efficient variant
[MAILPOET-2078]
2019-06-19 06:23:21 -04:00
d225ca775c Add method for last created release version (no matter what status)
[MAILPOET-2078]
2019-06-19 06:23:21 -04:00
d214e74547 Remove PR checks before releasing plugin
[MAILPOET-2121]
2019-06-05 06:57:37 -04:00
4cb314bec1 Remove unnecessary extra http client
[MAILPOET-2004]
2019-05-28 11:00:48 -04:00
32a739eba5 Check the release pull request before release
[MAILPOET-2004]
2019-05-28 11:00:48 -04:00
b47484ee3c Create github release
[MAILPOET-2004]
2019-05-28 11:00:48 -04:00
406b8fdb74 Add rule for namespaces
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
39cb25d576 Add rule for empty comments
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
9f16cb6a5f Check for unused privates
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
9c64537761 Disallows use of continue without integer operand in switch
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
d1529a03c3 Disallows assignments in some control structures
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00