Problem/Motivation

 ------ ----------------------------------------------------------------------- 
  Line   tests/src/Unit/Plugin/freelinking/NodeTitleFailoverTest.php            
 ------ -----------------------------------------------------------------------              
  79     Property                                                               
         Drupal\Tests\freelinking\Unit\Plugin\freelinking\NodeTitleFailoverTes  
         t::$container (Drupal\Core\DependencyInjection\Container) does not     
         accept Drupal\Core\DependencyInjection\ContainerBuilder.               
 ------ ----------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   tests/src/Unit/Plugin/freelinking/UserTest.php                         
 ------ -----------------------------------------------------------------------                      
  66     Access to an undefined property                                        
         Drupal\Tests\freelinking\Unit\Plugin\freelinking\UserTest::$container  
         .                                                                      
  75     Property                                                               
         Drupal\Tests\freelinking\Unit\Plugin\freelinking\UserTest::$plugin     
         (Drupal\freelinking\Plugin\freelinking\Node) does not accept           
         Drupal\freelinking\Plugin\freelinking\User.                            
 ------ ----------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------- 
  Line   tests/src/Unit/Plugin/freelinking/UserUnauthorizedTest.php             
 ------ -----------------------------------------------------------------------                 
  54     Access to an undefined property                                        
         Drupal\Tests\freelinking\Unit\Plugin\freelinking\UserUnauthorizedTest  
         ::$container.                                                          
  63     Property                                                               
         Drupal\Tests\freelinking\Unit\Plugin\freelinking\UserUnauthorizedTest  
         ::$plugin (Drupal\freelinking\Plugin\freelinking\Node) does not        
         accept Drupal\freelinking\Plugin\freelinking\User.                     
 ------ ----------------------------------------------------------------------- 

Proposed resolution

Use new things deprecated from 9.1.0 or greater.
Fixes prophecy usage.
Fixes tags.

Fix in 4.0.x branch. Can use merge request.

API changes

Removes deprecations in 9.1.0 or greater.

Comments

mradcliffe created an issue. See original summary.

mradcliffe’s picture

Version: 8.x-3.x-dev » 4.0.x-dev

Updating version now that drupal.org is updated.

mradcliffe’s picture

Issue summary: View changes

Removed false positive issues about advanced_help_hint.

mradcliffe’s picture

Issue tags: +NorthAmerica2021

Added event tag.

  • mradcliffe committed 041dcb2 on 4.0.x
    Issue #3209151 by mradcliffe: Fixes some deprecations in Drupal
    
mradcliffe’s picture

Issue summary: View changes

Removed the garbage php-stand / drupal-check prophecy errors as those don't matter.

Fixed a bunch of stuff after running tests.

mradcliffe’s picture

Issue summary: View changes

Removing fixed deprecations.

  • mradcliffe committed cc0d833 on 4.0.x
    Issue #3209151 by mradcliffe: Fixes some more missed deprecations
    

  • mradcliffe committed a84097f on 4.0.x
    Issue #3209151 by mradcliffe: Requires PHP 7.4 or greater for 4.0.x
    

  • mradcliffe committed 50994b4 on 4.0.x
    Issue #3209151 by mradcliffe: Fixes some code standard issues from...

  • mradcliffe committed bc781f7 on 4.0.x
    Revert "Issue #3209151 by mradcliffe: Requires PHP 7.4 or greater for 4....
mradcliffe’s picture

Status: Active » Fixed

Should be good for now until other deprecations are introduced in 9.2 and 9.3.

Status: Fixed » Closed (fixed)

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