Update schema handling and improve type safety #84
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes Introduced
SwaggerSchema
andOpenApiSchema
, enhancing flexibility in schema handling.schema-classes.md
detailing schema features. Updated README and existing documents with references and guidance forRestServer
integration.#[Override]
attributes for methods overriding parent definitions. Made minor adjustments to types and return declarations.Checklist
Additional Notes
Ensure PHP 8.4 features are supported in all relevant project environments.
Description by Korbit AI
What change is being made?
Add support for PHP 8.4, improve type safety across the codebase, update composer dependencies, enhance PHPUnit configuration, and include documentation for schema handling, while refactoring code for better readability.
Why are these changes being made?
These changes are essential to accommodate the upcoming PHP 8.4 version, improve code maintainability and robustness through enhanced type safety and dependency updates, and provide clear documentation. Transitioning to more recent PHPUnit versions and refining configurations ensures better test coverage and more informative test outputs.