Skip to content

Replace abandoned packages #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
Expand All @@ -59,10 +57,10 @@ jobs:
codestyle:
- "false"
include:
- php-version: "8.2"
- php-version: "8.4"
deps: "locked"
codestyle: "true"
- php-version: "7.4"
- php-version: "8.1"
deps: "lowest"
codestyle: "false"

Expand Down
34 changes: 7 additions & 27 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"identity"
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-json": "*",
"facile-it/php-jose-verifier": "^0.3 || ^0.4.3",
"facile-it/php-jose-verifier": "^0.5.0-beta1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: if everything is ok, we should re-tag as stable and change the requirement here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite possibly. Though I've not used any of that library in anger apart from what this library touches so I can't vouch for it all.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the 0.5 tag available on that repo yet? I've an issue open there but it is still open?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet, I'm thinking that we can use the beta version, and tag this PR in beta too

"php-http/discovery": "^1.6",
"psr/http-client": "^1.0",
"psr/http-client-implementation": "^1.0",
Expand All @@ -39,12 +39,8 @@
"psr/http-message": "^1.0 || ^2.0",
"psr/http-message-implementation": "^1.0",
"psr/http-server-middleware": "^1.0",
"web-token/jwt-checker": "^2.0 || ^3.0",
"web-token/jwt-core": "^2.0 || ^3.0",
"web-token/jwt-encryption": "^2.0 || ^3.0",
"web-token/jwt-key-mgmt": "^2.0.7 || ^3.0",
"web-token/jwt-signature": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-rsa": "^2.0 || ^3.0"
"spomky-labs/aes-key-wrap": "^7.0",
"web-token/jwt-library": "^3.4.3"
},
"autoload": {
"files": [
Expand Down Expand Up @@ -83,32 +79,16 @@
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^8.5.14 || ^9.3",
"symfony/console": "^4.3 || ^5.0 || ^6.0",
"vimeo/psalm": "^5.6.0",
"web-token/jwt-encryption-algorithm-aescbc": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-aesgcm": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-aesgcmkw": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-aeskw": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-dir": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-ecdh-es": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-eddsa": "^2.2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-ecdh-es": "^2.2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-experimental": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-pbes2": "^2.0 || ^3.0",
"web-token/jwt-encryption-algorithm-rsa": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-ecdsa": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-eddsa": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-experimental": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-hmac": "^2.0 || ^3.0",
"web-token/jwt-signature-algorithm-none": "^2.0 || ^3.0"
"vimeo/psalm": "^5.6.0"
},
"suggest": {
"facile-it/php-oauth2-http-client": "To use a PSR HTTP client to interact with OAuth2/OpenID protected APIs",
"web-token/jwt-signature-algorithm-hmac": "To use the client_secret_jwt auth method and symmetric key signature",
"dflydev/fig-cookies": "To use the SessionCookieMiddleware"
},
"scripts": {
"cs-check": "php-cs-fixer fix --dry-run --diff --allow-risky=yes",
"cs-fix": "php-cs-fixer fix --diff --allow-risky=yes",
"cs-check": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --dry-run --diff --allow-risky=yes",
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --diff --allow-risky=yes",
"psalm": "psalm",
"test": "phpunit",
"test-coverage": "phpunit --coverage-text",
Expand Down
Loading