Skip to content
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

Preparing 5.0.0 #520

Closed
wants to merge 4 commits into from
Closed

Preparing 5.0.0 #520

wants to merge 4 commits into from

Conversation

Spomky
Copy link
Contributor

@Spomky Spomky commented Nov 16, 2023

Modifications:

  • Remove all deprecations
  • Bump to PHP 8.3
  • Bump to Symfony ^6.4|^7.0
  • Bump other dependencies
  • Make sure FGrosse/ASN.1 use not required anymore (check other dependencies)
  • Cleanup PHPStan baseline and other CI/CD tools

@Spomky Spomky added this to the 5.0.0 milestone Nov 16, 2023
@Spomky Spomky mentioned this pull request Nov 16, 2023
src/symfony/src/Resources/config/services.php Outdated Show resolved Hide resolved
@@ -52,8 +52,5 @@
"web-token/jwt-signature-algorithm-ecdsa": "Recommended for the AndroidSafetyNet Attestation Statement support",
"web-token/jwt-signature-algorithm-eddsa": "Recommended for the AndroidSafetyNet Attestation Statement support",
"symfony/event-dispatcher": "Recommended to use dispatched events"
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be addressed in 4.8.x

@Spomky Spomky self-assigned this Nov 16, 2023
@Spomky Spomky added help wanted Extra attention is needed break Bachward Compatibility Break DX Developer Experience dependencies Pull requests that update a dependency file labels Nov 16, 2023
@Spomky Spomky force-pushed the remove-deprecations branch from 734c7b7 to c4d42c2 Compare November 17, 2023 14:56
@@ -30,7 +30,7 @@ public function findUserEntity(Request $request): PublicKeyCredentialUserEntity
$format = method_exists(
$request,
'getContentTypeFormat'
) ? $request->getContentTypeFormat() : $request->getContentType();
) ? $request->getContentTypeFormat() : $request->getContentTypeFormat();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be fixed

@@ -91,26 +84,15 @@ public function setEventDispatcher(EventDispatcherInterface $eventDispatcher): v
$this->dispatcher = $eventDispatcher;
}

public static function create(): self
public static function create(ClockInterface $clock): self
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be addressed in 4.8.x


final class TrustPathDenormalizer implements DenormalizerInterface
{
public function denormalize(mixed $data, string $type, string $format = null, array $context = [])
public function denormalize(mixed $data, string $type, string $format = null, array $context = []): mixed
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be addressed in 4.8.x

tests/library/Functional/AppleAttestationStatementTest.php Outdated Show resolved Hide resolved
@Spomky Spomky force-pushed the remove-deprecations branch from 62f6a48 to 8d70382 Compare November 19, 2023 20:33
@Spomky Spomky force-pushed the remove-deprecations branch from 8d70382 to 7cb2ad9 Compare November 19, 2023 20:39
The "minimum-stability" setting in the composer.json file was removed since we had already achieved a stable production phase. It was originally set to "beta", which is not necessary anymore.
Simplified the structuring of authenticatorSelection data in RegistrationAreaTest and made handling of JSON encoding errors more explicit in BiometricAccuracyDescriptorObjectTest and AttestedCredentialDataTest. This aims to make the tests more readable and robust against potential encoding issues.
Reformatted all CASE statements in TPMAttestationStatementSupport.php and RequestBodyUserEntityGuesser.php to have a space before the colon for improved readability, following the standard coding style guide.
Copy link

sonarqubecloud bot commented Dec 1, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@Spomky
Copy link
Contributor Author

Spomky commented Feb 25, 2024

Closing in favor of #557

@Spomky Spomky closed this Feb 25, 2024
@Spomky Spomky deleted the remove-deprecations branch July 19, 2024 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
break Bachward Compatibility Break dependencies Pull requests that update a dependency file DX Developer Experience help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant