Skip to content

Conversation

@nikophil
Copy link
Contributor

@nikophil nikophil commented Feb 6, 2025

Hello,

I think it is perfectly valid to have negative priorities for hook methods. This allows to chose to occur after another hook method which does not have a priority

@sebastianbergmann
Copy link
Owner

This branch has conflicts that must be resolved.

@sebastianbergmann sebastianbergmann added type/enhancement A new idea that should be implemented feature/test-runner CLI test runner feature/metadata/attributes labels Feb 6, 2025
@sebastianbergmann sebastianbergmann added this to the PHPUnit 12.1 milestone Feb 6, 2025
@nikophil nikophil changed the base branch from main to 11.5 February 6, 2025 08:13
@nikophil
Copy link
Contributor Author

nikophil commented Feb 6, 2025

@sebastianbergmann sorry, it is meant to be based on 11.5 since this is a fix

@sebastianbergmann sebastianbergmann removed this from the PHPUnit 12.1 milestone Feb 6, 2025
@sebastianbergmann sebastianbergmann changed the title fix(hooks): allow negative priorities Allow negative priorities for hook methodfs Feb 6, 2025
@sebastianbergmann sebastianbergmann changed the title Allow negative priorities for hook methodfs Allow negative priorities for hook methods Feb 6, 2025
@sebastianbergmann
Copy link
Owner

Merged manually, thanks.

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

Labels

feature/metadata/attributes feature/test-runner CLI test runner type/enhancement A new idea that should be implemented

2 participants