Closed (fixed)
Project:
Examples for Developers
Version:
3.x-dev
Component:
Other
Priority:
Normal
Category:
Plan
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Aug 2019 at 11:06 UTC
Updated:
22 Jun 2020 at 13:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sershevchykdrupal-check modules/contrib/examples
222/222 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ---------------------------------------------------------------------
Line cache_example/src/Form/CacheExampleForm.php
------ ---------------------------------------------------------------------
117 Call to deprecated function file_scan_directory():
in drupal:8.8.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystemInterface::scanDirectory() instead.
------ ---------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line phpunit_example/tests/src/Unit/AddClassTest.php
------ --------------------------------------------------------------------------------------
114 Call to deprecated method setExpectedException() of class Drupal\Tests\UnitTestCase:
in drupal:8.8.0 and is removed from drupal:9.0.0.
Backward compatibility for PHPUnit 4 will no longer be supported.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line phpunit_example/tests/src/Unit/ProtectedPrivatesTest.php
------ --------------------------------------------------------------------------------------
113 Call to deprecated method setExpectedException() of class Drupal\Tests\UnitTestCase:
in drupal:8.8.0 and is removed from drupal:9.0.0.
Backward compatibility for PHPUnit 4 will no longer be supported.
143 Call to deprecated method setExpectedException() of class Drupal\Tests\UnitTestCase:
in drupal:8.8.0 and is removed from drupal:9.0.0.
Backward compatibility for PHPUnit 4 will no longer be supported.
------ --------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php
------ -------------------------------------------------------------------------------
49 Call to deprecated method validScheme() of class Drupal\Core\File\FileSystem:
in drupal:8.0.0 and will be removed before Drupal 9.0.0. Use
Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidScheme()
instead.
------ -------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------
Line testing_example/src/Tests/NaiveConversionTest.php
------ ----------------------------------------------------------------------------------------------------------------
17 Class Drupal\testing_example\Tests\NaiveConversionTest extends deprecated class Drupal\simpletest\WebTestBase:
in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
------ ----------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------
Line testing_example/src/Tests/SimpleTestExampleMockModuleTest.php
------ ----------------------------------------------------------------------------------------------------------------------------
32 Class Drupal\testing_example\Tests\SimpleTestExampleMockModuleTest extends deprecated class Drupal\simpletest\WebTestBase:
in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
------ ----------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------
Line testing_example/src/Tests/SimpleTestExampleTest.php
------ ------------------------------------------------------------------------------------------------------------------
31 Class Drupal\testing_example\Tests\SimpleTestExampleTest extends deprecated class Drupal\simpletest\WebTestBase:
in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
------ ------------------------------------------------------------------------------------------------------------------
[ERROR] Found 8 errors
Comment #3
valthebaldDown to 7:
Comment #4
alt.dev commentedI ran the code analysis with the drupal-check version 1.0.14. Its return 18 errors.
I'm going to work on these failures on the DrupalCon Amsterdam 2019
Comment #6
mradcliffeAlso remember to add
core_version_requirement: ^8 || ^9to all info.yml files.Comment #7
kristen polPer a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.
Comment #8
karthik.arumugam commentedI have removed the deprecated functions and updated the respective replacement functions. Please review.
Comment #9
andypost@karthik.arumugam please use child issues this meta supposed to coordinate other issues
interface cat't have method implmentations
Comment #10
kristen polMarked "Active" but looks like it should be "Needs work" based on last comment.
Comment #11
kristen polNever mind, I misunderstood. Sorry for the noise.
Comment #12
jungleComment #13
jungleUpdating IS
Comment #14
jungleTwo issues left
Comment #15
jungleCrediting everyone, and I think this was fixed. Thanks!
Comment #16
jungle