Commit Graph

113 Commits

Author SHA1 Message Date
Meritoo
4ddc299e5b Fix "Cannot call method add on possibly null value" bug pointed by Psalm 2019-06-20 21:04:44 +02:00
Meritoo
c0998ac5b9 Fix "Argument 1 of DateTime::setdate expects int, string|false provided" bug pointed by Psalm 2019-06-20 20:29:17 +02:00
Meritoo
a1c3ba8543 Fix "Cannot call method sub on possibly null value" bug pointed by Psalm 2019-06-20 20:21:14 +02:00
Meritoo
6efbf940a3 Fix "Found a redundant condition when evaluating docblock-defined type $composerJsonPath and trying to reconcile type 'string' to string" bug pointed by Psalm 2019-06-20 20:05:56 +02:00
Meritoo
1ac1a221ec Minor refactoring 2019-06-20 19:25:34 +02:00
Meritoo
5678b5b22a Fix "Found a contradiction when evaluating $fullBundleName and trying to reconcile type 'string' to !string" bug pointed by Psalm 2019-06-20 18:58:20 +02:00
Meritoo
3b81d0d932 Do not require name of class by BaseTestCaseTrait::assertMethodVisibilityAndArguments() method 2019-06-17 08:43:40 +02:00
Meritoo
2091adc8d0 Collection > trait > return "void" where "self" causes type hinting problem and is not required 2019-05-11 00:19:38 +02:00
Meritoo
e75854feee Collection > trait > split into smaller traits (to make it more flexible) 2019-05-10 23:48:19 +02:00
Meritoo
9a1f49d373 Trait for the Collection > type hinting 2019-05-10 22:17:40 +02:00
Meritoo
98d0fed61d Refactoring 2019-05-05 23:06:18 +02:00
Meritoo
a6b2704c66 BaseType::isCorrectType() method > make static 2019-05-05 23:05:42 +02:00
Meritoo
dd5ac0f7e6 Fix code pointed by Psalm 2019-05-05 09:49:03 +02:00
Meritoo
414ce0fd06 Reflection > getPropertyValue() method > refactoring 2019-04-13 21:38:06 +02:00
Meritoo
a56b325307 Minor refactoring 2019-04-13 18:33:38 +02:00
Meritoo
eb8fa110ad Reflection > getPropertyValue() method > look for the property in parent classes 2019-04-13 18:29:27 +02:00
Meritoo
6f90f5a249 Reflection > fix deprecations 2019-04-13 17:27:06 +02:00
Meritoo
e66cbd54e2 Template with placeholders > verification of placeholders without values > make stronger and point out which are missing 2019-04-10 08:57:33 +02:00
Meritoo
e05bc2302d PHPUnit > increase code coverage 2019-04-06 08:47:26 +02:00
Meritoo
a13a629408 PHP Coding Standards Fixer > fix coding standard 2019-04-06 08:00:01 +02:00
Meritoo
a93355f2c8 RenderableInterface > something that may be rendered 2019-04-02 21:40:50 +02:00
Meritoo
faf1da6134 Collection/storage of templates 2019-04-02 21:08:11 +02:00
Meritoo
0b74f8da6f Template with placeholders that may be filled by real data 2019-04-02 21:03:03 +02:00
Meritoo
8a94241eb8 Regex > make compatible with PHP 7.3
Tests > Regex > fix "preg_match(): Compilation failed: invalid range in character class at offset 4" bug
2019-04-02 15:46:02 +02:00
Meritoo
1b4577cc8a Fix coding standards (using PHP Coding Standards Fixer) 2019-04-02 12:03:53 +02:00
Meritoo
5022efb9a3 Minor refactoring 2019-03-24 22:19:45 +01:00
Meritoo
56b058ca1d Size, e.g. of image 2019-03-24 22:15:54 +01:00
Meritoo
eade6a25ad Collection > the getByIndex() method > returns element with given index 2019-03-16 19:58:02 +01:00
Meritoo
9f6af6b6a4 Collection > create trait (to make it more flexible) 2019-03-16 12:37:35 +01:00
Meritoo
a021870ebd Minor refactoring 2019-03-05 10:18:45 +01:00
Meritoo
d88ead92fe Tests > use @dataProvider 2019-03-05 10:18:35 +01:00
Meritoo
fe40d9caee ValueObject > Human > represents a human 2019-03-04 19:25:38 +01:00
Meritoo
c175fcd126 Minor refactoring 2019-03-04 19:22:07 +01:00
Meritoo
924e492e11 Arrays > refactoring & more tests 2019-02-24 23:21:55 +01:00
Meritoo
3a38c09ce2 ValueObject > Company > represents a company 2019-02-22 20:38:13 +01:00
Meritoo
07a04d86f0 ValueObject > BankAccount > represents bank account 2019-02-22 20:37:16 +01:00
Meritoo
0c7e27b884 ValueObject > Address > represents address of company, institution, user etc. 2019-02-22 20:35:43 +01:00
Meritoo
292c5e6d4f Arrays > getNonEmptyValues() method > returns non-empty values, e.g. without "" (empty string), null or []
Arrays > getNonEmptyValuesAsString() method > returns non-empty values concatenated by given separator
2019-02-22 14:19:17 +01:00
Meritoo
79c09a26a6 Regex > createSlug() method > returns slug for given value 2019-02-21 23:26:36 +01:00
Meritoo
d46548d102 Miscellaneous > variableDump() method > remove, because unnecessary 2019-02-21 23:10:15 +01:00
Meritoo
651c4f2259 Minor refactoring 2019-02-21 23:09:42 +01:00
Meritoo
4391baed3d Fix "Argument 3 of Meritoo\Common\Utilities\Date::getDateDifference expects int|null, string(days) provided" bug 2019-02-04 22:43:07 +01:00
Meritoo
8e9dcb3206 Reflection > setPropertiesValues() method > sets values of properties in given object 2018-11-03 08:53:01 +01:00
Meritoo
06fbf63e09 Tests > refactoring 2018-11-03 08:50:12 +01:00
Meritoo
4e600ec599 Utilities > Reflection > setPropertyValue() method > fix description and test 2018-11-03 08:16:49 +01:00
Meritoo
b4ccbbac11 Utilities > Date > update descriptions of methods 2018-11-03 08:10:03 +01:00
Meritoo
c8fc0b14ff Exceptions > UnknownTypeException > remove duplicated and unnecessary sprintf() call > sprintf(sprintf()) 2018-10-28 00:12:18 +02:00
Meritoo
ca9c3bd8f1 Utilities > Date > update descriptions of methods 2018-10-19 22:54:11 +02:00
Meritoo
26b136d676 Tests > increase code coverage 2018-09-20 17:30:07 +02:00
Meritoo
575bb344cd BaseTestCaseTrait > minor refactoring 2018-08-27 22:04:35 +02:00