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

[10.x] Update the visibility of setUp and tearDown #48383

Merged

Conversation

lucasmichot
Copy link
Contributor

@lucasmichot lucasmichot commented Sep 13, 2023

This updates the visibility of setUp and tearDown methods, to align with the one in \PHPUnit\Framework\TestCase

Side note, this could also be a pint rule for the laravel preset:
See https://cs.symfony.com/doc/rules/php_unit/php_unit_set_up_tear_down_visibility.html
cc. @nunomaduro

@taylorotwell taylorotwell merged commit 737cdec into laravel:10.x Sep 13, 2023
19 checks passed
@lucasmichot lucasmichot deleted the feat/fix-setup-and-teardown-visibility branch September 13, 2023 22:15
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