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

dev/core#4088 Superficial cleanup on Api4testBase #25378

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

eileenmcnaughton
Copy link
Contributor

Mostly tighting hints & docblocks & using single quotes where possible (more quote consistency = more greppable & also makes it clearer when there IS a reason for double quotes)

@civibot
Copy link

civibot bot commented Jan 18, 2023

No issue was found matching the number given in the pull request title. Please check the issue number.

@civibot
Copy link

civibot bot commented Jan 18, 2023

(Standard links)

@eileenmcnaughton
Copy link
Contributor Author

Test fail highlights why we should add type hints BEFORE the class is more broadly accessible

Fatal error: Declaration of api\v4\Action\ContactIsDeletedTest::setUpHeadless() must be compatible with api\v4\Api4TestBase::setUpHeadless(): Civi\Test\CiviEnvBuilder in

@demeritcowboy
Copy link
Contributor

afform ContactSummaryTest also needs the type hint.

@demeritcowboy demeritcowboy merged commit 058e094 into civicrm:master Jan 19, 2023
@eileenmcnaughton eileenmcnaughton deleted the test_base branch January 19, 2023 07:53
@eileenmcnaughton
Copy link
Contributor Author

thanks @demeritcowboy

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

Successfully merging this pull request may close these issues.

2 participants