Skip to content

Commit 267e26b

Browse files
author
DKravtsov
committed
Updated composer dependencies.
1 parent 7d5e434 commit 267e26b

33 files changed

+635
-604
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ reports/*
1818
.phpunit
1919
.phpunit.result.cache
2020
/phpunit.xml
21+
.phpunit.cache
2122
###< symfony/phpunit-bridge ###
2223

2324
###> lexik/jwt-authentication-bundle ###

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"Elasticsearch"
1515
],
1616
"homepage": "https://github.com/systemsdk/docker-symfony-api",
17-
"version": "v1.4.3",
17+
"version": "v1.4.4",
1818
"license": "MIT",
1919
"authors": [
2020
{
@@ -49,10 +49,10 @@
4949
"gedmo/doctrine-extensions": "^3.11",
5050
"lexik/jwt-authentication-bundle": "^2.18",
5151
"mark-gerarts/automapper-plus-bundle": "^1.4",
52-
"matomo/device-detector": "^6.0",
52+
"matomo/device-detector": "^6.1",
5353
"matthiasnoback/symfony-console-form": "^5.3",
5454
"nelmio/api-doc-bundle": "^4.11",
55-
"nelmio/cors-bundle": "^2.2",
55+
"nelmio/cors-bundle": "^2.3",
5656
"phpdocumentor/reflection-docblock": "^5.3",
5757
"ramsey/uuid-doctrine": "^2.0",
5858
"symfony/amqp-messenger": "6.2.*",

composer.lock

Lines changed: 77 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpunit.xml.dist

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
32
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
43
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
65
backupGlobals="false"
7-
backupStaticAttributes="false"
86
bootstrap="tests/bootstrap.php"
97
colors="true"
108
testdox="true"
11-
convertErrorsToExceptions="true"
12-
convertNoticesToExceptions="true"
13-
convertWarningsToExceptions="true"
9+
beStrictAboutTestsThatDoNotTestAnything="true"
10+
beStrictAboutOutputDuringTests="true"
1411
processIsolation="false"
1512
stopOnFailure="false"
13+
displayDetailsOnTestsThatTriggerDeprecations="true"
14+
displayDetailsOnTestsThatTriggerNotices="true"
15+
displayDetailsOnTestsThatTriggerWarnings="true"
16+
displayDetailsOnTestsThatTriggerErrors="true"
17+
cacheDirectory=".phpunit.cache"
1618
>
17-
<coverage processUncoveredFiles="true">
19+
<coverage>
1820
<include>
1921
<directory suffix=".php">./src</directory>
2022
</include>
@@ -37,20 +39,15 @@
3739
<ini name="display_errors" value="On" />
3840
<ini name="display_startup_errors" value="On" />
3941
<ini name="date.timezone" value="UTC" />
40-
4142
<env name="KERNEL_CLASS" value="App\Kernel" />
4243
<env name="APP_ENV" value="test" force="true" />
4344
<env name="SHELL_VERBOSITY" value="-1" />
4445
<env name="APP_DEBUG" value="false" force="true" />
4546
</php>
46-
<listeners>
47-
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
48-
</listeners>
4947
<testsuites>
5048
<testsuite name="Unit">
5149
<directory suffix="Test.php">./tests/Unit</directory>
5250
</testsuite>
53-
5451
<testsuite name="Functional">
5552
<directory suffix="Test.php">./tests/Functional</directory>
5653
</testsuite>

src/General/Application/Rest/Interfaces/BaseRestResourceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ public function getAssociations(?string $entityManagerName = null): array;
8080
/**
8181
* Getter method DTO class with loaded entity data.
8282
*
83+
* @codeCoverageIgnore This is needed because variables are multiline
84+
*
8385
* @throws Throwable
8486
*/
8587
public function getDtoForEntity(

src/General/Application/Rest/Interfaces/RestCreateResourceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ interface RestCreateResourceInterface extends RestSaveResourceInterface
1919
* Generic method to create new item (entity) to specified database repository. Return value is created entity for
2020
* specified repository.
2121
*
22+
* @codeCoverageIgnore This is needed because variables are multiline
23+
*
2224
* @throws Throwable
2325
*/
2426
public function create(

src/General/Application/Rest/Interfaces/RestFindOneResourceInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ interface RestFindOneResourceInterface
1818
* Generic findOne method to return single item from database. Return value is single entity from specified
1919
* repository.
2020
*
21+
* @codeCoverageIgnore This is needed because variables are multiline
22+
*
2123
* @psalm-return (
2224
* $throwExceptionIfNotFound is true
2325
* ? EntityInterface
@@ -36,6 +38,8 @@ public function findOne(
3638
* Generic findOneBy method to return single item from database by given criteria. Return value is single entity
3739
* from specified repository or null if entity was not found.
3840
*
41+
* @codeCoverageIgnore This is needed because variables are multiline
42+
*
3943
* @param array<int|string, string|array<mixed>> $criteria
4044
* @param array<int, string>|null $orderBy
4145
*

src/General/Application/Rest/Interfaces/RestListResourceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ interface RestListResourceInterface
1818
* Generic find method to return an array of items from database. Return value is an array of specified repository
1919
* entities.
2020
*
21+
* @codeCoverageIgnore This is needed because variables are multiline
22+
*
2123
* @param array<int|string, string|array<mixed>>|null $criteria
2224
* @param array<string, string>|null $orderBy
2325
* @param array<string, string>|null $search

src/General/Application/Rest/Interfaces/RestPatchResourceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ interface RestPatchResourceInterface extends RestSaveResourceInterface
1818
/**
1919
* Generic method to patch specified entity with new data.
2020
*
21+
* @codeCoverageIgnore This is needed because variables are multiline
22+
*
2123
* @throws Throwable
2224
*/
2325
public function patch(

src/General/Application/Rest/Interfaces/RestSaveResourceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ interface RestSaveResourceInterface
1717
/**
1818
* Generic method to save given entity to specified repository. Return value is created entity.
1919
*
20+
* @codeCoverageIgnore This is needed because variables are multiline
21+
*
2022
* @throws Throwable
2123
*/
2224
public function save(

0 commit comments

Comments
 (0)