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
As title.
Proposed resolution
For example:
- $this->assertTrue(array_key_exists($route_name, $sample_routes));
+ $this->assertArrayHasKey($route_name,$sample_routes);
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3155760-2.patch | 744 bytes | Hardik_Patel_12 |
Comments
Comment #2
Hardik_Patel_12 CreditAttribution: Hardik_Patel_12 at QED42 commentedKindly review the patch
Comment #3
siddhant.bhosale CreditAttribution: siddhant.bhosale as a volunteer and at QED42 commentedComment #4
siddhant.bhosale CreditAttribution: siddhant.bhosale as a volunteer and at QED42 commentedHi, I have tested the patch. Looks good to be merged and also the test runs successfully.
Thank you.
Comment #5
alexpottFixing coding standards on commit. @Hardik_Patel_12 you should consider running phpcs on the changed files when you make a commit.
Committed 01b2e5a and pushed to 9.1.x. Thanks!
Didn't bother backporting because of conflicts.