Skip to content

Fix CI failures: rector and phpstan issues#19184

Merged
othercorey merged 1 commit into
5.xfrom
fix-ci-rector-phpstan
Jan 14, 2026
Merged

Fix CI failures: rector and phpstan issues#19184
othercorey merged 1 commit into
5.xfrom
fix-ci-rector-phpstan

Conversation

@dereuromark

@dereuromark dereuromark commented Jan 14, 2026

Copy link
Copy Markdown
Member

Summary

  • Apply rector fixes to remove @return void from magic methods (__clone, __construct, __destruct)
  • Combine nested if statements in PluginAssetsTrait (rector CombineIfRector)
  • Fix PHPStan issue: remove redundant if (!$copy) check that was always true

I also fixed up the broken constraint.

Apply rector fixes:
- Remove @return void from __clone(), __construct(), __destruct() magic methods
- Combine nested if statements in PluginAssetsTrait

Fix PHPStan issue:
- Remove redundant `if (!$copy)` check in PluginAssetsTrait::_process()
  that was always true after the preceding `if ($copy) { ... continue; }` block
@dereuromark dereuromark force-pushed the fix-ci-rector-phpstan branch from a1fa0bd to 19265d6 Compare January 14, 2026 03:23
@othercorey othercorey added this to the 5.3.1 milestone Jan 14, 2026
@othercorey othercorey merged commit 11ce889 into 5.x Jan 14, 2026
14 of 15 checks passed
@othercorey othercorey deleted the fix-ci-rector-phpstan branch January 14, 2026 03:40
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