Problem/Motivation

Theme functions have been deprecated in #2576881: Deprecate theme functions for removal before Drupal 9 (docs only). However, use of theme functions cannot be identified with the current checks.

Proposed resolution

Add detection for use of theme functions.

Remaining tasks

Comments

lauriii created an issue. See original summary.

lauriii’s picture

Assigned: Unassigned » lauriii
lauriii’s picture

Assigned: lauriii » Unassigned
Status: Active » Needs review
StatusFileSize
new18.08 KB

Status: Needs review » Needs work

The last submitted patch, 4: 3111022-4.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

lauriii’s picture

Status: Needs work » Needs review
StatusFileSize
new18.82 KB
new761 bytes
gábor hojtsy’s picture

StatusFileSize
new19.03 KB
new6.13 KB

Looked good other than a few code comment things. While fixing those, I decided to log the parse error as well, since we do that for other errors that stopped us from analysing so people are aware that there may be an issue there, but we could not tell.

lauriii’s picture

+1 to all changes! 👍

Status: Needs review » Needs work

The last submitted patch, 7: 3111022-7.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

gábor hojtsy’s picture

Status: Needs work » Needs review
StatusFileSize
new19.04 KB
new1.25 KB

Fix tests to the changed message.

  • Gábor Hojtsy committed 343ccdf on 8.x-2.x
    Issue #3111022 by Gábor Hojtsy, lauriii: Detect use of theme functions
    
gábor hojtsy’s picture

Status: Needs review » Fixed

Yay, committed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.