Skip to content

Commit

Permalink
Update dependencies in composer.json files
Browse files Browse the repository at this point in the history
Dependencies in the composer.json files have been updated for better structuring and optimization. The phpdocumentor/reflection-docblock and symfony/property-info dependencies have been moved to more appropriate sections. Also, some new suggestions have been added for better user guidance.
  • Loading branch information
Spomky committed Jul 12, 2024
1 parent 27ce374 commit 23a29e2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"psr/clock": "^1.0",
"psr/event-dispatcher": "^1.0",
"psr/log": "^1.0|^2.0|^3.0",
"phpdocumentor/reflection-docblock": "^5.3",
"spomky-labs/cbor-php": "^3.0",
"spomky-labs/pki-framework": "^1.0",
"symfony/config": "^6.4|^7.0",
Expand All @@ -56,6 +57,8 @@
"symfony/clock": "^6.4|^7.0",
"symfony/framework-bundle": "^6.4|^7.0",
"symfony/http-client": "^6.4|^7.0",
"symfony/property-access": "^6.4|^7.0",
"symfony/property-info": "^6.4|^7.0",
"symfony/security-bundle": "^6.4|^7.0",
"symfony/security-core": "^6.4|^7.0",
"symfony/security-http": "^6.4|^7.0",
Expand All @@ -80,6 +83,8 @@
},
"suggest": {
"psr/log-implementation": "Recommended to receive logs from the library",
"symfony/event-dispatcher": "Recommended to use dispatched events",
"web-token/jwt-library": "Mandatory for fetching Metadata Statement from distant sources",
"symfony/security-bundle": "Symfony firewall using a JSON API (perfect for script applications)"
},
"require-dev": {
Expand All @@ -91,7 +96,6 @@
"infection/infection": "^0.29",
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-deprecation-rules": "^1.0",
Expand All @@ -112,7 +116,6 @@
"symfony/finder": "^6.4|^7.0",
"symfony/monolog-bundle": "^3.8",
"symfony/phpunit-bridge": "^6.4|^7.0",
"symfony/property-info": "^6.4|^7.0",
"symfony/var-dumper": "^6.4|^7.0",
"symfony/yaml": "^6.4|^7.0",
"symplify/easy-coding-standard": "^12.0",
Expand Down
3 changes: 3 additions & 0 deletions src/symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@
"psr-4": {
"Webauthn\\Bundle\\": "src/"
}
},
"suggest": {
"symfony/security-bundle": "Symfony firewall using a JSON API (perfect for script applications)"
}
}
9 changes: 4 additions & 5 deletions src/webauthn/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@
"ext-json": "*",
"ext-openssl": "*",
"paragonie/constant_time_encoding": "^2.6|^3.0",
"phpdocumentor/reflection-docblock": "^5.3",
"psr/clock": "^1.0",
"psr/event-dispatcher": "^1.0",
"psr/log": "^1.0|^2.0|^3.0",
"spomky-labs/cbor-php": "^3.0",
"symfony/clock": "^6.4|^7.0",
"symfony/uid": "^6.4|^7.0",
"spomky-labs/pki-framework": "^1.0",
"symfony/property-info": "^6.4|^7.0",
"symfony/property-access": "^6.4|^7.0",
"symfony/serializer": "^6.4|^7.0",
"symfony/deprecation-contracts": "^3.2",
"web-auth/cose-lib": "^4.2.3"
},
Expand All @@ -46,13 +50,8 @@
}
},
"suggest": {
"symfony/serializer": "As of 4.5.x, the symfony/serializer component will become mandatory for converting objects such as the Metadata Statement",
"symfony/property-access": "As of 4.5.x, the symfony/serializer component will become mandatory for converting objects such as the Metadata Statement",
"symfony/property-info": "As of 4.5.x, the symfony/serializer component will become mandatory for converting objects such as the Metadata Statement",
"phpdocumentor/reflection-docblock": "As of 4.5.x, the phpdocumentor/reflection-docblock component will become mandatory for converting objects such as the Metadata Statement",
"psr/log-implementation": "Recommended to receive logs from the library",
"symfony/event-dispatcher": "Recommended to use dispatched events",
"psr/clock-implementation": "As of 4.5.x, the PSR Clock implementation will replace lcobucci/clock",
"web-token/jwt-library": "Mandatory for fetching Metadata Statement from distant sources"
}
}

0 comments on commit 23a29e2

Please sign in to comment.