Problem/Motivation

drupal-check on version:
6e579d92cd7c8774ff82939831c35d7709c77a97

 ------ --------------------------------------------------------------------------------------------------------------------------------------
  Line   modules/paragraphs_library/src/Tests/ParagraphsLibraryItemTest.php
 ------ --------------------------------------------------------------------------------------------------------------------------------------
  16     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs_library\Tests\ParagraphsLibraryItemTest.
 ------ --------------------------------------------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------
  Line   modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryItemTest.php
 ------ -------------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------

 ------ ------------------------------------------------------------------------------------------
  Line   modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryItemTranslationTest.php
 ------ ------------------------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ ------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------
  Line   modules/paragraphs_library/tests/src/FunctionalJavascript/ParagraphsContentModerationTest.php
 ------ -------------------------------------------------------------------------------------------------
         Class Drupal\FunctionalJavascriptTests\WebDriverTestBase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------------------------------
  Line   modules/paragraphs_library/tests/src/FunctionalJavascript/ParagraphsLibraryItemEntityBrowserTest.php
 ------ -------------------------------------------------------------------------------------------------------------------------------
         Class Drupal\Tests\entity_browser\FunctionalJavascript\EntityBrowserJavascriptTestBase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------------------------------------------------
  Line   modules/paragraphs_type_permissions/src/ParagraphsTypePermissions.php
 ------ ----------------------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\Core\Routing\UrlGeneratorTrait in class Drupal\paragraphs_type_permissions\ParagraphsTypePermissions.
 ------ ----------------------------------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------
  Line   modules/paragraphs_type_permissions/src/Tests/ParagraphsTypePermissionsTest.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------
  19     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs_type_permissions\Tests\ParagraphsTypePermissionsTest.
  89     Call to deprecated function entity_get_display().
  97     Call to deprecated function entity_get_display().
  130    Call to deprecated function entity_get_form_display().
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------
  Line   paragraphs.module
 ------ -------------------------------------------------
  430    Call to deprecated function libraries_detect().
 ------ -------------------------------------------------

 ------ --------------------------------------------------------
  Line   src/Entity/Paragraph.php
 ------ --------------------------------------------------------
  440    Call to deprecated function entity_get_form_display().
 ------ --------------------------------------------------------

 ------ -----------------------------------------------------------------------------
  Line   src/Feeds/Target/Paragraphs.php
 ------ -----------------------------------------------------------------------------
         Class Drupal\feeds\Feeds\Target\Text not found and could not be autoloaded.
 ------ -----------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/ParagraphsBehaviorInterface.php
 ------ -------------------------------------------------------------------------------------------------------------------------------------------
  19     Interface Drupal\paragraphs\ParagraphsBehaviorInterface extends deprecated interface Drupal\Component\Plugin\ConfigurablePluginInterface.
 ------ -------------------------------------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------
  Line   src/Plugin/Field/FieldWidget/InlineParagraphsWidget.php
 ------ ---------------------------------------------------------
  690    Call to deprecated function entity_view().
 ------ ---------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Plugin/migrate/process/ProcessPluginBase.php
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------
  15     Class Drupal\paragraphs\Plugin\migrate\process\ProcessPluginBase implements deprecated interface Drupal\Component\Plugin\ConfigurablePluginInterface.
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Plugin/migrate/source/DrupalSqlBase.php
 ------ --------------------------------------------------------------------------------------------------------------------------------------------------
  18     Class Drupal\paragraphs\Plugin\migrate\source\DrupalSqlBase implements deprecated interface Drupal\Component\Plugin\ConfigurablePluginInterface.
 ------ --------------------------------------------------------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Plugin/migrate/source/d7/FieldableEntity.php
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------
  18     Class Drupal\paragraphs\Plugin\migrate\source\d7\FieldableEntity implements deprecated interface Drupal\Component\Plugin\ConfigurablePluginInterface.
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsAccessTest.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------
  18     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsAccessTest.
  75     Call to deprecated function entity_get_display().
  122    Call to deprecated function file_unmanaged_copy().
  127    Call to deprecated function file_unmanaged_copy().
 ------ ---------------------------------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsAddModesTest.php
 ------ -----------------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsAddModesTest.
 ------ -----------------------------------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsAdministrationTest.php
 ------ -----------------------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsAdministrationTest.
 ------ -----------------------------------------------------------------------------------------------------------------------------------------

 ------ ------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsEditModesTest.php
 ------ ------------------------------------------------------------------------------------------------------------------------------------
  14     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsEditModesTest.
 ------ ------------------------------------------------------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsPreviewTest.php
 ------ ----------------------------------------------------------------------------------------------------------------------------------
  14     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsPreviewTest.
 ------ ----------------------------------------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsSummaryFormatterTest.php
 ------ -------------------------------------------------------------------------------------------------------------------------------------------
  14     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsSummaryFormatterTest.
 ------ -------------------------------------------------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsTestBase.php
 ------ -------------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsTestBase.
 ------ -------------------------------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsUiTest.php
 ------ -----------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsUiTest.
 ------ -----------------------------------------------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Classic/ParagraphsWidgetButtonsTest.php
 ------ ----------------------------------------------------------------------------------------------------------------------------------------
  14     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Classic\ParagraphsWidgetButtonsTest.
 ------ ----------------------------------------------------------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalAccessTest.php
 ------ --------------------------------------------------------------------------------------------------------------------------------------------------
  20     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalAccessTest.
  77     Call to deprecated function entity_get_display().
  123    Call to deprecated function file_unmanaged_copy().
  128    Call to deprecated function file_unmanaged_copy().
 ------ --------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalAddModesTest.php
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalAddModesTest.
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalAdministrationTest.php
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------
  16     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalAdministrationTest.
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalBehaviorsTest.php
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------
  14     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalBehaviorsTest.
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalEditModesTest.php
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalEditModesTest.
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalPreviewTest.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------
  14     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalPreviewTest.
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ------------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalSummaryFormatterTest.php
 ------ ------------------------------------------------------------------------------------------------------------------------------------------------------------
  14     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalSummaryFormatterTest.
 ------ ------------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalTestBase.php
 ------ ------------------------------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalTestBase.
 ------ ------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalUiTest.php
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------
  15     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalUiTest.
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/Tests/Experimental/ParagraphsExperimentalWidgetButtonsTest.php
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------
  19     Usage of deprecated trait Drupal\field_ui\Tests\FieldUiTestTrait in class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalWidgetButtonsTest.
  261    Call to deprecated function entity_get_form_display().
  265    Call to deprecated function entity_get_display().
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------
  Line   tests/src/Functional/ParagraphsClassicContentModerationTranslationsTest.php
 ------ -----------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ -----------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------
  Line   tests/src/Functional/ParagraphsExperimentalBehaviorsTest.php
 ------ ---------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------
  Line   tests/src/Functional/ParagraphsExperimentalContentModerationTranslationsTest.php
 ------ ----------------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ ----------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------
  Line   tests/src/Functional/ParagraphsExperimentalDragAndDropModeTest.php
 ------ ---------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------
  Line   tests/src/Functional/ParagraphsExperimentalTranslationsTest.php
 ------ ---------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------
  Line   tests/src/Functional/ParagraphsExperimentalUiTest.php
 ------ ---------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------
  Line   tests/src/Functional/ParagraphsExperimentalWidgetButtonsTest.php
 ------ ---------------------------------------------------------------------------
         Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------
  Line   tests/src/FunctionalJavascript/ParagraphsExperimentalAddWidgetTest.php
 ------ -------------------------------------------------------------------------------------------------
         Class Drupal\FunctionalJavascriptTests\WebDriverTestBase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------
  Line   tests/src/FunctionalJavascript/ParagraphsExperimentalClientsideButtonsTest.php
 ------ -------------------------------------------------------------------------------------------------
         Class Drupal\FunctionalJavascriptTests\WebDriverTestBase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------
  Line   tests/src/FunctionalJavascript/ParagraphsExperimentalEditPerspectivesUiTest.php
 ------ -------------------------------------------------------------------------------------------------
         Class Drupal\FunctionalJavascriptTests\WebDriverTestBase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------
  Line   tests/src/FunctionalJavascript/ParagraphsExperimentalWidgetElementsTest.php
 ------ -------------------------------------------------------------------------------------------------
         Class Drupal\FunctionalJavascriptTests\WebDriverTestBase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------

 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   tests/src/FunctionalJavascript/ParagraphsTestBaseTrait.php (in context of class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalAdministrationTest)
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  90     Call to deprecated function entity_get_form_display().
  94     Call to deprecated function entity_get_display().
  129    Call to deprecated function file_unmanaged_copy().
  176    Call to deprecated function entity_get_form_display().
  180    Call to deprecated function entity_get_display().
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   tests/src/FunctionalJavascript/ParagraphsTestBaseTrait.php (in context of class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalInlineEntityFormTest)
 ------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
  90     Call to deprecated function entity_get_form_display().
  94     Call to deprecated function entity_get_display().
  129    Call to deprecated function file_unmanaged_copy().
  176    Call to deprecated function entity_get_form_display().
  180    Call to deprecated function entity_get_display().
 ------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   tests/src/FunctionalJavascript/ParagraphsTestBaseTrait.php (in context of class Drupal\paragraphs\Tests\Experimental\ParagraphsExperimentalWidgetButtonsTest)
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------
  90     Call to deprecated function entity_get_form_display().
  94     Call to deprecated function entity_get_display().
  129    Call to deprecated function file_unmanaged_copy().
  176    Call to deprecated function entity_get_form_display().
  180    Call to deprecated function entity_get_display().
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------
  Line   tests/src/Kernel/ParagraphsAccessTest.php
 ------ --------------------------------------------------------------------------------
         Class Drupal\KernelTests\KernelTestBase not found and could not be autoloaded.
 ------ --------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------
  Line   tests/src/Kernel/ParagraphsBehaviorPluginsTest.php
 ------ --------------------------------------------------------------------------------
         Class Drupal\KernelTests\KernelTestBase not found and could not be autoloaded.
 ------ --------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------
  Line   tests/src/Kernel/ParagraphsCollapsedSummaryTest.php
 ------ --------------------------------------------------------------------------------
         Class Drupal\KernelTests\KernelTestBase not found and could not be autoloaded.
 ------ --------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------
  Line   tests/src/Kernel/ParagraphsCompositeRelationshipTest.php
 ------ --------------------------------------------------------------------------------
         Class Drupal\KernelTests\KernelTestBase not found and could not be autoloaded.
 ------ --------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------
  Line   tests/src/Kernel/ParagraphsIsChangedTest.php
 ------ --------------------------------------------------------------------------------
         Class Drupal\KernelTests\KernelTestBase not found and could not be autoloaded.
 ------ --------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------
  Line   tests/src/Kernel/ParagraphsReplicateTest.php
 ------ --------------------------------------------------------------------------------
         Class Drupal\KernelTests\KernelTestBase not found and could not be autoloaded.
 ------ --------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------
  Line   tests/src/Kernel/ParagraphsTypeHasEnabledBehaviorPluginTest.php
 ------ --------------------------------------------------------------------------------
         Class Drupal\KernelTests\KernelTestBase not found and could not be autoloaded.
 ------ --------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/FieldCollectionItemRevisionSourceTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/FieldCollectionItemSourceTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/FieldCollectionTypeSourceTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/ParagraphsFieldMigrationTest.php
 ------ -----------------------------------------------------------------------------------------------------------------
         Class Drupal\Tests\paragraphs\Kernel\migrate\ParagraphsMigrationTestBase not found and could not be autoloaded.
 ------ -----------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/ParagraphsItemRevisionSourceTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/ParagraphsItemSourceTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/ParagraphsMigrationTestBase.php
 ------ -------------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/ParagraphsTypeMigrationTest.php
 ------ -----------------------------------------------------------------------------------------------------------------
         Class Drupal\Tests\paragraphs\Kernel\migrate\ParagraphsMigrationTestBase not found and could not be autoloaded.
 ------ -----------------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Kernel/migrate/ParagraphsTypeSourceTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------
  Line   tests/src/Unit/migrate/FieldCollectionFieldSettingsTest.php
 ------ -------------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Unit\process\MigrateProcessTestCase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Unit/migrate/FieldCollectionsFieldInstanceSettingsTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\paragraphs\Unit\migrate\ProcessTestCase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Unit/migrate/ParagraphsFieldInstanceSettingsTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\paragraphs\Unit\migrate\ProcessTestCase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------
  Line   tests/src/Unit/migrate/ParagraphsFieldSettingsTest.php
 ------ -------------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Unit\process\MigrateProcessTestCase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------------

 ------ ---------------------------------------------------------------------------------------------------
  Line   tests/src/Unit/migrate/ParagraphsProcessOnValueTest.php
 ------ ---------------------------------------------------------------------------------------------------
         Class Drupal\Tests\paragraphs\Unit\migrate\ProcessTestCase not found and could not be autoloaded.
 ------ ---------------------------------------------------------------------------------------------------

 ------ -------------------------------------------------------------------------------------------------------
  Line   tests/src/Unit/migrate/ProcessTestCase.php
 ------ -------------------------------------------------------------------------------------------------------
         Class Drupal\Tests\migrate\Unit\process\MigrateProcessTestCase not found and could not be autoloaded.
 ------ -------------------------------------------------------------------------------------------------------


 [ERROR] Found 93 errors

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

