Commit Graph

  • 542a4a9405 Merge pull request #4 from wiosna-dev/feature/WZUW-265 master 0.2.0 PeterMarynczak 2023-09-08 11:53:07 +02:00
  • 3d3fe767c4 [WZUW-265] Updated doctrine/orm package version feature/WZUW-265 Piotr Marynczak 2023-09-07 16:37:05 +02:00
  • 00867c5091 Merge pull request #3 from wiosna-dev/feature/WZUW-265 PeterMarynczak 2023-09-07 15:01:43 +02:00
  • 14235b58ba [WZUW-265] Removed phploc package Piotr Marynczak 2023-09-07 14:54:02 +02:00
  • 140acd1eb3 Merge pull request #2 from wiosna-dev/fix/UW-2934_Add_support_for_PHP_8.2 0.1.9 xevolic 2023-03-09 15:23:55 +01:00
  • 8e6055a48e [UW-2934] chore(composer): added PHP 8.x to composer.json feature/UW-2934_Add_support_for_PHP_8.x Tomasz Kuter 2023-03-09 12:54:19 +01:00
  • d392b20570 Merge pull request #1 from meritoo/master xevolic 2023-03-09 12:52:26 +01:00
  • 4eaca747e7 [UW-2934] chore(deps): enabled gedmo/doctrine-extensions in version 3.11 or higher fix/UW-2934_Add_support_for_PHP_8.2 Tomasz Kuter 2023-02-14 20:06:29 +01:00
  • cddafc3604 Update Changelog Meritoo 2022-09-10 18:10:51 +02:00
  • 08a2d0878f Interfaces of different types of collections. May be used to build specific collections. Meritoo 2022-09-10 18:06:25 +02:00
  • d4cb732096 Migrate PHPUnit configuration file to current format Meritoo 2022-09-10 13:40:33 +02:00
  • 5ebf624b7b Replace deprecated assertRegExp() function with assertMatchesRegularExpression() in PHPUnit tests (after upgrade of PHPUnit 8.x -> 9.x) Meritoo 2022-09-10 13:09:08 +02:00
  • bbc5f6a43d Bump PHP version to 7.4 (from 7.2) Meritoo 2022-09-10 13:02:02 +02:00
  • 41ef088ffe Upgrade all dev packages (to the latest, stable versions for PHP 7.4) Meritoo 2022-09-10 13:01:10 +02:00
  • a3adae50b8 Reformat code automatically Meritoo 2022-02-12 14:46:47 +01:00
  • a3af138f0c Update documentation for Infection (Mutation Testing) and use the "nproc" command that returns the number of processors available Meritoo 2022-02-12 13:33:30 +01:00
  • 31a7ca6d1a [Arrays] Improve tests of function that returns elements from given level Meritoo 2022-02-06 17:47:43 +01:00
  • ba24e2de23 [Arrays] Allow to define a key of next level elements in a function that returns elements from given level Meritoo 2022-02-06 15:28:35 +01:00
  • ae72d582e6 Reformat code Meritoo 2022-02-05 21:24:19 +01:00
  • 067be1ab1d [Arrays] Function that returns elements from given level Meritoo 2022-02-05 19:50:36 +01:00
  • 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() Meritoo 2022-02-05 16:57:12 +01:00
  • feb8fc293b Fix "floor(): Argument #1 ($num) must be of type int|float, string given" TypeError while running test of Meritoo\Common\Utilities\Miscellaneous::isDecimal() Meritoo 2022-02-05 16:54:36 +01:00
  • fcaae95810 [BaseCollection] Prepare elements while adding them by addMultiple() method in the same way as passing them in constructor Meritoo 2021-04-27 22:13:11 +02:00
  • a459bfe1ce Use larger collection while testing the BaseCollection class Meritoo 2021-04-11 22:22:36 +02:00
  • 1eb86cf102 [BaseCollection] Fix incorrectly working limit() method Meritoo 2021-04-11 21:45:29 +02:00
  • 0d3265d7b6 Increase code coverage of the BaseTestCaseTrait Meritoo 2021-04-04 23:26:35 +02:00
  • 598f1731be Add missing "declare(strict_types=1)" Meritoo 2021-04-04 23:09:50 +02:00
  • 95b0cf6cab Create clear() & limit() methods in BaseCollection class Meritoo 2021-04-04 23:09:13 +02:00
  • 118fa64772 Increase code coverage of the BaseCollection class Meritoo 2021-04-04 23:06:36 +02:00
  • d5542b60e3 Implement methods of CollectionInterface directly in BaseCollection class (instead of traits) Meritoo 2021-04-04 22:59:59 +02:00
  • a4d24a788b Reformat code Meritoo 2021-03-29 19:03:45 +02:00
  • 4f8c355d1b Create and implement CollectionInterface as contract of all collections (e.g. based on the BaseCollection class) Meritoo 2021-03-29 19:02:28 +02:00
  • e47eaae8b2 Move Renderable class: Meritoo\Common -> Meritoo\Common\Contract Meritoo 2021-03-28 22:34:25 +02:00
  • 1116034fe6 Mark PHPUnit test as risky when it does not have a @covers annotation Meritoo 2021-03-28 22:18:54 +02:00
  • 64f474fcf1 Change mode of Xdebug to "coverage" in Docker's configuration to make it possible to generate code coverage by PHPUnit Meritoo 2021-03-28 22:15:51 +02:00
  • 47d07150d3 Minor refactoring Meritoo 2021-02-26 15:13:33 +01:00
  • c6efc30872 Fix "Array and string offset access syntax with curly braces is deprecated" error while running tests (using PHP 7.4) Meritoo 2021-02-26 15:09:02 +01:00
  • ab0c0e6e89 Update Changelog Meritoo 2021-02-20 16:39:40 +01:00
  • 351224f1f9 Use PHP 7.4 while running build in Travis CI Meritoo 2021-02-20 16:37:06 +01:00
  • 416f0cd8af Do not install hirak/prestissimo package while running build in Travis CI Meritoo 2021-02-20 16:26:07 +01:00
  • e38dda200a Use meritoo/php Docker image (instead of deprecated meritoo/php7) Meritoo 2021-02-20 16:20:57 +01:00
  • 8fec0db05f Increase Mutation Score Indicator (MSI) by creating stronger tests of BaseCollection class Meritoo 2020-10-24 17:29:50 +02:00
  • 5cd58aec25 [Miscellaneous] [Regex] Implement data providers in tests Meritoo 2019-12-18 20:32:21 +01:00
  • ddb3f0a544 [Miscellaneous] [Regex] Use simpler & stronger pattern to match name of file Meritoo 2019-12-18 20:25:06 +01:00
  • 872259e63d [BaseCollection] Treat the null index as "no index" only while adding new element, iow. do not treat empty string as "no index" behaviour Meritoo 2019-09-19 12:33:03 +02:00
  • d8e3d5e7cb Update documentation of BaseCollection class Meritoo 2019-09-18 15:11:51 +02:00
  • 2fdb18312d Remove project configuration (project files related to IDE) Meritoo 2019-09-18 14:54:02 +02:00
  • 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. Meritoo 2019-09-18 14:51:09 +02:00
  • b91606ada9 Increase Mutation Score Indicator (MSI) by creating stronger tests of Arrays class Meritoo 2019-09-15 20:14:23 +02:00
  • 1f45d38ab8 Add @internal @coversNothing annotations in PHPUnit tests Meritoo 2019-09-15 13:33:03 +02:00
  • b0e404aeb9 Minor refactoring Meritoo 2019-09-09 16:06:20 +02:00
  • 9903c82496 Add Miscellaneous::calculateGreatestCommonDivisor() method Meritoo 2019-09-09 09:41:07 +02:00
  • 678cdfdf01 Minor refactoring Meritoo 2019-09-06 11:58:55 +02:00
  • ded1a04900 Add test for the BaseTestCaseTrait trait Meritoo 2019-09-06 11:58:40 +02:00
  • 16cdd1cd60 Extract BaseTestCaseTrait::assertMethodVisibility() & BaseTestCaseTrait::assertMethodArgumentsCount() methods (from BaseTestCaseTrait::assertMethodVisibilityAndArguments() method) Meritoo 2019-09-05 21:49:32 +02:00
  • f7a8da0550 Add Uri::buildUrl() method Builds url with given root url and parts of url Meritoo 2019-08-28 16:01:27 +02:00
  • 891411e231 Add Arrays::containsEmptyStringsOnly() method Returns information if given array contains an empty strings only Meritoo 2019-08-28 15:51:03 +02:00
  • 10992570ad Make more readable documentation of Arrays class Meritoo 2019-08-28 15:44:37 +02:00
  • e704dacabd Add Regex::clearBeginningSlash() and Regex::clearEndingSlash() methods (that remove slash from the beginning and the end of given string) Meritoo 2019-08-27 20:26:31 +02:00
  • 0afcf9843e Make more readable documentation of Regex class Meritoo 2019-08-27 20:23:28 +02:00
  • cc06cdde6f Minor refactoring Meritoo 2019-08-25 20:22:42 +02:00
  • 030e33064d Increase Mutation Score Indicator (MSI) by making Meritoo\Common\Traits\Test\Base\BaseTestCaseTrait::getFilePathForTesting() method protected (instead of public) Meritoo 2019-08-24 17:22:07 +02:00
  • bc20645cba Increase Mutation Score Indicator (MSI) by removing "src/Type/DatePeriod.php:131 [M] LogicalOr" mutant Meritoo 2019-08-11 13:25:28 +02:00
  • ec1e95a086 Minor refactoring Meritoo 2019-08-11 13:06:19 +02:00
  • 21bfadf5d6 Increase Mutation Score Indicator (MSI) by removing "src/Type/DatePeriod.php:120 [M] TrueValue" mutant Meritoo 2019-08-11 12:56:08 +02:00
  • ce7ec254b1 Increase Mutation Score Indicator (MSI) by removing "src/Type/Base/BaseType.php:37 [M] TrueValue" mutant Meritoo 2019-08-11 12:55:12 +02:00
  • fe6ec278e3 Minor refactoring Meritoo 2019-08-11 12:30:16 +02:00
  • 462625caff Missing test of Reflection::getConstants() method Meritoo 2019-08-11 12:24:55 +02:00
  • a86a10c51e Increase Mutation Score Indicator (MSI) by removing "src/Exception/Reflection/CannotResolveClassNameException.php:29 [M] TrueValue" mutant Meritoo 2019-08-10 21:32:40 +02:00
  • a5148de31c Make task with Infection dependent of PHPUnit tests Meritoo 2019-08-10 21:32:29 +02:00
  • dabb1e90c3 Update .gitignore, docker-compose.yml, phpunit.xml.dist Meritoo 2019-08-02 12:35:07 +02:00
  • 79708f4e61 PHP CS Fixer > configuration > make more readable & remove unnecessary code Meritoo 2019-08-02 12:21:03 +02:00
  • b251bcec0e Update project configuration (project files related to IDE) Meritoo 2019-06-20 21:36:31 +02:00
  • a2c875556e Move validation of year, month and day to separate methods Meritoo 2019-06-20 21:32:03 +02:00
  • c5a68b54af Fix "Argument 1 of Meritoo\\Common\\Utilities\\Date::getdayofweek expects int, string|false provided" bug pointed by Psalm Meritoo 2019-06-20 21:11:00 +02:00
  • 4ddc299e5b Fix "Cannot call method add on possibly null value" bug pointed by Psalm Meritoo 2019-06-20 21:04:44 +02:00
  • c0998ac5b9 Fix "Argument 1 of DateTime::setdate expects int, string|false provided" bug pointed by Psalm Meritoo 2019-06-20 20:29:17 +02:00
  • a1c3ba8543 Fix "Cannot call method sub on possibly null value" bug pointed by Psalm Meritoo 2019-06-20 20:21:14 +02:00
  • 6efbf940a3 Fix "Found a redundant condition when evaluating docblock-defined type $composerJsonPath and trying to reconcile type 'string' to string" bug pointed by Psalm Meritoo 2019-06-20 20:05:56 +02:00
  • 1ac1a221ec Minor refactoring Meritoo 2019-06-20 19:25:34 +02:00
  • 5678b5b22a Fix "Found a contradiction when evaluating $fullBundleName and trying to reconcile type 'string' to !string" bug pointed by Psalm Meritoo 2019-06-20 18:58:20 +02:00
  • 3b81d0d932 Do not require name of class by BaseTestCaseTrait::assertMethodVisibilityAndArguments() method Meritoo 2019-06-17 08:43:40 +02:00
  • c4e09f77a3 Update Changelog Meritoo 2019-06-02 19:17:39 +02:00
  • 11e5ce3d56 Store .env in repository (do not ignore) Meritoo 2019-06-02 19:04:23 +02:00
  • a9b985385e Add project configuration (project files related to IDE) Meritoo 2019-06-02 19:03:55 +02:00
  • 15824d3f77 composer > squizlabs/php_codesniffer package > use ^3.4 (instead of ^2.9) Meritoo 2019-06-02 18:23:12 +02:00
  • e002adc162 PHP Coding Standards Fixer > fix coding standard Meritoo 2019-05-30 21:55:09 +02:00
  • 538aa1fa79 Docker > use images (instead of Dockerfiles) Meritoo 2019-05-30 21:43:06 +02:00
  • b482d814e4 Use .env instead of .env.dist Meritoo 2019-05-30 21:32:00 +02:00
  • 2091adc8d0 Collection > trait > return "void" where "self" causes type hinting problem and is not required Meritoo 2019-05-11 00:19:38 +02:00
  • e75854feee Collection > trait > split into smaller traits (to make it more flexible) Meritoo 2019-05-10 23:47:48 +02:00
  • 9a1f49d373 Trait for the Collection > type hinting Meritoo 2019-05-10 22:17:40 +02:00
  • 98d0fed61d Refactoring Meritoo 2019-05-05 23:06:18 +02:00
  • a6b2704c66 BaseType::isCorrectType() method > make static Meritoo 2019-05-05 23:05:42 +02:00
  • dd5ac0f7e6 Fix code pointed by Psalm Meritoo 2019-05-05 09:49:03 +02:00
  • 421d19ff10 Readme > review and fix "unknown" badges Meritoo 2019-05-02 22:51:26 +02:00
  • 8b5cbd6f2e Composer.json > update PHP version constraints Meritoo 2019-04-19 22:07:25 +02:00
  • 0f2c6bb099 Phing > tests > add task for Psalm (https://psalm.dev) Meritoo 2019-04-18 14:31:31 +02:00
  • f5e8c8c740 Readme > badge with required PHP version > update & get from Packagist Meritoo 2019-04-16 11:44:36 +02:00
  • c7c96daaaf PHP Coding Standards Fixer > fix coding standard Meritoo 2019-04-15 21:23:49 +02:00