PHP dependencies update.

Changelogs summary:

 - symfony/string updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/string/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/string/releases/tag/v6.1.3

 - symfony/console updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/console/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/console/releases/tag/v6.1.3

 - doctrine/event-manager updated from 1.1.1 to 1.1.2 patch
   See changes: https://github.com/doctrine/event-manager/compare/1.1.1...1.1.2
   Release notes: https://github.com/doctrine/event-manager/releases/tag/1.1.2

 - doctrine/persistence updated from 3.0.2 to 3.0.3 patch
   See changes: https://github.com/doctrine/persistence/compare/3.0.2...3.0.3
   Release notes: https://github.com/doctrine/persistence/releases/tag/3.0.3

 - doctrine/dbal updated from 3.3.7 to 3.4.0 minor
   See changes: https://github.com/doctrine/dbal/compare/3.3.7...3.4.0
   Release notes: https://github.com/doctrine/dbal/releases/tag/3.4.0

 - doctrine/orm updated from 2.12.3 to 2.13.0 minor
   See changes: https://github.com/doctrine/orm/compare/2.12.3...2.13.0
   Release notes: https://github.com/doctrine/orm/releases/tag/2.13.0

 - symfony/serializer updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/serializer/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/serializer/releases/tag/v6.1.3

 - league/flysystem downgraded from 3.x-dev@5c79557 to 3.2.0 minor
   See changes: https://github.com/thephpleague/flysystem/compare/5c79557...3.2.0
   Release notes: https://github.com/thephpleague/flysystem/releases/tag/3.2.0

 - symfony/css-selector updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/css-selector/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/css-selector/releases/tag/v6.1.3

 - symfony/yaml updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/yaml/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/yaml/releases/tag/v6.1.3

 - symfony/var-dumper updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/var-dumper/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/var-dumper/releases/tag/v6.1.3

 - symfony/finder updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/finder/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/finder/releases/tag/v6.1.3

 - psy/psysh updated from v0.11.5 to v0.11.8 patch
   See changes: https://github.com/bobthecow/psysh/compare/v0.11.5...v0.11.8
   Release notes: https://github.com/bobthecow/psysh/releases/tag/v0.11.8

 - codeception/codeception updated from 5.0.0-RC5 to 5.0.0 patch
   See changes: https://github.com/Codeception/Codeception/compare/5.0.0-RC5...5.0.0
   Release notes: https://github.com/Codeception/Codeception/releases/tag/5.0.0

 - symfony/dom-crawler updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/dom-crawler/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/dom-crawler/releases/tag/v6.1.3

 - symfony/browser-kit updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/browser-kit/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/browser-kit/releases/tag/v6.1.3

 - composer/ca-bundle updated from 1.3.2 to 1.3.3 patch
   See changes: https://github.com/composer/ca-bundle/compare/1.3.2...1.3.3
   Release notes: https://github.com/composer/ca-bundle/releases/tag/1.3.3

 - symfony/filesystem updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/filesystem/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/filesystem/releases/tag/v6.1.3

 - laminas/laminas-code updated from 4.5.2 to 4.6.0 minor
   See changes: https://github.com/laminas/laminas-code/compare/4.5.2...4.6.0
   Release notes: https://github.com/laminas/laminas-code/releases/tag/4.6.0

 - doctrine/migrations updated from 3.5.1 to 3.5.2 patch
   See changes: https://github.com/doctrine/migrations/compare/3.5.1...3.5.2
   Release notes: https://github.com/doctrine/migrations/releases/tag/3.5.2

 - gettext/gettext updated from v5.6.1 to v5.7.0 minor
   See changes: https://github.com/php-gettext/Gettext/compare/v5.6.1...v5.7.0
   Release notes: https://github.com/php-gettext/Gettext/releases/tag/v5.7.0

 - aws/aws-sdk-php updated from 3.228.5 to 3.232.2 minor
   See changes: https://github.com/aws/aws-sdk-php/compare/3.228.5...3.232.2
   Release notes: https://github.com/aws/aws-sdk-php/releases/tag/3.232.2

 - league/flysystem-aws-s3-v3 updated from 3.0.21 to 3.2.0 minor
   See changes: https://github.com/thephpleague/flysystem-aws-s3-v3/compare/3.0.21...3.2.0
   Release notes: https://github.com/thephpleague/flysystem-aws-s3-v3/releases/tag/3.2.0

 - league/flysystem-sftp-v3 updated from 3.0.21 to 3.2.0 minor
   See changes: https://github.com/thephpleague/flysystem-sftp-v3/compare/3.0.21...3.2.0
   Release notes: https://github.com/thephpleague/flysystem-sftp-v3/releases/tag/3.2.0

 - matomo/device-detector updated from 6.0.1 to 6.0.2 patch
   See changes: https://github.com/matomo-org/device-detector/compare/6.0.1...6.0.2
   Release notes: https://github.com/matomo-org/device-detector/releases/tag/6.0.2

 - mezzio/mezzio-session updated from 1.6.0 to 1.9.1 minor
   See changes: https://github.com/mezzio/mezzio-session/compare/1.6.0...1.9.1
   Release notes: https://github.com/mezzio/mezzio-session/releases/tag/1.9.1

 - mezzio/mezzio-session-cache updated from 1.7.0 to 1.8.0 minor
   See changes: https://github.com/mezzio/mezzio-session-cache/compare/1.7.0...1.8.0
   Release notes: https://github.com/mezzio/mezzio-session-cache/releases/tag/1.8.0

 - monolog/monolog updated from 3.1.0 to 3.2.0 minor
   See changes: https://github.com/Seldaek/monolog/compare/3.1.0...3.2.0
   Release notes: https://github.com/Seldaek/monolog/releases/tag/3.2.0

 - symfony/translation updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/translation/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/translation/releases/tag/v6.1.3

 - nesbot/carbon updated from 2.58.0 to 2.61.0 minor
   See changes: https://github.com/briannesbitt/Carbon/compare/2.58.0...2.61.0
   Release notes: https://github.com/briannesbitt/Carbon/releases/tag/2.61.0

 - pagerfanta/core updated from v3.6.1 to v3.6.2 patch
   See changes: https://github.com/Pagerfanta/core/compare/v3.6.1...v3.6.2
   Release notes: https://github.com/Pagerfanta/core/releases/tag/v3.6.2

 - pagerfanta/doctrine-collections-adapter updated from v3.6.1 to v3.6.2 patch
   See changes: https://github.com/Pagerfanta/doctrine-collections-adapter/compare/v3.6.1...v3.6.2
   Release notes: https://github.com/Pagerfanta/doctrine-collections-adapter/releases/tag/v3.6.2

 - pagerfanta/doctrine-orm-adapter updated from v3.6.1 to v3.6.2 patch
   See changes: https://github.com/Pagerfanta/doctrine-orm-adapter/compare/v3.6.1...v3.6.2
   Release notes: https://github.com/Pagerfanta/doctrine-orm-adapter/releases/tag/v3.6.2

 - php-di/php-di updated from v7.x-dev@8d35559 to v7.x-dev@5458204 patch
   See changes: https://github.com/PHP-DI/PHP-DI/compare/8d35559...5458204

 - symfony/process updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/process/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/process/releases/tag/v6.1.3

 - symfony/var-exporter updated from v6.1.1 to v6.1.3 patch
   See changes: https://github.com/symfony/var-exporter/compare/v6.1.1...v6.1.3
   Release notes: https://github.com/symfony/var-exporter/releases/tag/v6.1.3

 - symfony/cache updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/cache/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/cache/releases/tag/v6.1.3

 - php-http/discovery updated from 1.14.2 to 1.14.3 patch
   See changes: https://github.com/php-http/discovery/compare/1.14.2...1.14.3
   Release notes: https://github.com/php-http/discovery/releases/tag/1.14.3

 - symfony/expression-language updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/expression-language/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/expression-language/releases/tag/v6.1.3

 - phpstan/phpstan updated from 1.7.15 to 1.8.2 minor
   See changes: https://github.com/phpstan/phpstan/compare/1.7.15...1.8.2
   Release notes: https://github.com/phpstan/phpstan/releases/tag/1.8.2

 - phpstan/phpstan-doctrine updated from 1.3.9 to 1.3.11 patch
   See changes: https://github.com/phpstan/phpstan-doctrine/compare/1.3.9...1.3.11
   Release notes: https://github.com/phpstan/phpstan-doctrine/releases/tag/1.3.11

 - ramsey/uuid updated from 4.3.1 to 4.4.0 minor
   See changes: https://github.com/ramsey/uuid/compare/4.3.1...4.4.0
   Release notes: https://github.com/ramsey/uuid/releases/tag/4.4.0

 - roave/security-advisories updated from dev-latest@82cfc46 to dev-latest@8b99cfd
   See changes: https://github.com/Roave/SecurityAdvisories/compare/82cfc46...8b99cfd

 - skoerfgen/acmecert updated from 3.2.0 to 3.2.1 patch
   See changes: https://github.com/skoerfgen/ACMECert/compare/3.2.0...3.2.1
   Release notes: https://github.com/skoerfgen/ACMECert/releases/tag/3.2.1

 - slevomat/coding-standard updated from 8.1.0 to 8.3.0 minor
   See changes: https://github.com/slevomat/coding-standard/compare/8.1.0...8.3.0
   Release notes: https://github.com/slevomat/coding-standard/releases/tag/8.3.0

 - thecodingmachine/safe updated from v2.2.1 to v2.2.3 patch
   See changes: https://github.com/thecodingmachine/safe/compare/v2.2.1...v2.2.3
   Release notes: https://github.com/thecodingmachine/safe/releases/tag/v2.2.3

 - symfony/messenger updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/messenger/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/messenger/releases/tag/v6.1.3

 - symfony/beanstalkd-messenger updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/beanstalkd-messenger/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/beanstalkd-messenger/releases/tag/v6.1.3

 - symfony/mime updated from v6.1.1 to v6.1.3 patch
   See changes: https://github.com/symfony/mime/compare/v6.1.1...v6.1.3
   Release notes: https://github.com/symfony/mime/releases/tag/v6.1.3

 - symfony/mailer updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/mailer/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/mailer/releases/tag/v6.1.3

 - symfony/property-info updated from v6.1.2 to v6.1.3 patch
   See changes: https://github.com/symfony/property-info/compare/v6.1.2...v6.1.3
   Release notes: https://github.com/symfony/property-info/releases/tag/v6.1.3

 - symfony/property-access updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/property-access/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/property-access/releases/tag/v6.1.3

 - symfony/lock updated from v6.1.1 to v6.1.3 patch
   See changes: https://github.com/symfony/lock/compare/v6.1.1...v6.1.3
   Release notes: https://github.com/symfony/lock/releases/tag/v6.1.3

 - symfony/rate-limiter updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/rate-limiter/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/rate-limiter/releases/tag/v6.1.3

 - symfony/redis-messenger updated from v6.1.0 to v6.1.3 patch
   See changes: https://github.com/symfony/redis-messenger/compare/v6.1.0...v6.1.3
   Release notes: https://github.com/symfony/redis-messenger/releases/tag/v6.1.3

 - symfony/validator updated from v6.1.1 to v6.1.3 patch
   See changes: https://github.com/symfony/validator/compare/v6.1.1...v6.1.3
   Release notes: https://github.com/symfony/validator/releases/tag/v6.1.3

 - phpoption/phpoption updated from 1.8.1 to 1.9.0 minor
   See changes: https://github.com/schmittjoh/php-option/compare/1.8.1...1.9.0
   Release notes: https://github.com/schmittjoh/php-option/releases/tag/1.9.0

 - graham-campbell/result-type updated from v1.0.4 to v1.1.0 minor
   See changes: https://github.com/GrahamCampbell/Result-Type/compare/v1.0.4...v1.1.0
   Release notes: https://github.com/GrahamCampbell/Result-Type/releases/tag/v1.1.0

 - doctrine/annotations updated from 1.13.2 to 1.13.3 patch
   See changes: https://github.com/doctrine/annotations/compare/1.13.2...1.13.3
   Release notes: https://github.com/doctrine/annotations/releases/tag/1.13.3

 - zircote/swagger-php updated from 4.4.5 to 4.4.7 patch
   See changes: https://github.com/zircote/swagger-php/compare/4.4.5...4.4.7
   Release notes: https://github.com/zircote/swagger-php/releases/tag/4.4.7

 - brick/math updated from 0.9.3 to 0.10.1 minor
   See changes: https://github.com/brick/math/compare/0.9.3...0.10.1
   Release notes: https://github.com/brick/math/releases/tag/0.10.1

 - spomky-labs/otphp updated from v10.0.3 to v11.0.1 major
   See changes: https://github.com/Spomky-Labs/otphp/compare/v10.0.3...v11.0.1
   Release notes: https://github.com/Spomky-Labs/otphp/releases/tag/v11.0.1
