Migrate to shlinkio/shlink-json

This commit is contained in:
Alejandro Celaya 2023-04-18 23:04:58 +02:00
parent c830439085
commit 4ee9c9bbe3
2 changed files with 5 additions and 4 deletions

View File

@ -45,12 +45,13 @@
"php-middleware/request-id": "^4.1",
"pugx/shortid-php": "^1.1",
"ramsey/uuid": "^4.7",
"shlinkio/shlink-common": "^5.4",
"shlinkio/shlink-common": "dev-main#9eecf8c as 5.5",
"shlinkio/shlink-config": "^2.4",
"shlinkio/shlink-event-dispatcher": "^2.6",
"shlinkio/shlink-importer": "^5.0",
"shlinkio/shlink-importer": "dev-main#6b63b12 as 5.1",
"shlinkio/shlink-installer": "^8.3",
"shlinkio/shlink-ip-geolocation": "^3.2",
"shlinkio/shlink-json": "^1.0",
"spiral/roadrunner": "^2.12",
"spiral/roadrunner-jobs": "^2.7",
"symfony/console": "^6.2",
@ -72,7 +73,7 @@
"phpunit/phpunit": "^10.1",
"roave/security-advisories": "dev-master",
"shlinkio/php-coding-standard": "~2.3.0",
"shlinkio/shlink-test-utils": "^3.5",
"shlinkio/shlink-test-utils": "^3.6",
"symfony/var-dumper": "^6.2",
"veewee/composer-run-parallel": "^1.2"
},

View File

@ -13,7 +13,7 @@ use Psr\Http\Server\RequestHandlerInterface;
use Shlinkio\Shlink\Core\Exception\MalformedBodyException;
use function Functional\contains;
use function Shlinkio\Shlink\Common\json_decode;
use function Shlinkio\Shlink\Json\json_decode;
class BodyParserMiddleware implements MiddlewareInterface, RequestMethodInterface
{