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

Merge up 1.2.7 to 1.3.x #258

Merged
merged 8 commits into from
Dec 16, 2024
Merged

Merge up 1.2.7 to 1.3.x #258

merged 8 commits into from
Dec 16, 2024

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Dec 16, 2024

Target branch:
Resolves issue #

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

Spomky and others added 4 commits June 8, 2024 09:54
The methods' return types have been updated from iterable<Data> to iterable<string, Data> in several files, namely FaviconsCompiler.php, ManifestCompiler.php, FileCompilerInterface.php, and ServiceWorkerCompiler.php. Moreover, yield statements have been modified to yield a pair of string (URL) and Data instead of just Data to enhance data identification and access.
)

* Replace TaggedIterator with AutowireIterator across multiple files

The commit switches the usage from TaggedIterator to AutowireIterator to better manage dependencies within the application. This affects multiple classes in src directory involving spomky_labs_pwa cache strategy, match callback handlers, and other related dependencies. The change enhances dependency handling and supports cleaner code injection.
* Refactor normalization methods for consistency and clarity.

Updated method parameter names from `$object` to `$data` across multiple normalizers to align with coding standards. Improved nullable type hints and applied minor cleanups for better readability and maintainability.

* Update dependencies and clean up PHPStan baseline

Add support for newer versions of development dependencies in `composer.json` by updating version constraints. Remove resolved deprecation issues from the PHPStan baseline to maintain a cleaner codebase.

* Update test assertions and refine PHPStan configurations

Updated file path assertions in `CompileCommandTest` to align with new screenshot file naming conventions. Enhanced PHPStan configuration by adding banned code settings, adjusting indentation, and significantly expanding the baseline for ignored errors.

* Refactor CompileCommandTest and update PHPStan configurations

Remove redundant assertions in CompileCommandTest for improved clarity and tweak PHPStan to allow ignorable banned code. Added new rules to PHPStan baseline for managing specific edge cases in code analysis.
@mergify mergify bot added the conflict label Dec 16, 2024
@mergify mergify bot removed the conflict label Dec 16, 2024
Replaced instances of `$object` with `$data` in the normalize method to match the method's parameter declaration. Ensures consistency and correct type handling during normalization.
Included NelmioSecurityBundle in composer dependencies to enhance security features. Simplified import management in PwaRuntime and improved code readability in PwaDevServerSubscriber by adjusting line formatting. These changes aim to improve maintainability and clarity.
Obsolete error entries were removed from the PHPStan baseline file, and counts for some existing errors were updated to reflect current analysis results. This streamlines static analysis and reduces unnecessary suppressions in the codebase.
@Spomky Spomky merged commit 33291c5 into 1.3.x Dec 16, 2024
12 checks passed
@Spomky Spomky deleted the temp-489ead branch December 16, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants