Drupal 9 readiness

Created on 12 May 2021, over 3 years ago
Updated 1 March 2023, over 1 year ago

This project is not compatible with Drupal 9. These are the issues as per a scan using Upgrade Status.

2 errors found. 8 warnings found.

modules/contrib/fb_messenger_bot/src/Conversation/ConversationFactory.php:
┌─────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS  │ LINE │                           MESSAGE                            │
├─────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Fix now │ 28   │ Parameter $queryFactory of method                            │
│         │      │ Drupal\fb_messenger_bot\Conversation\ConversationFactory::__ │
│         │      │ construct() has typehint with deprecated class               │
│         │      │ Drupal\Core\Entity\Query\QueryFactory. Deprecated in         │
│         │      │ drupal:8.3.0 and is removed from drupal:9.0.0. Use           │
│         │      │ \Drupal\Core\Entity\EntityStorageInterface::getQuery() or    │
│         │      │ \Drupal\Core\Entity\EntityStorageInterface::getAggregateQuer │
│         │      │ y() instead.                                                 │
│         │      │                                                              │
└─────────┴──────┴──────────────────────────────────────────────────────────────┘

modules/contrib/fb_messenger_bot/tests/src/Kernel/FacebookServiceTranslateReques
tTest.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                         MESSAGE                          │
├──────────┼──────┼──────────────────────────────────────────────────────────┤
│ Check    │ 50   │ Call to deprecated method assertInternalType() of class  │
│ manually │      │ PHPUnit\Framework\Assert:                                │
│          │      │ https://github.com/sebastianbergmann/phpunit/issues/3369 │
│          │      │                                                          │
│ Check    │ 61   │ Call to deprecated method assertInternalType() of class  │
│ manually │      │ PHPUnit\Framework\Assert:                                │
│          │      │ https://github.com/sebastianbergmann/phpunit/issues/3369 │
│          │      │                                                          │
│ Check    │ 78   │ Call to deprecated method assertInternalType() of class  │
│ manually │      │ PHPUnit\Framework\Assert:                                │
│          │      │ https://github.com/sebastianbergmann/phpunit/issues/3369 │
│          │      │                                                          │
└──────────┴──────┴──────────────────────────────────────────────────────────┘

modules/contrib/fb_messenger_bot/tests/src/Unit/Message/ButtonMessageTest.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │ 43   │ Call to deprecated method assertInternalType() of class      │
│ manually │      │ PHPUnit\Framework\Assert:                                    │
│          │      │ https://github.com/sebastianbergmann/phpunit/issues/3369     │
│          │      │                                                              │
│ Fix now  │ 70   │ Call to deprecated method setExpectedException() of class    │
│          │      │ Drupal\Tests\UnitTestCase. Deprecated in drupal:8.8.0 and is │
│          │      │ removed from drupal:9.0.0.   Backward compatibility for      │
│          │      │ PHPUnit 4 will no longer be supported.                       │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

modules/contrib/fb_messenger_bot/tests/src/Unit/Message/FacebookGenericMessageTe
st.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                         MESSAGE                          │
├──────────┼──────┼──────────────────────────────────────────────────────────┤
│ Check    │ 52   │ Call to deprecated method assertInternalType() of class  │
│ manually │      │ PHPUnit\Framework\Assert:                                │
│          │      │ https://github.com/sebastianbergmann/phpunit/issues/3369 │
│          │      │                                                          │
└──────────┴──────┴──────────────────────────────────────────────────────────┘

modules/contrib/fb_messenger_bot/tests/src/Unit/Message/TextMessageTest.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                         MESSAGE                          │
├──────────┼──────┼──────────────────────────────────────────────────────────┤
│ Check    │ 35   │ Call to deprecated method assertInternalType() of class  │
│ manually │      │ PHPUnit\Framework\Assert:                                │
│          │      │ https://github.com/sebastianbergmann/phpunit/issues/3369 │
│          │      │                                                          │
└──────────┴──────┴──────────────────────────────────────────────────────────┘

modules/contrib/fb_messenger_bot/fb_messenger_bot.info.yml:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ Add core_version_requirement: ^8 || ^9 to designate that the │
│ manually │      │ module is compatible with Drupal 9. See                      │
│          │      │ https://drupal.org/node/3070687.                             │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

modules/contrib/fb_messenger_bot/demo_fb_messenger_bot/demo_fb_messenger_bot.inf
o.yml:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ Add core_version_requirement: ^8 || ^9 to designate that the │
│ manually │      │ module is compatible with Drupal 9. See                      │
│          │      │ https://drupal.org/node/3070687.                             │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

📌 Task
Status

Fixed

Version

1.1

Component

Code

Created by

🇮🇳India SachinT1996

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024