-
Notifications
You must be signed in to change notification settings - Fork 111
Utilize build-infection #699
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
base: 2.0.x
Are you sure you want to change the base?
Conversation
.github/workflows/build.yml
Outdated
run: "composer install --no-interaction --no-progress" | ||
|
||
- name: "Install build-infection" | ||
run: "composer require phpstan/build-infection --no-interaction --no-progress" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want this to be an actual Composer package with tags, I just want to actions/checkout
this into a subdirectory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So how to make composer make aware of the class loading..? Using a local composer path repository config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What needs to load what?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Infection need to know where to find the mutator class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Checkout phpstan/build-infection
- Run composer install in the build-infection directory
- Infection can now find the custom mutator class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
closes phpstan/build-infection#7