Voir https://github.com/sebastianbergmann/phpunit/issues/3368 pour le chemin de migration.
Quoi utiliser à la place ?
@narekps https://github.com/sebastianbergmann/phpunit/issues/3369#issue -373445499 liens vers https://github.com/sebastianbergmann/phpunit/issues/3368.
Pour ceux qui viennent de la dépréciation dans le code, voici un petit résumé des méthodes à utiliser à la place (pour vous épargner un clic) :
assertIsArray()
assertIsBool()
assertIsFloat()
assertIsInt()
assertIsNumeric()
assertIsObject()
assertIsResource()
assertIsString()
assertIsScalar()
assertIsCallable()
assertIsIterable()
assertIsNotArray()
assertIsNotBool()
assertIsNotFloat()
assertIsNotInt()
assertIsNotNumeric()
assertIsNotObject()
assertIsNotResource()
assertIsNotString()
assertIsNotScalar()
assertIsNotCallable()
assertIsNotIterable()
Commentaire le plus utile
Pour ceux qui viennent de la dépréciation dans le code, voici un petit résumé des méthodes à utiliser à la place (pour vous épargner un clic) :