8000 Updated RabbitMQ, packages. · systemsdk/docker-symfony-api@1f05e01 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f05e01

Browse files
author
DKravtsov
committed
Updated RabbitMQ, packages.
1 parent 79fd78a commit 1f05e01

23 files changed

+228
-159
lines changed

composer.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"symfony/twig-bundle": "<3.3"
9696
},
9797
"require-dev": {
98-
"bamarni/composer-bin-plugin": "^1.6",
98+
"bamarni/composer-bin-plugin": "^1.8",
9999
"doctrine/doctrine-fixtures-bundle": "^3.4",
100100
"systemsdk/easy-log-bundle": "2.0.*",
101101
"ergebnis/composer-normalize": "^2.22",
@@ -116,20 +116,14 @@
116116
"symfony/polyfill-php81": "*"
117117
},
118118
"config": {
119+
"allow-plugins": true,
119120
"platform": {
120121
"php": "8.1.0"
121122
},
122123
"preferred-install": {
123124
"*": "dist"
124125
},
125-
"sort-packages": true,
126-
"allow-plugins": {
127-
"composer/package-versions-deprecated": true,
128-
"bamarni/composer-bin-plugin": true,
129-
"ergebnis/composer-normalize": true,
130-
"symfony/flex": true,
131-
"symfony/runtime": true
132-
}
126+
"sort-packages": true
133127
},
134128
"extra": {
135129
"allow-contrib": "true",

composer.lock

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

docker/rabbitmq/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rabbitmq:3.9-management-alpine
1+
FROM rabbitmq:3.10-management-alpine
22

3-
COPY rabbitmq_delayed_message_exchange-3.9.0.ez /opt/rabbitmq/plugins/
3+
COPY rabbitmq_delayed EDBE _message_exchange-3.10.2.ez /opt/rabbitmq/plugins/
44
RUN rabbitmq-plugins enable --offline rabbitmq_delayed_message_exchange
Binary file not shown.
Binary file not shown.

src/General/Application/Utils/Tests/PhpUnitUtil.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,11 @@ public static function getInvalidValueForType(string $type): DateTime | stdClass
216216
$output = self::getInvalidValueForType(self::TYPE_ARRAY);
217217
} else {
218218
$output = match ($type) {
219-
stdClass::class, DateTimeImmutable::class
220-
=> new DateTime(),
219+
stdClass::class, DateTimeImmutable::class => new DateTime(),
221220
self::TYPE_CUSTOM_CLASS, self::TYPE_INT, self::TYPE_INTEGER, self::TYPE_STRING, self::TYPE_ARRAY,
222221
self::TYPE_BOOL, self::TYPE_BOOLEAN, DateTime::class, 'enumLanguage', 'enumLocale', 'enumLogLogin'
223222
=> new stdClass(),
224-
default
225-
=> throw new LogicException(sprintf("Cannot create invalid value for type '%s'.", $type)),
223+
default => throw new LogicException(sprintf("Cannot create invalid value for type '%s'.", $type)),
226224
};
227225
}
228226

src/General/Infrastructure/Rest/RepositoryHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ private static function createCriteria(string $column, string | array $value): a
295295
*/
296296
private static function determineComparisonAndParameters(QueryBuilder $queryBuilder, array $comparison): array
297297
{
298+
/** @var stdClass $comparisonObject */
298299
$comparisonObject = (object)array_combine(['field', 'operator', 'value'], $comparison);
299300
// Increase parameter count
300301
self::$parameterCount++;

tools/01_phpunit/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"roave/security-advisories": "dev-latest"
1111
},< 5275 /div>
1212
"config": {
13+
"allow-plugins": true,
1314
"platform": {
1415
"php": "8.1.0"
1516
},

0 commit comments

Comments
 (0)
0