Meritoo
|
ae72d582e6
|
Reformat code
|
2022-02-05 21:24:19 +01:00 |
|
Meritoo
|
067be1ab1d
|
[Arrays] Function that returns elements from given level
|
2022-02-05 19:50:36 +01:00 |
|
Meritoo
|
151ce39226
|
Fix "str_replace(): Argument #2 ($replace) must be of type array|string, int given" TypeError while running test of Meritoo\Common\ValueObject\Template::fill()
|
2022-02-05 16:57:12 +01:00 |
|
Meritoo
|
feb8fc293b
|
Fix "floor(): Argument #1 ($num) must be of type int|float, string given" TypeError while running test of Meritoo\Common\Utilities\Miscellaneous::isDecimal()
|
2022-02-05 16:54:36 +01:00 |
|
Meritoo
|
fcaae95810
|
[BaseCollection] Prepare elements while adding them by addMultiple() method in the same way as passing them in constructor
|
2021-04-27 22:13:11 +02:00 |
|
Meritoo
|
a459bfe1ce
|
Use larger collection while testing the BaseCollection class
|
2021-04-11 22:22:36 +02:00 |
|
Meritoo
|
1eb86cf102
|
[BaseCollection] Fix incorrectly working limit() method
|
2021-04-11 22:16:34 +02:00 |
|
Meritoo
|
0d3265d7b6
|
Increase code coverage of the BaseTestCaseTrait
|
2021-04-04 23:26:35 +02:00 |
|
Meritoo
|
598f1731be
|
Add missing "declare(strict_types=1)"
|
2021-04-04 23:09:50 +02:00 |
|
Meritoo
|
95b0cf6cab
|
Create clear() & limit() methods in BaseCollection class
|
2021-04-04 23:09:13 +02:00 |
|
Meritoo
|
118fa64772
|
Increase code coverage of the BaseCollection class
|
2021-04-04 23:06:36 +02:00 |
|
Meritoo
|
d5542b60e3
|
Implement methods of CollectionInterface directly in BaseCollection class (instead of traits)
|
2021-04-04 23:05:42 +02:00 |
|
Meritoo
|
a4d24a788b
|
Reformat code
|
2021-03-29 21:41:54 +02:00 |
|
Meritoo
|
4f8c355d1b
|
Create and implement CollectionInterface as contract of all collections (e.g. based on the BaseCollection class)
|
2021-03-29 21:41:54 +02:00 |
|
Meritoo
|
e47eaae8b2
|
Move Renderable class: Meritoo\Common -> Meritoo\Common\Contract
|
2021-03-28 22:34:45 +02:00 |
|
Meritoo
|
1116034fe6
|
Mark PHPUnit test as risky when it does not have a @covers annotation
|
2021-03-28 22:19:11 +02:00 |
|
Meritoo
|
64f474fcf1
|
Change mode of Xdebug to "coverage" in Docker's configuration to make it possible to generate code coverage by PHPUnit
|
2021-03-28 22:16:04 +02:00 |
|
Meritoo
|
47d07150d3
|
Minor refactoring
|
2021-02-26 15:13:33 +01:00 |
|
Meritoo
|
c6efc30872
|
Fix "Array and string offset access syntax with curly braces is deprecated" error while running tests (using PHP 7.4)
|
2021-02-26 15:09:02 +01:00 |
|
Meritoo
|
ab0c0e6e89
|
Update Changelog
|
2021-02-20 17:09:11 +01:00 |
|
Meritoo
|
351224f1f9
|
Use PHP 7.4 while running build in Travis CI
|
2021-02-20 16:37:06 +01:00 |
|
Meritoo
|
416f0cd8af
|
Do not install hirak/prestissimo package while running build in Travis CI
|
2021-02-20 16:26:07 +01:00 |
|
Meritoo
|
e38dda200a
|
Use meritoo/php Docker image (instead of deprecated meritoo/php7)
|
2021-02-20 16:20:57 +01:00 |
|
Meritoo
|
8fec0db05f
|
Increase Mutation Score Indicator (MSI) by creating stronger tests of BaseCollection class
|
2020-10-24 17:31:25 +02:00 |
|
Meritoo
|
5cd58aec25
|
[Miscellaneous] [Regex] Implement data providers in tests
|
2020-08-25 15:36:49 +02:00 |
|
Meritoo
|
ddb3f0a544
|
[Miscellaneous] [Regex] Use simpler & stronger pattern to match name of file
|
2019-12-18 20:31:33 +01:00 |
|
Meritoo
|
872259e63d
|
[BaseCollection] Treat the null index as "no index" only while adding new element, iow. do not treat empty string as "no index" behaviour
|
2019-09-19 12:33:03 +02:00 |
|
Meritoo
|
d8e3d5e7cb
|
Update documentation of BaseCollection class
|
2019-09-18 15:13:03 +02:00 |
|
Meritoo
|
2fdb18312d
|
Remove project configuration (project files related to IDE)
|
2019-09-18 14:54:02 +02:00 |
|
Meritoo
|
a7c39b26ba
|
Rename Collection class to BaseCollection. Add BaseCollection::isValidType() method to validate type of element before add it to collection. Add BaseCollection ::prepareElements() method to allow preparation of elements in custom way.
|
2019-09-18 14:51:09 +02:00 |
|
Meritoo
|
b91606ada9
|
Increase Mutation Score Indicator (MSI) by creating stronger tests of Arrays class
|
2019-09-15 20:14:23 +02:00 |
|
Meritoo
|
1f45d38ab8
|
Add @internal @coversNothing annotations in PHPUnit tests
|
2019-09-15 13:33:03 +02:00 |
|
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 |
|