Skip to content

Conversation

Baspa
Copy link
Contributor

@Baspa Baspa commented Sep 5, 2025

No description provided.

- Added Rector as dev dependency for advanced code refactoring
- Created comprehensive automated fixing workflows
- Added intentional PHPStan issues to test the system
- Created multiple fixing approaches (simple, advanced, reusable)
- Added Rector configuration for PHP 8.4 and code quality rules
- Created combined PHPStan + Rector fixing scripts
- Updated workflows to use both tools for maximum coverage

This commit introduces intentional issues that will trigger the automated fixing system when pushed to GitHub.
@github-actions github-actions bot added the enhancement New feature or request label Sep 5, 2025
Baspa and others added 12 commits September 5, 2025 13:20
- Added push and pull_request triggers to auto-fix workflow
- Added PHPStan error detection before running fixes
- Updated workflow to handle different event types
- Fixed branch references for different event contexts
- Workflow will now trigger when PHPStan errors are detected
- Applied Rector refactoring rules
- Added missing return types
- Added type hints for properties
- Fixed array type declarations
- Applied code quality improvements

Auto-generated by GitHub Actions workflow.
- Applied Rector refactoring rules
- Added missing return types
- Added type hints for properties
- Fixed array type declarations
- Applied code quality improvements

Auto-generated by GitHub Actions workflow.
- Applied Rector refactoring rules
- Added missing return types
- Added type hints for properties
- Fixed array type declarations
- Applied code quality improvements

Auto-generated by GitHub Actions workflow.
- Removed auto-fix-phpstan.yml (redundant advanced workflow)
- Removed phpstan-auto-fix-reusable.yml (unused reusable workflow)
- Removed .github/actions/ directory (unused reusable action)
- Removed redundant fix scripts (fix-phpstan-and-rector.php, fix-phpstan-issues.php, fix-phpstan-issues.sh)
- Kept only essential files:
  - phpstan.yml (main workflow)
  - phpstan-auto-fix-simple.yml (targeted auto-fix workflow)
  - fix-specific-phpstan-errors.php (targeted fixer script)

Now we have a clean, focused solution with only 2 workflows and 1 script.
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.

2 participants