Commit Graph

315 Commits

Author SHA1 Message Date
Meritoo
b0e404aeb9 Minor refactoring 2019-09-09 16:06:20 +02:00
Meritoo
9903c82496 Add Miscellaneous::calculateGreatestCommonDivisor() method 2019-09-09 09:41:07 +02:00
Meritoo
678cdfdf01 Minor refactoring 2019-09-06 11:58:55 +02:00
Meritoo
ded1a04900 Add test for the BaseTestCaseTrait trait 2019-09-06 11:58:40 +02:00
Meritoo
16cdd1cd60 Extract BaseTestCaseTrait::assertMethodVisibility() & BaseTestCaseTrait::assertMethodArgumentsCount() methods (from BaseTestCaseTrait::assertMethodVisibilityAndArguments() method) 2019-09-05 21:57:59 +02:00
Meritoo
f7a8da0550 Add Uri::buildUrl() method
Builds url with given root url and parts of url
2019-08-28 16:01:27 +02:00
Meritoo
891411e231 Add Arrays::containsEmptyStringsOnly() method
Returns information if given array contains an empty strings only
2019-08-28 15:51:03 +02:00
Meritoo
10992570ad Make more readable documentation of Arrays class 2019-08-28 15:44:37 +02:00
Meritoo
e704dacabd Add Regex::clearBeginningSlash() and Regex::clearEndingSlash() methods (that remove slash from the beginning and the end of given string) 2019-08-27 20:26:31 +02:00
Meritoo
0afcf9843e Make more readable documentation of Regex class 2019-08-27 20:23:28 +02:00
Meritoo
cc06cdde6f Minor refactoring 2019-08-25 20:22:42 +02:00
Meritoo
030e33064d Increase Mutation Score Indicator (MSI) by making Meritoo\Common\Traits\Test\Base\BaseTestCaseTrait::getFilePathForTesting() method protected (instead of public) 2019-08-24 17:22:07 +02:00
Meritoo
bc20645cba Increase Mutation Score Indicator (MSI) by removing "src/Type/DatePeriod.php:131 [M] LogicalOr" mutant 2019-08-11 13:25:28 +02:00
Meritoo
ec1e95a086 Minor refactoring 2019-08-11 13:06:19 +02:00
Meritoo
21bfadf5d6 Increase Mutation Score Indicator (MSI) by removing "src/Type/DatePeriod.php:120 [M] TrueValue" mutant 2019-08-11 12:56:08 +02:00
Meritoo
ce7ec254b1 Increase Mutation Score Indicator (MSI) by removing "src/Type/Base/BaseType.php:37 [M] TrueValue" mutant 2019-08-11 12:55:12 +02:00
Meritoo
fe6ec278e3 Minor refactoring 2019-08-11 12:30:50 +02:00
Meritoo
462625caff Missing test of Reflection::getConstants() method 2019-08-11 12:24:55 +02:00
Meritoo
a86a10c51e Increase Mutation Score Indicator (MSI) by removing "src/Exception/Reflection/CannotResolveClassNameException.php:29 [M] TrueValue" mutant 2019-08-10 21:32:40 +02:00
Meritoo
a5148de31c Make task with Infection dependent of PHPUnit tests 2019-08-10 21:32:29 +02:00
Meritoo
dabb1e90c3 Update .gitignore, docker-compose.yml, phpunit.xml.dist 2019-08-02 12:35:07 +02:00
Meritoo
79708f4e61 PHP CS Fixer > configuration > make more readable & remove unnecessary code 2019-08-02 12:21:03 +02:00
Meritoo
b251bcec0e Update project configuration (project files related to IDE) 2019-06-20 21:36:31 +02:00
Meritoo
a2c875556e Move validation of year, month and day to separate methods 2019-06-20 21:32:03 +02:00
Meritoo
c5a68b54af Fix "Argument 1 of Meritoo\\Common\\Utilities\\Date::getdayofweek expects int, string|false provided" bug pointed by Psalm 2019-06-20 21:31:35 +02:00
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
c4e09f77a3 Update Changelog 2019-06-02 19:17:39 +02:00
Meritoo
11e5ce3d56 Store .env in repository (do not ignore) 2019-06-02 19:04:23 +02:00
Meritoo
a9b985385e Add project configuration (project files related to IDE) 2019-06-02 19:03:55 +02:00
Meritoo
15824d3f77 composer > squizlabs/php_codesniffer package > use ^3.4 (instead of ^2.9) 2019-06-02 18:23:12 +02:00
Meritoo
e002adc162 PHP Coding Standards Fixer > fix coding standard 2019-05-30 21:55:09 +02:00
Meritoo
538aa1fa79 Docker > use images (instead of Dockerfiles) 2019-05-30 21:50:27 +02:00
Meritoo
b482d814e4 Use .env instead of .env.dist 2019-05-30 21:32:00 +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
421d19ff10 Readme > review and fix "unknown" badges 2019-05-02 22:51:26 +02:00
Meritoo
8b5cbd6f2e Composer.json > update PHP version constraints 2019-04-19 22:07:25 +02:00
Meritoo
0f2c6bb099 Phing > tests > add task for Psalm (https://psalm.dev) 2019-04-18 14:31:31 +02:00
Meritoo
f5e8c8c740 Readme > badge with required PHP version > update & get from Packagist 2019-04-16 11:44:36 +02:00
Meritoo
c7c96daaaf PHP Coding Standards Fixer > fix coding standard 2019-04-15 21:23:49 +02:00