Problem/Motivation

Module needs to check and clean-up codebase to declare 9.x compatibility

Proposed resolution

- declare core_version_requirement: ^8.7.7 || ^9
- check deprecated code usage if any

Remaining tasks

- check code base
- extend patch

User interface changes

no

API changes

no

Data model changes

no

Release notes snippet

Drupal 9.0 compatible

Comments

andypost created an issue. See original summary.

andypost’s picture

Assigned: Unassigned » andypost
Status: Active » Needs review
StatusFileSize
new14.33 KB

I was able ti run in in d9
- fix info file
- replace usage of $this->l() - changed to direct links (maybe they needs target new window

The "uprofiler" is not available for PHP7 so I changed mentions and gonna separate array format conversion

WIP patch (sorting in report broken)

andypost’s picture

StatusFileSize
new8.55 KB

Re-roll after code clean-up

andypost’s picture

Also needs to deprecate uprofiler and decide on drush 9 compatibility

jonathan1055’s picture

Hi andypost,
Can you explain why this is related to the Devel issue #3042575: [META] Deprecation issues in devel module? Is it to do with the webprofiler sub-module of Devel?

lussoluca’s picture

XHProf provides a DataCollector for Webprofiler. Maybe if we update something in Devel we have to fix something here also, I've to check

jonathan1055’s picture

Title: Drupal 9 compatibility and clean-up » Drupal 9 compatibility and clean-up in XHProf

OK. Modifying title to be clear on issue listings.

If anyone can help on these webprofiler issues, that would be good:
#3098811: Replace deprecated QueryFactory class with EntityStorageInterface
#3095363-8: Replace deprecated \Drupal\Core\Path\AliasStorage

lussoluca’s picture

I can work on it, just give me some days :-)

andypost’s picture

andypost’s picture

Next goal is #3167201: Improve sorting and fix sort by function name and file follow-up to rework sorts when viewing xhprof.symbol route

andypost’s picture

StatusFileSize
new23.96 KB

Going to change long name "microsecond" to unicode and finish conversion to short array syntax

Will create new release after tests run

snetcher’s picture

Split the table row into two lines. The first line is the name of the function, the second is its parameters. This is not in Drupal mechanics, but how to reduce the line width differently.

  • andypost committed 69d62fb on 8.x-1.x
    Issue #3121379 by andypost: Convert to short array sintax
    
andypost’s picture

StatusFileSize
new5.27 KB

Short array syntax conversion commited and I reverted event name changes (as D 8 still needs symfony 3.4)

So here's a remaining patch to fix display before making release

andypost’s picture

StatusFileSize
new1.48 KB
new6.38 KB

Fixed colspans for Symbol view, after test run gonna commit it and release

andypost’s picture

StatusFileSize
new1.58 KB
new1.96 KB

Fixed translation of functions and columns

Filed separate issue #3167824: Use unicode μs instead of microsecs

  • andypost committed b74f4f0 on 8.x-1.x
    Issue #3121379 by andypost: Drupal 9 compatibility and clean-up in...
andypost’s picture

Status: Needs review » Fixed

Commited both

I think it's good time to release and use follow-up to improve #3167829: Remove columns with %

Status: Fixed » Closed (fixed)

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