php-bundles / json-request-bundle Goto Github PK
View Code? Open in Web Editor NEWJson Request Bundle
License: MIT License
Json Request Bundle
License: MIT License
First and for al, thanks for providing this bundle!
But..., we noticed that this bundle was suddenly gone at the end of last year.
How did this happen, and can we count on it not happening again?
Hello,
Naming your organization and your packages with "symfony" in the name might create confusion for the community.
Also Symfony is a trademark that must be used within the policy described at symfony.com/trademark
Please rename your organization and all related packages.
Thanks for your understanding.
User Deprecated: Since symfony/http-foundation 6.2: The \"Symfony\\Component\\HttpFoundation\\Request::getContentType()\" method is deprecated, use \"getContentTypeFormat()\" instead.
Looking at the code I saw that it was even merged but a new tag was not generated, see PR: #14
Method "Symfony\Component\Config\Definition\ConfigurationInterface::getConfigTreeBuilder()" might add "TreeBuilder" as a native return type declaration in the future. Do the same in implementation "SymfonyBundles\JsonRequestBundle\DependencyInjection\Configuration" now to avoid errors or add an explicit @return annotation to suppress this message.
Version 4.0.0 has default event listener priority 0, since in v.3.1.1 it was 100 and with new version bundle is not work
v.3.1.1
json-request-bundle-3.1.1\DependencyInjection\Configuration.php
$rootNode
->children()
->arrayNode('listener')
->addDefaultsIfNotSet()
->children()
->scalarNode('request_transformer')
->defaultValue(RequestTransformerListener::class)
->end()
->scalarNode('priority')
->defaultValue(100)
->end()
->end()
->end()
->end();
v.4.0.0
json-request-bundle-master\src\DependencyInjection\JsonRequestExtension.php
$listener->addTag('kernel.event_listener', ['event' => KernelEvents::REQUEST]);
Propose is modify
json-request-bundle-master\src\DependencyInjection\JsonRequestExtension.php
$listener->addTag('kernel.event_listener', ['event' => KernelEvents::REQUEST, 'priority' => 100]);
Since 4.4 is a LTS version, i think this bundle suppose to support it as well?
But my composer complaint it in 4.4:
- symfony-bundles/json-request-bundle[dev-master, 4.0.0, ..., 4.0.5] require symfony/framework-bundle ^5.0 -> found symfony/framework-bundle[v5.0.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (4.4.*).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.