Skip to content

Conversation

@gin0115
Copy link
Contributor

@gin0115 gin0115 commented Jan 28, 2025

This pull request includes several updates and improvements across different files to enhance compatibility, update dependencies, and improve code quality. The most important changes include updating to support Perique V2.1.x, modifying dependencies in composer.json, and adding new commands and parameters for code quality tools.

Compatibility and Dependency Updates:

  • README.md: Updated to support Perique V2.1.x and aligned version numbering with the rest of the Perique Framework.
  • composer.json: Updated dependencies to newer versions, including php-stubs/wordpress-stubs, roots/wordpress, wp-phpunit/wp-phpunit, and symfony/var-dumper. Also updated pinkcrab/perique-framework-core to version 2.1.*. [1] [2]

Code Quality Improvements:

  • composer.json: Added a new script command for code formatting using phpcbf.
  • phpstan.neon.dist: Added a parameter to disable reporting unmatched ignored errors.

Code Refactoring:

  • src/BladeOne.php: Changed the method call from path to view_path for better clarity and consistency.
  • src/BladeOne_Engine.php and src/PinkCrab_BladeOne.php: Refined the type hinting for $template_path to specify it as a string. [1] [2]

@gin0115 gin0115 self-assigned this Jan 28, 2025
@gin0115 gin0115 merged commit efd8cfb into master Jan 28, 2025
16 of 17 checks passed
@gin0115 gin0115 deleted the release/2.1.0 branch January 28, 2025 21:57
@codecov
Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (dc85361) to head (998ba55).
Report is 5 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #29   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        72        72           
===========================================
  Files              3         3           
  Lines            203       203           
===========================================
  Hits             203       203           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants