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 Rector #371

Merged
merged 18 commits into from
Mar 19, 2024
Merged

Add Rector #371

merged 18 commits into from
Mar 19, 2024

Conversation

Nielsvanpach
Copy link
Contributor

Added Rector as dev-dependency

  • Run as composer rector for dry-runs
  • Run as ./vendor/bin/rector to execute

Updates

  • Run with PHP 8.1 ruleset
  • Remove deadcode
  • Run with code styling ruleset
  • Added type declarations where missing
  • Run workflows on all branches. This allows contributors to run on their forks.

Copy link
Collaborator

@alies-dev alies-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Nielsvanpach

these changes looks great, thank you for your work on this!

I left 2 comments we need to address and then we can merge these improvements!

Copy link
Collaborator

@alies-dev alies-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! Can you please resolve conflicts? Then I'll merge it immediately to avoid new conflicts.

@Nielsvanpach
Copy link
Contributor Author

All ready

@alies-dev alies-dev merged commit ffd5139 into psalm:master Mar 19, 2024
14 checks passed
@alies-dev alies-dev added the release:internal for PRs only (used by release-drafter) label Mar 19, 2024
@Nielsvanpach Nielsvanpach deleted the chore/rector branch March 19, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:internal for PRs only (used by release-drafter)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants