drupal-check addanother/
5/5 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------------------------
Line addanother.module
------ ----------------------------------------------------------------------
141 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
161 Call to deprecated function drupal_set_message():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
204 Call to deprecated function drupal_get_messages():
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::all() or
\Drupal\Core\Messenger\MessengerInterface::messagesByType() instead.
------ ----------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line src/Tests/AddAnotherTest.php
------ -----------------------------------------------------------------------
12 Class Drupal\addanother\Tests\AddAnotherTest extends deprecated class
Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See
https://www.drupal.org/node/3030340.
------ -----------------------------------------------------------------------
[ERROR] Found 4 errors
Comment | File | Size | Author |
---|---|---|---|
#12 | 3111275-12.patch | 2.44 KB | Neslee Canil Pinto |
| |||
#10 | 3111275-10.patch | 2.44 KB | Neslee Canil Pinto |
#8 | Screenshot 2020-04-28 at 8.23.54 PM.png | 36.32 KB | KapilV |
#4 | Screenshot from 2020-03-13 11-33-55.png | 30.2 KB | mo_farhaz |
#2 | deprecation-3111275-2.patch | 2.05 KB | Lilit_Ghazaryan |
Comments
Comment #2
Lilit_Ghazaryan CreditAttribution: Lilit_Ghazaryan at EPAM Systems commentedComment #3
Lilit_Ghazaryan CreditAttribution: Lilit_Ghazaryan at EPAM Systems commentedComment #4
mo_farhaz CreditAttribution: mo_farhaz at Specbee commentedPatch applied with an issue.
screenshot attached
Comment #5
apadernoComment #6
KapilV CreditAttribution: KapilV as a volunteer and at OpenSense Labs commentedComment #7
apadernoComment #8
KapilV CreditAttribution: KapilV as a volunteer and at OpenSense Labs commentedApplied patch "addanother.module" cleanly. after that drupal-check, No Error Found.
Comment #9
Neslee Canil PintoGetthing this warning
Comment #10
Neslee Canil PintoAdded core_version_requirement: ^8 || ^9 in info.yml file
Comment #12
Neslee Canil PintoComment #14
Neslee Canil Pinto