This commit is contained in:
Buster "Silver Eagle" Neece 2022-08-07 18:03:23 -05:00
parent c59a5a023c
commit c87c1c343b
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
3 changed files with 485 additions and 446 deletions

View File

@ -33,7 +33,7 @@
"azuracast/slim-callable-eventdispatcher": "dev-main",
"bacon/bacon-qr-code": "^2.0",
"beberlei/doctrineextensions": "^1.2",
"brick/math": "^0.9",
"brick/math": "^0.10",
"composer/ca-bundle": "^1.2",
"doctrine/annotations": "^1.6",
"doctrine/data-fixtures": "^1.3",
@ -74,7 +74,7 @@
"slim/http": "^1.1",
"slim/slim": "^4.2",
"spatie/flysystem-dropbox": "^2",
"spomky-labs/otphp": "^10.0",
"spomky-labs/otphp": "^11",
"supervisorphp/supervisor": "dev-main",
"symfony/beanstalkd-messenger": "^6",
"symfony/cache": "^6",

922
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -14,6 +14,7 @@ use App\Middleware\InjectSession;
use App\Session\Flash;
use App\View;
use DI\FactoryInterface;
use Mezzio\Session\Session;
use Monolog\Logger;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
@ -175,6 +176,8 @@ final class ErrorHandler extends \Slim\Handlers\ErrorHandler
// Redirect to login page for not-logged-in users.
$sessionPersistence = $this->injectSession->getSessionPersistence($this->request);
/** @var Session $session */
$session = $sessionPersistence->initializeSessionFromRequest($this->request);
$flash = new Flash($session);
@ -202,6 +205,8 @@ final class ErrorHandler extends \Slim\Handlers\ErrorHandler
}
$sessionPersistence = $this->injectSession->getSessionPersistence($this->request);
/** @var Session $session */
$session = $sessionPersistence->initializeSessionFromRequest($this->request);
$flash = new Flash($session);