josephdpurcell created an issue. See original summary.

Sergiu Stici’s picture

I created the patch, please review.

Status: Needs review » Needs work

The last submitted patch, 2: drupal_9_deprecated_code_report-3042592-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Sergiu Stici’s picture

Status: Needs work » Needs review
FileSize
65.38 KB

Correct the codesniffer and any mistakes.

Status: Needs review » Needs work

The last submitted patch, 4: drupal_9_deprecated_code_report-3042592-4.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

joelpittet’s picture

Issue tags: +Novice, +Seattle2019

Tagging for DrupalCon Seattle Friday contribution sprint.

See https://github.com/mglaman/drupal-check/wiki/Drupal-9-Readiness

tatarbj’s picture

Issue tags: +DrupalCampBelarus2019
Alex Bukach’s picture

Assigned: Unassigned » Alex Bukach
Alex Bukach’s picture

Issue summary: View changes
Alex Bukach’s picture

Assigned: Alex Bukach » Unassigned
Status: Needs work » Needs review
Issue tags: -Seattle2019
FileSize
37.15 KB

Fixed drupal-check issues for current dev except for an optional one caused by optional support of Libraries API.

Status: Needs review » Needs work

The last submitted patch, 10: paragraphs-d9-compatibility-3042592-10.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Alex Bukach’s picture

