Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
drupal-check results on commit hash:
source : [git] https://git.drupal.org/project/twitter_block d65f11c927883504d01728eb4fcdb3974e4e85cb
source : http://cgit.drupalcode.org/twitter_block
Pareview checklist
https://pareview.sh/pareview/https-git.drupal.org-project-twitter_block-...
Drupal check report
./vendor/bin/drupal-check modules/contrib/twitter_block/
3/3 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------------------------------
Line src/Tests/TwitterBlockTest.php
------ ----------------------------------------------------------------------------
12 Class Drupal\twitter_block\Tests\TwitterBlockTest extends deprecated class
Drupal\simpletest\WebTestBase.
25 Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase.
------ ----------------------------------------------------------------------------
[ERROR] Found 2 errors
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#9 | interdiff_3-8.txt | 1.45 KB | Lilit_Ghazaryan |
#8 | 3042776-8.patch | 3.46 KB | sidharthap |
#3 | 3042776-Drupal9_Deprecated_code_report.patch | 2.36 KB | nikolas.tatianenko |
Comments
Comment #2
vuilAdd the Pareview checklist link, and fix the issues into it's children issues.
Thank you.
Comment #3
nikolas.tatianenko CreditAttribution: nikolas.tatianenko at EPAM Systems commentedHi All,
Please review.
Comment #4
nikolas.tatianenko CreditAttribution: nikolas.tatianenko at EPAM Systems commentedComment #5
margaritka.kurkul CreditAttribution: margaritka.kurkul at EPAM Systems commentedTested and verified on phpcs locally. There are no errors in files:
src/Plugin/Block/TwitterBlock.php
src/Tests/TwitterBlockTest.php
Comment #6
John Cook CreditAttribution: John Cook at Creode commentedThe drupal-check tool shows that there are some outstand deprecated code errors.
These will need to be fixed as well. (I've added the report to the summary as well).
Setting back to 'needs work' to fix the deprecated code.
Comment #7
vuilComment #8
sidharthapPatch to address #6 comments.
Comment #9
Lilit_Ghazaryan CreditAttribution: Lilit_Ghazaryan at EPAM Systems commentedReviewed and tested #8 patch and created interdiff file for #3 - #8 patches
vendor/bin/rector process web/modules/contrib/twitter_block/ --dry-run
Rector 0.8.x-dev@8896f0a
Config file: rector.yml
9/9 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] Rector is done!
Comment #10
Lilit_Ghazaryan CreditAttribution: Lilit_Ghazaryan at EPAM Systems commentedComment #11
nikolas.tatianenko CreditAttribution: nikolas.tatianenko at EPAM Systems commentedLilit_Ghazaryan, margaritka.kurkul and me were contributed during Epam Contribution event
Comment #12
naveenvalechaCommitted and pushed to 8.x-3.x