PHPUnit tests replace deprecated method PHPUnit\Framework\MockObject\MockBuilder::setMethods() with onlyMethods

Created on 8 June 2020, almost 5 years ago
Updated 14 September 2023, over 1 year ago
------ ------------------------------------------------------------------------- 
 Line   modules/contrib/cas/tests/src/Unit/Controller/ServiceControllerTest.php  
------ ------------------------------------------------------------------------- 
 165    Call to deprecated method setMethods() of class                          
        PHPUnit\Framework\MockObject\MockBuilder:                                
        https://github.com/sebastianbergmann/phpunit/pull/3687                   

 168    Call to deprecated method setMethods() of class                          
        PHPUnit\Framework\MockObject\MockBuilder:                                
        https://github.com/sebastianbergmann/phpunit/pull/3687                   

------ --------------------------------------------------------------------- 
 Line   modules/contrib/cas/tests/src/Unit/Routing/CasRouteEnhancerTest.php  
------ --------------------------------------------------------------------- 
 73     Call to deprecated method setMethods() of class                      
        PHPUnit\Framework\MockObject\MockBuilder:                            
        https://github.com/sebastianbergmann/phpunit/pull/3687               
------ --------------------------------------------------------------------- 

------ ------------------------------------------------------------------- 
 Line   modules/contrib/cas/tests/src/Unit/Service/CasProxyHelperTest.php  
------ ------------------------------------------------------------------- 
 49     Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

 52     Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

------ ------------------------------------------------------------------- 
 Line   modules/contrib/cas/tests/src/Unit/Service/CasUserManagerTest.php  
------ ------------------------------------------------------------------- 
 104    Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

 145    Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

 176    Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

 221    Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

 277    Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

 351    Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

 400    Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

 451    Call to deprecated method setMethods() of class                    
        PHPUnit\Framework\MockObject\MockBuilder:                          
        https://github.com/sebastianbergmann/phpunit/pull/3687             

As seen here: https://www.drupal.org/project/drupal/issues/3130606 β†’

πŸ› Bug report
Status

Fixed

Version

2.0

Component

CAS

Created by

πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024