Assigned: Unassigned » Alex Bukach
Berdir’s picture

> Error: Call to a member function setComponent() on null

Ignore entity_get_display()/entity_get_form_display(). 8.7 has a proper replacement but we don't depend on that yet. See https://www.drupal.org/node/2835616.

Alex Bukach’s picture

Thanks @Berdir!

Berdir’s picture

Related/child issues:

* #3073631: [D8.8] Replace deprecated entity_get_form_display and entity_get_display
* #3099355: Requirement of core version should be higher in composer.json
* #3083331: Removing deprecated method entityManager.
* #3095644: Add defaultTheme in tests extending BrowserTestBase.

  1. +++ b/modules/paragraphs_library/paragraphs_library.install
    @@ -110,7 +110,7 @@ function paragraphs_library_update_8001() {
     
    -  \Drupal::entityManager()->clearCachedDefinitions();
    +  \Drupal::entityTypeManager()->clearCachedDefinitions();
       foreach ($library_values as $library_value) {
    

    There is a separate issue for that, so remove all entity manager changes.

  2. +++ b/src/Tests/Classic/ParagraphsAccessTest.php
    @@ -72,7 +72,9 @@ class ParagraphsAccessTest extends ParagraphsTestBase {
     
    -    $view_display = entity_get_display('paragraph', 'images', 'default')
    +    $view_display = \Drupal::entityTypeManager()
    +      ->getStorage('entity_view_display')
    +      ->load('paragraph.images.default')
           ->setComponent('field_images_demo', ['settings' => ['image_style' => 'medium']]);
         $view_display->save();
       }
    

    As we have a separate issue for that, lets remove all entity_get_form/view_display() changes.

Berdir’s picture

Also, I did run all tests locally to see the deprecation messages, this is what I got:

>1392x: Calling DefaultSelection::__construct() with the $entity_repository argument is supported in drupal:8.7.0 and will be required before drupal:9.0.0. See https://www.drupal.org/node/2549139.

This is \Drupal\paragraphs\Plugin\EntityReferenceSelection\ParagraphSelection, we can remove the constructor and property because the parent now defines it.

1370x: Drupal\Component\Plugin\ConfigurablePluginInterface is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. You should implement ConfigurableInterface and/or DependentPluginInterface directly as needed. If you implement ConfigurableInterface you may choose to implement ConfigurablePluginInterface in Drupal 8 as well for maximum compatibility, however this must be removed prior to Drupal 9. See https://www.drupal.org/node/2946161

This is likely covered with the patch here, but we'll need to make sure that we've updated all classes. Some are likely also from our dependencies.

 594x: entity_get_form_display() is deprecated in drupal:8.8.0. It will be removed before drupal:9.0.0. Use \Drupal::service('entity_display.repository')->getFormDisplay() instead. See https://www.drupal.org/node/2835616
203x: entity_get_form_display() is deprecated in drupal:8.8.0. It will be removed before drupal:9.0.0. Use \Drupal::service('entity_display.repository')->getFormDisplay() instead. See https://www.drupal.org/node/2835616
186x: entity_get_display() is deprecated in drupal:8.8.0. It will be removed before drupal:9.0.0. Use \Drupal::service('entity_display.repository')->getViewDisplay() instead. See https://www.drupal.org/node/2835616

That's the related issue mentioned above.

571x: EntityManagerInterface::hasDefinition() is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManager::hasDefinition() instead. See https://www.drupal.org/node/2549139
351x: EntityManagerInterface::getStorage() is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManager::getStorage() instead. See https://www.drupal.org/node/2549139
341x: EntityManagerInterface::getDefinition() is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManager::getDefinition() instead. See https://www.drupal.org/node/2549139
338x: The property entityManager (entity.manager service) is deprecated in Drupal\paragraphs\Plugin\EntityReferenceSelection\ParagraphSelection and will be removed before Drupal 9.0.0.
79x: Passing the entity.manager service to ContentEntityForm::__construct() is deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Pass the entity.repository service instead. See https://www.drupal.org/node/2549139.
79x: EntityForm::entityManager is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use EntityForm::entityTypeManager instead. See https://www.drupal.org/node/2549139
53x: EntityManagerInterface::getTranslationFromContext() is deprecated in 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\EntityRepository::getTranslationFromContext() instead. See https://www.drupal.org/node/2549139.
19x: \Drupal::entityManager() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal::entityTypeManager() instead in most cases. If the needed method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the deprecated \Drupal\Core\Entity\EntityManager to find the correct interface or service. See https://www.drupal.org/node/2549139
1x: The "entity.manager" service is deprecated. You should use the 'entity_type.manager' service instead

That's the entity.manager issue also again some might be from other modules.

   43x: EntityType::getLowercaseLabel() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Instead, you should call getSingularLabel(). See https://www.drupal.org/node/3075567

THis is likely in entity_reference_revisions_field_views_data() and not paragraphs.

21x: Any entity_reference_autocomplete component of an entity_form_display must have a match_limit setting. The field_reusable_paragraph field on the paragraph.from_library.default form display is missing it. This BC layer will be removed before 9.0.0. See https://www.drupal.org/node/2863188

This requires 8.8, so we could possibly deal with it in the entity_get_display issue.

19x: The "core/jquery.ui.tabs" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3067969

This is a tricky one. We could depend on https://www.drupal.org/project/jquery_ui_tabs for that, but maybe there's a better option? Probably better to open a separate issue.

(some skipped as they are addressed here or are from other modules)

  2x: Support for asserting against non-boolean values in ::assertTrue is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use a different assert method, for example, ::assertNotEmpty(). See https://www.drupal.org/node/3082086
    1x in ParagraphsTypesTest::testParagraphTypeDefaultIcon from Drupal\Tests\paragraphs\Functional\Classic
    1x in ParagraphsExperimentalBehaviorsTest::testBehaviorPluginsSettingsFiltering from Drupal\Tests\paragraphs\Functional

  1x: Support for asserting against non-boolean values in ::assertFalse is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use a different assert method, for example, ::assertEmpty(). See https://www.drupal.org/node/3082086
    1x in ParagraphsExperimentalBehaviorsTest::testBehaviorPluginsSettingsFiltering from Drupal\Tests\paragraphs\Functional

This needs to be fixed here.

 1x: \Drupal\Core\Extension\ThemeHandlerInterface::install() is deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Extension\ThemeInstallerInterface::install() instead. See https://www.drupal.org/node/3017233
    1x in ParagraphsLibraryTest::testLibraryItems from Drupal\Tests\paragraphs_library\Functional

This too if it's not already.

chr.fritsch’s picture

Status: Needs work » Needs review
FileSize
15.5 KB

So, this is a fresh start, after all the other issues were committed.

Berdir’s picture

  1. +++ b/tests/src/FunctionalJavascript/ParagraphsTestBaseTrait.php
    @@ -126,7 +126,10 @@ trait ParagraphsTestBaseTrait {
    -    $copy_uri = file_unmanaged_copy($uri);
    +    /** @var \Drupal\Core\File\FileSystemInterface $file_system */
    +    $file_system = \Drupal::service('file_system');
    +    $destination = file_build_uri($file_system->basename($uri));
    +    $copy_uri = $file_system->copy($uri, $destination);
     
    

    that we didn't deprecate file_build_uri() was kind of an oversight, I expect it will go sooner or later. We don't really need this to be dynamic, lets just hardcode public://

  2. +++ b/tests/src/Kernel/ParagraphsIsChangedTest.php
    @@ -64,7 +64,6 @@ class ParagraphsIsChangedTest extends KernelTestBase {
         // Update the revision author field, which should be skipped from checking
         // for changes in Paragraph::isChanged().
    -    $paragraph->setRevisionAuthorId(3);
         $this->assertFalse($paragraph->isChanged(), 'Paragraph::isChanged() found no changes after updating revision_uid field.');
     
    

    this assert/comment doesn't really make sense then anymore.

chr.fritsch’s picture

Fixing the tests and the comments from @Berdir

Berdir’s picture

Status: Needs review » Needs work
+++ b/src/ParagraphsBehaviorBase.php
@@ -86,13 +86,6 @@ abstract class ParagraphsBehaviorBase extends PluginBase implements ParagraphsBe
 
-  /**
-   * {@inheritdoc}
-   */
-  public function calculateDependencies() {
-    return [];
-  }

Lets implement DependentPluginInterface too. I'm not sure if actually handle this correctly yet, but these are plugins with configuration that are stored on config entities, so they can have dependencies and should expose them.

andreyjan’s picture

Added DependentPluginInterface interface.

Berdir’s picture

Status: Needs review » Reviewed & tested by the community
Berdir’s picture

Title: Drupal 9 Deprecated Code Report » Remove Drupal 8.7 and earlier deprecations
Status: Reviewed & tested by the community » Fixed

  • Berdir committed d824c87 on 8.x-1.x
    Issue #3042592 by chr.fritsch, Sergiu Stici, andreyjan, Alex Bukach,...
Berdir’s picture

Status: Fixed » Closed (fixed)

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