We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PHPunit bugs and best practices
this
$this->assertTrue(is_array($this->manager->driver('sqlite')));
suggest to be converted to this
$this->assertInternalType('array', $this->manager->driver('sqlite'));
It should not be suggested to do that because since phpunit 7.4 (not sure about the version) assertInternalType is deprecated
assertInternalType
see sebastianbergmann/phpunit#3369 also see as an example laravel/framework#26976 for changes made
The text was updated successfully, but these errors were encountered:
@kalessil this might be related to #1155
Sorry, something went wrong.
[#1152] PhpUnitTestsInspector: assertInternalType - respect PhpUnit v…
668c9dd
…ersion (via settings)
Fixed!
[#1152] PhpUnitTestsInspector: fixed broken build
59b06ac
kalessil
No branches or pull requests
Current behaviour (description/screenshot:)
this
suggest to be converted to this
Expected behaviour
It should not be suggested to do that because since phpunit 7.4 (not sure about the version)
assertInternalType
is deprecatedsee sebastianbergmann/phpunit#3369
also see as an example laravel/framework#26976 for changes made
The text was updated successfully, but these errors were encountered: