Skip to content

Commit

Permalink
Merge pull request #2631 from tarlepp/chore(deps)/dependency-update
Browse files Browse the repository at this point in the history
Chore(deps) - Dependency update
  • Loading branch information
tarlepp authored Jan 27, 2024
2 parents 214e0ff + 5968bdd commit a696b1a
Show file tree
Hide file tree
Showing 21 changed files with 337 additions and 248 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ ifeq ($(INSIDE_DOCKER_CONTAINER), 1)
@mkdir -p build
@@bin/console cache:clear
@php ./vendor/bin/psalm --version
@php ./vendor/bin/psalm --no-cache --show-info=true --report=./build/psalm.json
@php ./vendor/bin/psalm --no-cache --report=./build/psalm.json
else ifeq ($(RUNNING_SOME_CONTAINERS), 0)
$(WARNING_DOCKER)
else ifneq ($(RUNNING_ALL_CONTAINERS), 1)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
"ext-random": "*",
"doctrine/doctrine-bundle": "2.11.1",
"doctrine/doctrine-migrations-bundle": "3.3.0",
"doctrine/orm": "2.17.2",
"doctrine/orm": "2.17.3",
"friendsofphp/proxy-manager-lts": "1.0.16",
"gedmo/doctrine-extensions": "3.14.0",
"lexik/jwt-authentication-bundle": "2.20.3",
"mark-gerarts/automapper-plus-bundle": "1.4.1",
"matomo/device-detector": "6.2.1",
"matthiasnoback/symfony-console-form": "5.3.2",
"nelmio/api-doc-bundle": "4.16.2",
"nelmio/api-doc-bundle": "4.18.2",
"nelmio/cors-bundle": "2.4.0",
"phpdocumentor/reflection-docblock": "5.3.0",
"ramsey/uuid-doctrine": "2.0.0",
Expand Down
91 changes: 49 additions & 42 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Entity/Traits/LogRequestProcessRequestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use function mb_strtolower;
use function parse_str;
use function preg_replace;
use function strpos;
use function str_contains;

/**
* Trait LogRequestProcessRequestTrait
Expand Down Expand Up @@ -349,7 +349,7 @@ private function processRequestBaseInfo(Request $request): void
private function determineAction(Request $request): string
{
$rawAction = (string)($request->query->get('_controller') ?? $request->request->get('_controller', ''));
$rawAction = explode(strpos($rawAction, '::') ? '::' : ':', $rawAction);
$rawAction = explode(str_contains($rawAction, '::') ? '::' : ':', $rawAction);

return $rawAction[1] ?? '';
}
Expand Down
2 changes: 1 addition & 1 deletion tests/E2E/TestCase/WebTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function getFastestHeaders(): array
{
$output = [];

if (getenv('ENV_TEST_CHANNEL_READABLE')) {
if (getenv('ENV_TEST_CHANNEL_READABLE') !== false) {
$testChannel = (string)getenv('ENV_TEST_CHANNEL_READABLE');

$output = [
Expand Down
5 changes: 4 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@

/** @noinspection AdditionOperationOnArraysInspection */
$_SERVER += $_ENV;
$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';

$environment = $_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null;

$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $environment ?? 'dev';
$_SERVER['APP_DEBUG'] ??= $_ENV['APP_DEBUG'] ?? $_SERVER['APP_ENV'] !== 'prod';

$debug = (int)$_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], FILTER_VALIDATE_BOOLEAN) ? '1' : '0';
Expand Down
Loading

0 comments on commit a696b1a

Please sign in to comment.