Commit Graph

312 Commits

Author SHA1 Message Date
Rostislav Wolny
35a25e119f Remove unnecessary type checks
These were added during initial testing of php8 compatibility using PHPStan and were false positive due PHPStan issues.
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
Rostislav Wolny
8b58167ed9 Remove phpstan configuration for loading WordPress
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
Rostislav Wolny
0bc0dd1808 Adjust PHP stan configs to use wordpress extension
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
Rostislav Wolny
332dd6ea58 Install phpstan-wordpress extention
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
Rostislav Wolny
f0133c8f74 Update phpstan and extensions
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
Rostislav Wolny
15d010c448 Fix static analysis issues in FormTest
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
Jan Lysý
37cef4fb34 Remove usage of Idiorm from Segments test
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
Rostislav Wolny
3845f400b1 Add parameter for php version to static analysis command
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
0ee843723e Enable unused ignoredErrors reporting for PHPStan
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
b4ee9a756a Update codesniffer to PHP8 compatible version
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
6459828eb2 Fix warnings in translations:build command
There is no need to pass the variable by reference.
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
90eb894b72 Refactor acceptance tests splitting to respect coding style
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
9473579766 Fix type issues in tests
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
9e9063414f Ignore some PHPStan errors in libs only for PHP7
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
ec19b565f5 Update PHP Stan
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
71c515cdcf Add patching for interface name collision with match expression
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
747d5fffee Add patching for phpunit deprecated ReflectionParameter::getClass()
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
c0c9b11c54 Add workaround for removed codeception/robo-paracept
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
a62ad4f70a Update robo and codeception and remove outdated deps
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Rostislav Wolny
12cc818f8b Fix required after optional parameter in doctrine config factory
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
Pavel Dohnal
06dca19738 Add magic getters for backward compatibility
[MAILPOET-3333]
2020-12-03 14:11:53 +01:00
Jan Lysý
bcd606ac1b Change php-console-highlighter source repository
[MAILPOET-3192]
2020-11-19 16:22:50 +01:00
Jan Lysý
02220bfaa4 Change php-parallel-lint source repository
[MAILPOET-3192]
2020-11-19 16:22:50 +01:00
Rostislav Wolny
688755a9bf Handle WP source path config for different environments
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
Rostislav Wolny
24fa5bd6ca Adjust integration tests analysis configuration
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
Rostislav Wolny
8f73eb785b Load stuff that is needed in runtime during PHPStan analysis
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
Rostislav Wolny
36b5a279b9 Add constants needed during analysis
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
Rostislav Wolny
90d7e1804e Clean PHPStan bootstrap file - get rid of WP loading
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
Rostislav Wolny
4202faa40c Configure phpstan scan files and directories for libs analysis
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
Rostislav Wolny
9c5cbb477b Update platform to php 7.1.8 in code sniffer
[MAILPOET-3241]
2020-10-28 09:55:55 +01:00
Jan Lysý
ac1044eebb Remove mose of uses Idiorm from NewslettersTest
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
Jan Lysý
a15a74d94f Use doctrine instead of Idiom in test for PostNotification
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
Rostislav Wolny
1852e2fd32 Improve form template exporter
[MAILPOET-3209]
2020-10-22 16:15:56 +02:00
Pavel Dohnal
f8bd946dc0 Check sent emails for products when schedulig an email
[MAILPOET-2335] [MAILPOET-2334]
2020-10-22 11:54:41 +02:00
Rostislav Wolny
e43819920d Update PHPStan
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
Rostislav Wolny
f16601e239 Update phpstan/phpunit extension
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
Jan Lysý
709ccf3857 Change getting next release version
[PREMIUM-147]
2020-10-19 08:28:28 +02:00
Rostislav Wolny
ba26e91f82 Update phpstan config for tests and fix errors in tests
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
Rostislav Wolny
1f58e63306 Update phpstan config for lib
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
Rostislav Wolny
8f7463b20d Update PHPStan Doctrine extension and PHPStan
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
Jan Lysý
09a392f5b1 Remove search done issues by custom field
[MAILPOET-3152]
2020-10-08 08:58:06 +02:00
Jan Lysý
b7fde9dd93 Change logic of release next version
Premium should have the same minor version like free when is released.
Free will be released only with a patch version when premium branch
doesn't exist.
We assume that premium isn't released when branch doesn't exist.
[MAILPOET-3152]
2020-10-08 08:58:06 +02:00
Rostislav Wolny
f0daa78072 Add real form thumbnails
[MAILPOET-2988]
2020-10-01 15:44:41 +02:00
Rostislav Wolny
0437236cf1 Refactor subscriber finder to use new repository
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
866aeabb10 Update form export plugin to comment heading, paragraph contents with todo
[MALPOET-3076]
2020-09-14 14:22:11 +02:00
Rostislav Wolny
3adb20dd23 Update plugin for form exports to support assets
[MAILPOET-3076]
2020-09-14 14:22:11 +02:00
Pavel Dohnal
7c8e74dbcc Use tinymce default icons set
[MAILPOET-3098]
2020-09-08 16:27:15 +02:00
Rostislav Wolny
c660f011dc Refactor form template ids to class constants
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
81ae53141c Add translations generating to template exporter
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00
Rostislav Wolny
4842bac21a Add simple plugin for exporting forms to Template class
[MAILPOET-2810]
2020-08-12 17:49:55 +02:00