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

Deprecate assertInternalType() and assertNotInternalType() #3369

Closed
sebastianbergmann opened this issue Oct 24, 2018 · 3 comments
Closed

Deprecate assertInternalType() and assertNotInternalType() #3369

sebastianbergmann opened this issue Oct 24, 2018 · 3 comments
Assignees
Milestone

Comments

@sebastianbergmann
Copy link
Owner

See #3368 for migration path.

@narekps
Copy link

narekps commented Jan 15, 2019

What to use instead?

@sebastianbergmann
Copy link
Owner Author

@narekps #3369 (comment) links to #3368.

@mnapoli
Copy link
Contributor

mnapoli commented Aug 19, 2019

For those coming from the deprecation in the code, here is a quick summary of the methods to use instead (to save you a click):

  • assertIsArray()
  • assertIsBool()
  • assertIsFloat()
  • assertIsInt()
  • assertIsNumeric()
  • assertIsObject()
  • assertIsResource()
  • assertIsString()
  • assertIsScalar()
  • assertIsCallable()
  • assertIsIterable()
  • assertIsNotArray()
  • assertIsNotBool()
  • assertIsNotFloat()
  • assertIsNotInt()
  • assertIsNotNumeric()
  • assertIsNotObject()
  • assertIsNotResource()
  • assertIsNotString()
  • assertIsNotScalar()
  • assertIsNotCallable()
  • assertIsNotIterable()

jissereitsma added a commit to jissereitsma/buckaroo-magento2 that referenced this issue Aug 12, 2024
Create a mock for the `assertInternalType` method which is removed from PHPUnit. See also sebastianbergmann/phpunit#3369
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

No branches or pull requests

3 participants