Problem/Motivation

As of commit: 2bedf2b322b0885cfc4bd59254744d37f79ceed7

 ------ --------------------------------------------------------------- 
  Line   modules/video_embed_media/tests/src/Functional/BundleTest.php  
 ------ --------------------------------------------------------------- 
  52     Call to deprecated function entity_get_form_display().         
 ------ --------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------ 
  Line   modules/video_embed_wysiwyg/tests/src/FunctionalJavascript/EmbedDialogTest.php                        
 ------ ------------------------------------------------------------------------------------------------------ 
  13     Class Drupal\Tests\video_embed_wysiwyg\FunctionalJavascript\EmbedDialogTest extends deprecated class  
         Drupal\FunctionalJavascriptTests\JavascriptTestBase.                                                  
  15     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class                         
         Drupal\Tests\video_embed_wysiwyg\FunctionalJavascript\EmbedDialogTest.                                
  43     Call to method setUp() of deprecated class Drupal\Tests\BrowserTestBase.                              
 ------ ------------------------------------------------------------------------------------------------------ 

 ------ ---------------------------------------------------------------------------------------------- 
  Line   src/Plugin/migrate/cckfield/EmvideoField.php                                                  
 ------ ---------------------------------------------------------------------------------------------- 
  19     Class Drupal\video_embed_field\Plugin\migrate\cckfield\EmvideoField extends deprecated class  
         Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase.                             
 ------ ---------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------- 
  Line   src/Plugin/migrate/cckfield/VideoEmbedField.php                                                  
 ------ ------------------------------------------------------------------------------------------------- 
  19     Class Drupal\video_embed_field\Plugin\migrate\cckfield\VideoEmbedField extends deprecated class  
         Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase.                                
 ------ ------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Functional/AdminUserTrait.php (in context of class Drupal\Tests\video_embed_field\Functional\FieldConfigurationTest)  
 ------ -------------------------------------------------------------------------------------------------------------------------------- 
  12     Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class                                                          
         Drupal\Tests\video_embed_field\Functional\FieldConfigurationTest.                                                               
 ------ -------------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------------ 
  Line   tests/src/Functional/AdminUserTrait.php (in context of class Drupal\Tests\video_embed_field\Functional\FormatterConfigurationTest)  
 ------ ------------------------------------------------------------------------------------------------------------------------------------ 
  12     Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class                                                              
         Drupal\Tests\video_embed_field\Functional\FormatterConfigurationTest.                                                               
 ------ ------------------------------------------------------------------------------------------------------------------------------------ 

 ------ -------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Functional/AdminUserTrait.php (in context of class Drupal\Tests\video_embed_field\Functional\InstallationTest)  
 ------ -------------------------------------------------------------------------------------------------------------------------- 
  12     Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class                                                    
         Drupal\Tests\video_embed_field\Functional\InstallationTest.                                                               
 ------ -------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------ 
  Line   tests/src/Functional/AdminUserTrait.php (in context of class Drupal\Tests\video_embed_field\Functional\WidgetTest)            
 ------ ------------------------------------------------------------------------------------------------------------------------------ 
  12     Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class Drupal\Tests\video_embed_field\Functional\WidgetTest.  
 ------ ------------------------------------------------------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------------------------------------------------------------ 
  Line   tests/src/Functional/AdminUserTrait.php (in context of class Drupal\Tests\video_embed_media\Functional\BundleTest)            
 ------ ------------------------------------------------------------------------------------------------------------------------------ 
  12     Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class Drupal\Tests\video_embed_media\Functional\BundleTest.  
 ------ ------------------------------------------------------------------------------------------------------------------------------ 

 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Functional/AdminUserTrait.php (in context of class Drupal\Tests\video_embed_wysiwyg\Functional\TextFormatConfigurationTest)  
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
  12     Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class                                                                 
         Drupal\Tests\video_embed_wysiwyg\Functional\TextFormatConfigurationTest.                                                               
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Functional/EntityDisplaySetupTrait.php (in context of class Drupal\Tests\video_embed_field\FunctionalJavascript\ColorboxFormatterTest)  
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 
  14     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class                                                                     
         Drupal\Tests\video_embed_field\FunctionalJavascript\ColorboxFormatterTest.                                                                        
  15     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class                                                                            
         Drupal\Tests\video_embed_field\FunctionalJavascript\ColorboxFormatterTest.                                                                        
  66     Call to deprecated function entity_get_display().                                                                                                 
  67     Call to deprecated function entity_get_form_display().                                                                                            
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Functional/EntityDisplaySetupTrait.php (in context of class Drupal\Tests\video_embed_field\FunctionalJavascript\LazyLoadFormatterTest)  
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 
  14     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class                                                                     
         Drupal\Tests\video_embed_field\FunctionalJavascript\LazyLoadFormatterTest.                                                                        
  15     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class                                                                            
         Drupal\Tests\video_embed_field\FunctionalJavascript\LazyLoadFormatterTest.                                                                        
  66     Call to deprecated function entity_get_display().                                                                                                 
  67     Call to deprecated function entity_get_form_display().                                                                                            
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Functional/EntityDisplaySetupTrait.php (in context of class Drupal\Tests\video_embed_field\Functional\AutoplayPermissionTest)  
 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 
  14     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class                                                            
         Drupal\Tests\video_embed_field\Functional\AutoplayPermissionTest.                                                                        
  15     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class                                                                   
         Drupal\Tests\video_embed_field\Functional\AutoplayPermissionTest.                                                                        
  66     Call to deprecated function entity_get_display().                                                                                        
  67     Call to deprecated function entity_get_form_display().                                                                                   
 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Functional/EntityDisplaySetupTrait.php (in context of class Drupal\Tests\video_embed_field\Functional\FieldConfigurationTest)  
 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 
  14     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class                                                            
         Drupal\Tests\video_embed_field\Functional\FieldConfigurationTest.                                                                        
  15     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class                                                                   
         Drupal\Tests\video_embed_field\Functional\FieldConfigurationTest.                                                                        
  66     Call to deprecated function entity_get_display().                                                                                        
  67     Call to deprecated function entity_get_form_display().                                                                                   
 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   tests/src/Functional/EntityDisplaySetupTrait.php (in context of class Drupal\Tests\video_embed_field\Functional\FormatterConfigurationTest)  
 ------ --------------------------------------------------------------------------------------------------------------------------------------------- 
  14     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class                                                                
         Drupal\Tests\video_embed_field\Functional\FormatterConfigurationTest.                                                                        
  15     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class                                                                       
         Drupal\Tests\video_embed_field\Functional\FormatterConfigurationTest.                                                                        
  66     Call to deprecated function entity_get_display().                                                                                            
  67     Call to deprecated function entity_get_form_display().                                                                                       
 ------ --------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------ 
  Line   tests/src/Functional/EntityDisplaySetupTrait.php (in context of class Drupal\Tests\video_embed_field\Functional\WidgetTest)   
 ------ ------------------------------------------------------------------------------------------------------------------------------ 
  14     Usage of deprecated trait Drupal\simpletest\ContentTypeCreationTrait in class                                                 
         Drupal\Tests\video_embed_field\Functional\WidgetTest.                                                                         
  15     Usage of deprecated trait Drupal\simpletest\NodeCreationTrait in class Drupal\Tests\video_embed_field\Functional\WidgetTest.  
  66     Call to deprecated function entity_get_display().                                                                             
  67     Call to deprecated function entity_get_form_display().                                                                        
 ------ ------------------------------------------------------------------------------------------------------------------------------ 

 ------ ---------------------------------------------------------------------------------------------------------- 
  Line   tests/src/FunctionalJavascript/ColorboxFormatterTest.php                                                  
 ------ ---------------------------------------------------------------------------------------------------------- 
  13     Class Drupal\Tests\video_embed_field\FunctionalJavascript\ColorboxFormatterTest extends deprecated class  
         Drupal\FunctionalJavascriptTests\JavascriptTestBase.                                                      
  37     Call to method setUp() of deprecated class Drupal\Tests\BrowserTestBase.                                  
 ------ ---------------------------------------------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------------------------------- 
  Line   tests/src/FunctionalJavascript/LazyLoadFormatterTest.php                                                  
 ------ ---------------------------------------------------------------------------------------------------------- 
  13     Class Drupal\Tests\video_embed_field\FunctionalJavascript\LazyLoadFormatterTest extends deprecated class  
         Drupal\FunctionalJavascriptTests\JavascriptTestBase.                                                      
  30     Call to method setUp() of deprecated class Drupal\Tests\BrowserTestBase.                                  
 ------ ---------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------ 
  Line   tests/src/Kernel/ConstraintTest.php                                                                                           
 ------ ------------------------------------------------------------------------------------------------------------------------------ 
  16     Usage of deprecated trait Drupal\simpletest\UserCreationTrait in class Drupal\Tests\video_embed_field\Kernel\ConstraintTest.  
 ------ ------------------------------------------------------------------------------------------------------------------------------ 

                                                                                                                        
 [ERROR] Found 41 errors

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#6 3042569-6.patch9.81 KBsam152
#4 3042569-4-1.x.patch10.63 KBsam152
#3 3042569-3.patch12.72 KBsam152

Comments

ChaseOnTheWeb created an issue. See original summary.

anfor’s picture

sam152’s picture

Status: Active » Needs review
StatusFileSize
new12.72 KB
sam152’s picture

StatusFileSize
new10.63 KB

For the 1.x branch.

  • Sam152 committed 02e1823 on 8.x-2.x
    Issue #3042569 by Sam152: Drupal 9 Deprecated Code Report
    
sam152’s picture

Version: 8.x-2.x-dev » 8.x-1.x-dev
StatusFileSize
new9.81 KB
sam152’s picture

Status: Needs review » Fixed

  • Sam152 committed baa0a9f on 8.x-1.x
    Issue #3042569 by Sam152: Drupal 9 Deprecated Code Report
    

Status: Fixed » Closed (fixed)

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