lcobucci / content-negotiation-middleware Goto Github PK
View Code? Open in Web Editor NEWA PSR-15 middleware to handle content negotiation
License: MIT License
A PSR-15 middleware to handle content negotiation
License: MIT License
Given I have the following accepted formats:
json/application
text/plain
, and text/plain;version=0.0.4
text/plain;version=0.0.5
text.plain
What actually happens: we fall back on json.
Good morning,
Can I get the configuration example using RS256 alg from:
$builder = new Builder();
$builder->sign(new \Lcobucci\JWT\Signer\Rsa\Sha256(), new Key('signkey.pem'));
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
phpstan/phpstan
, phpstan/phpstan-phpunit
, phpstan/phpstan-strict-rules
)actions/cache
, codecov/codecov-action
, infection/infection
, jms/serializer
, laminas/laminas-diactoros
, middlewares/negotiation
, twig/twig
)composer.json
php ~8.1.0 || ~8.2.0 || ~8.3.0
fig/http-message-util ^1.1.5
psr/http-factory ^1.0.2
psr/http-message ^1.1 || ^2.0
psr/http-server-middleware ^1.0.2
infection/infection ^0.27
jms/serializer ^3.26.0
laminas/laminas-diactoros ^3.0.0
lcobucci/coding-standard ^11.0
league/plates ^3.5.0
middlewares/negotiation ^2.1
phpstan/extension-installer ^1.3.1
phpstan/phpstan ^1.10.23
phpstan/phpstan-deprecation-rules ^1.1.3
phpstan/phpstan-phpunit ^1.3.13
phpstan/phpstan-strict-rules ^1.5.1
phpunit/phpunit ^10.4
twig/twig ^3.6.1
.github/workflows/coding-standards.yml
actions/checkout v4
shivammathur/setup-php v2
actions/cache v4.0.0
.github/workflows/composer-json-lint.yml
actions/checkout v4
shivammathur/setup-php v2
actions/cache v4.0.0
.github/workflows/mutation-tests.yml
actions/checkout v4
shivammathur/setup-php v2
actions/cache v4.0.0
codecov/codecov-action v4.0.0
.github/workflows/phpunit.yml
actions/checkout v4
shivammathur/setup-php v2
actions/cache v4.0.0
actions/checkout v4
shivammathur/setup-php v2
actions/cache v4.0.0
.github/workflows/release-on-milestone-closed.yml
actions/checkout v4
laminas/automatic-releases v1
laminas/automatic-releases v1
laminas/automatic-releases v1
laminas/automatic-releases v1
laminas/automatic-releases v1
.github/workflows/static-analysis.yml
actions/checkout v4
shivammathur/setup-php v2
actions/cache v4.0.0
Up to PHP 7.3, the json
extension used to follow its own versioning.
Now, in PHP 7.4
+, it is following the same as other extensions: PHP's version number:
json
: https://3v4l.org/1NjFHreflection
: https://3v4l.org/ca9vSFor reference: php/php-src#4459
@lcobucci How can we solve this? Adding || ^7.4
or replacing it with *
when declaring ext-json
in the requirements of Composer?
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.