Phpstan: Call to deprecated method getMockForTrait()

Created on 14 August 2024, about 1 month ago
Updated 28 August 2024, 19 days ago

getMockForTrait() is deprecated in PHPUnit 10 and removed from PHPUnit 12.
We only use this in one test:

 ------ ---------------------------------------------------------- 
  Line   tests/src/Unit/ContextHandlerTraitTest.php                
 ------ ---------------------------------------------------------- 
  33     Call to deprecated method getMockForTrait() of class      
         PHPUnit\Framework\TestCase:                               
         https://github.com/sebastianbergmann/phpunit/issues/5243  
πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Tests

Created by

πŸ‡ΊπŸ‡ΈUnited States TR Cascadia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024