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

Remove deprecated setMethods #9

Merged
merged 10 commits into from Aug 21, 2021
Merged

Remove deprecated setMethods #9

merged 10 commits into from Aug 21, 2021

Conversation

dafeder
Copy link
Member

@dafeder dafeder commented Aug 20, 2021

PHPUnit\Framework\MockObject\MockBuilder::setMethods() is deprecated per sebastianbergmann/phpunit#3687

Also some housekeeping:

  • updates phpunit.xml to match current schema
  • simplifies circleci to use php convenience image, no need for ddev or manual phpunit install
  • some .gitignore additions
  • some code style fixes

@dafeder dafeder requested a review from fmizzell August 20, 2021 13:17
@dafeder dafeder force-pushed the only-methods branch 2 times, most recently from 5b42647 to e22b648 Compare August 20, 2021 13:58
$this->assertEquals($options->return("multi"), "shalom");
$this->assertNull($options->return('not-an-option'));
$options->index(2);
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a dumb test, and should have an equivalent over on the ChainTest side that actually tests the functionality.

@fmizzell fmizzell merged commit 16c73bc into master Aug 21, 2021
@fmizzell fmizzell deleted the only-methods branch August 21, 2021 17:05
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.

None yet

2 participants