Commit Graph

219 Commits

Author SHA1 Message Date
Jan Jakeš
078223cd64 Fix path usage in PHPStan setup
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
cdcd63342d Install PHPStan Shim (prefixed PHAR version) using Composer to enable extensions
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
7ecabdba3a Check also tasks and tools with code sniffer
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Amine Ben hammou
c7cfd958b9 Allow spaces after ( and before )
[MAILPOET-2416]
2019-10-03 09:17:34 +01:00
Jan Jakeš
c2eb8ed58f Skip mailpoet-cron.php when prefixing files
[MAILPOET-2414]
2019-10-01 17:57:45 +01:00
Jan Jakeš
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
fa9b6443e1 Add one namespace in file rule
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
935d9f01e8 Add sniff for alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
37adffaeb6 Add sniff for namespace empty line spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
8f75a18f6c Add sniff for useless aliases, fix found occurence
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
200dcaeca5 Add sniff to disallow group namespace use
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
2e98044b3d Add sniffs for namespace declaration format
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
c441d9c81d Extract namespace "use" rules to a section
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
c822b09010 Install PHPStan PHAR to tools directory
[MAILPOET-2405]
2019-09-30 20:10:53 +01:00
Ján Mikláš
5a33946ea8 Rename de translation as de_DE-formal
[MAILPOET-2384]
2019-09-25 19:19:33 +01:00
Pavel Dohnal
0957b6a129 Remove comments
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Jan Jakeš
5cda1e3cdd Prefix files in build
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Ján Mikláš
d164950d29 Fix preparing release 2019-09-10 10:39:33 +02:00
Ján Mikláš
1b6bec44f3 Download translations parallelly
[MAILPOET-2311]
2019-08-28 13:15:01 -04:00
Pavel Dohnal
857c3fab84 Allow phpstan run with woocommerce active
[MAILPOET-2212]
2019-08-21 13:34:02 -04:00
Jan Jakeš
26babab9be Add WC() function to WooCommerce helper
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
Jan Jakeš
574f10b029 Add background job to track historical WooCommerce revenues
[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
Jan Jakeš
394aa723df Rewrite getLastReleasedVersion() to a more efficient variant
[MAILPOET-2078]
2019-06-19 06:23:21 -04:00
Jan Jakeš
d225ca775c Add method for last created release version (no matter what status)
[MAILPOET-2078]
2019-06-19 06:23:21 -04:00
Ján Mikláš
d214e74547 Remove PR checks before releasing plugin
[MAILPOET-2121]
2019-06-05 06:57:37 -04:00
Pavel Dohnal
4cb314bec1 Remove unnecessary extra http client
[MAILPOET-2004]
2019-05-28 11:00:48 -04:00
Pavel Dohnal
32a739eba5 Check the release pull request before release
[MAILPOET-2004]
2019-05-28 11:00:48 -04:00
Pavel Dohnal
b47484ee3c Create github release
[MAILPOET-2004]
2019-05-28 11:00:48 -04:00
Pavel Dohnal
406b8fdb74 Add rule for namespaces
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
39cb25d576 Add rule for empty comments
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
9f16cb6a5f Check for unused privates
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
9c64537761 Disallows use of continue without integer operand in switch
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
d1529a03c3 Disallows assignments in some control structures
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
fcf5fe1d5d Move code snipper to its own directory
Because our main composer has php engine specified as 5.6
we cannot use tools and libraries dependent on php 7

[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
99817cf5a4 Run php lint in parallel
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Jan Jakeš
b72908dca9 Add method stub for PHPStan
[MAILPOET-1853]
2019-05-13 12:26:23 -04:00
Amine Ben hammou
98c9461a15 Check if all issues PRs are merged 2019-05-10 09:02:12 -04:00
Jan Jakeš
e2e3715684 Add release dates to JIRA in release:publish-jira command
[MAILPOET-2001]
2019-05-02 09:08:46 -04:00
Jan Jakeš
5289b83254 Add helper for building minor version
[MAILPOET-1977]
2019-04-24 16:22:45 -04:00
Jan Jakeš
db31ef3646 Tag release on 'release' branch
[MAILPOET-1977]
2019-04-24 16:22:45 -04:00
Jan Jakeš
09d1f2cd99 Reuse JiraController factory for other services
[MAILPOET-1977]
2019-04-24 16:22:45 -04:00
Jan Jakeš
3280eeb241 Add annotations for PHPStan
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Jan Jakeš
8b4bf19bdd Add command to publish release on JIRA
[MAILPOET-1884]
2019-04-19 12:49:36 +02:00
wxa
f63733abc5 Add a helper method to increment versions [MAILPOET-1869] 2019-04-19 11:41:32 +02:00
wxa
e2caf8d504 Remove project setter, pass project as an argument [MAILPOET-1869] 2019-04-19 11:41:32 +02:00
wxa
1153517046 Automate the next release version bump [MAILPOET-1869] 2019-04-19 11:41:32 +02:00