If you composer update PHPUnit to version 7.5 or higher and composer require mglaman/drupal-check, then:

php ./vendor/mglaman/drupal-check/drupal-check -d modules/ctools

outputs:

------ ----------------------------------------------------------------------------------- 
  Line   tests/src/Kernel/SerializableTempstoreTest.php                                     
 ------ ----------------------------------------------------------------------------------- 
  49     Call to deprecated method assertInternalType() of class PHPUnit\Framework\Assert:  
         https://github.com/sebastianbergmann/phpunit/issues/3369                           
  55     Call to deprecated method getObjectAttribute() of class PHPUnit\Framework\Assert:  
         https://github.com/sebastianbergmann/phpunit/issues/3338                           
 ------ ----------------------------------------------------------------------------------- 

Comments

effulgentsia created an issue. See original summary.

phenaproxima’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

This oughta fix it...

thalles’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new102.99 KB

Works for me!

@see after apply the patch:

joelpittet’s picture

Status: Reviewed & tested by the community » Fixed

I'm curious if there would be a simpler test than using \ReflectionClass, but it's doing what it was doing before so I committed it, thanks @phenaproxima

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.