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

Add an encoder and bump to PHP8.2 #77

Merged
merged 5 commits into from
Oct 31, 2024
Merged

Add an encoder and bump to PHP8.2 #77

merged 5 commits into from
Oct 31, 2024

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Oct 31, 2024

Target branch: 4.0.x

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

Refactor tests and implementation to use integers for normalization instead of strings, including Unsigned and Signed Integer Tests and associated data providers. Migrate dependencies in composer.json and update various configurations for PHP 8.2 syntax support and PHPUnit 11.0.
Refactored encode and process methods for clarity in Encoder.php. Simplified TagManager and OtherObjectManager by using constructors and arrays. Improved string conversion logic in several CBOR classes. Optimized vector tests to reduce complexity. Removed redundant PHPStan baseline errors and updated ECS configuration for precise directory paths.
Removed the unused `PhpUnitTestClassRequiresCoversFixer` import from `ecs.php`. Enhanced the Rector configuration in `rector.php` by adding Symfony sets for code quality, constructor injection, and validator attributes, while keeping imports organized and removing unused imports.
@Spomky Spomky added the enhancement New feature or request label Oct 31, 2024
@Spomky Spomky added this to the 4.0.0 milestone Oct 31, 2024
@Spomky Spomky self-assigned this Oct 31, 2024
Deleted the Makefile and incorporated related CI tasks into GitHub workflows. Updated the workflows to use Castor for tasks previously handled by make commands. Added new workflows for dependency review, issue locking, and scorecards analysis. Adjusted phpstan baseline and deptrac configurations accordingly.
Integrated the Castor tool into various jobs in the GitHub Actions workflow file. This enhances the linting process and ensures compatibility across multiple PHP versions defined in the CI configuration. Updated commands to utilize Castor for improved syntax checking.
@Spomky Spomky merged commit 79b84a4 into 4.0.x Oct 31, 2024
12 checks passed
@Spomky Spomky deleted the features/encoder branch October 31, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant