Install
Works with Drupal: ^10.4 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Triple the kinds of deprecations found, faster analysis and reporting, redesigned summaries for humans and LLMs
Contributors (53)
afagioli, ajay gadhavana, axle_foley00, bbrala, bburg, betoaveiga, charly71, chr.fritsch, cobadger, csakiistvan, cslevy, dallen33, delacosta456, divya.lakshman, eelkeblok, etron770, farhanmae, fgm, gmoraleb, goba, gábor hojtsy, gábor hojtsy the report page and the..., joachim, joachim namyslo, joaopauloscho, jrb, kristen pol, laurii, lauriii, lhugg, liam morland, m4olivei, m_hobby, mglaman, mherchel, mtift, nickolaj, nicxvan, nod_, peri22, quietone, quimic, ressa, seanr, simgui8, srdtwc, superlolo95, tarasiadis, ulandreman, umac_de, varun pradeep, volkerk, zhouhana
Changelog
Issues: 71 issues resolved.
Changes since 5.0.0-alpha3 (compare):
Bug
- fix: #3592036 PHPUnit fails on Drupal 12 and Drupal 10, fix both
- fix: #3610882 Core themes (e.g. Claro) incorrectly listed as projects to analyze on Drupal 11.4+ due to leading-slash bug in isCoreExtension()
- fix: #3576798 DrupalFinderComposerRuntime not found error when webflo/drupal-finder is pinned to ^1.2
- fix: #3635636 Drupal 12 deprecation: Report template_preprocess functions and hook_theme() file keys
- fix: #3635638 Drupal 12 deprecation: Report scripts with a negative weight that use core libraries
- fix: #3635637 Drupal 12 deprecation: Report hook_module_implements_alter() without the LegacyModuleImplementsAlter attribute
- fix: #3635639 Drupal 12 deprecation: Run the info file, hook and library checks on test modules too
- fix: #3635640 Drupal 12 deprecation: Check deprecated library use in submodules, subthemes and extensions that are not installed
- fix: #3635641 Drupal 12 deprecation: Report the dialogClass dialog option
- fix: #3635642 Drupal 12 deprecation: List recipes and check them for features removed from Drupal 12
- fix: #3635643 Remaining Drupal 12 deprecations: integer fetch modes, deprecated services in services files and Symfony requirements
- bug: #3420543 Upgrade Status not reporting use of deprecated libraries when they are included in a theme's .info.yml file
- bug: #3096679 JavaScript calls to deprecated APIs are not found
- fix: #3635644 Add general reporting of deprecated routes, remove outdated route detection
- fix: #3635645 Remove support for old Drush versions and add the analyze command to vendor/bin/dr
- fix: #3635646 Make the plain output drush, dr and the UI Markdown to make it easier to read for humans and agents
- fix: #3635647 Remove checks for code that was removed in Drupal 9 and 10.0
- fix: #3544318 Use a separate temporary directory for each Drupal root and user
- fix: #3241362 Add a setting for the PHP binary, and check that the binary found is command line PHP
- fix: #3530162 Use the same group descriptions on the report page and in the report command, and mention multisites in Remove
- fix: #3635648 Check the PHP requirement in composer.json against the minimum PHP version of the next major Drupal version
- fix: #3635649 Move running PHPStan and categorizing messages out of DeprecationAnalyzer, and add unit tests for the categories
- fix: #3635650 Categorize core's runtime deprecation messages and other removal wordings, and deprecations from Symfony, Twig, PHP and other projects
- fix: #3635651 Test each detection once in a kernel test, and keep the functional tests to what the UI and the commands add
- fix: #3635652 Drupal 12 deprecation: report shipped config that Drupal 11 updates on save, but Drupal 12 doesn't
- fix: #3607237 twig_field_value syntax causes syntax error in upgrade_status
- fix: #3635654 Drupal 12 deprecation: report the `view` variable of node and comment templates, and templates for deprecated theme suggestions
- fix: #3635653 Drupal 12 deprecation: report custom keys of `$_SESSION`
- fix: #3635655 Drupal 12 deprecation: report libraries-override entries of files that moved to another library
- fix: #3635657 Custom projects get the categories of contributed projects
- fix: #3635656 Drupal 12 deprecation: report small Drupal 12 removals in plugin definitions and render arrays
- fix: #3463009 Upgrade status reports wrong version for rabbit hole
- fix: #3396755 Report other errors while parsing a Twig template, and go on with the other templates
- fix: #3635658 Add HTML output to the analyze and report commands
- fix: #3635659 Redesign the report page and the project results page
- fix: #3635661 The database updates check misses pending hook_update_N() updates of most modules
- fix: #3635663 Harden Upgrade Status analysis and data handling
- fix: #3635665 Make the report page, the analysis and the slowest tests faster
- fix: #3635664 Deprecations with a fix that works on older Drupal versions are under "Fix later" for contributed projects
- fix: #3635666 Remove unused code, the unused setting and the alter hooks for Upgrade Rector
- fix: #3635667 Fix processing consistency: category titles, core version check, translatable strings and hidden files
- fix: #3635668 Add services for the stored results and for the analysis batch
- fix: #3635669 Add an analyzer interface and service tag, makes analyzers possible from outside the module
- fix: #3635670 Add tests for the next step of projects, categories and command options
- fix: #3635671 Update the README and the help page for 5.x, and remove the unused nikic/php-parser requirement
- fix: #3635674 Add a button to copy the path of a file on the project result page and in the HTML exports
- fix: #3635673 The report page is slow because the database updates check scans the whole codebase
- fix: #3635675 Show the versions of the analysis tools in the report and the exports, and store them with the results
- fix: #3635672 The tests fail on the previous and the next major Drupal version
- fix: #3635676 The items of the export menu wrap to two lines with uneven spacing
- fix: #3635677 Clearer message categories and descriptions, and an "Update requirements" project group
- fix: #3635678 Robustness and text fixes: wrong requirements in composer.json, unknown project names, two slow patterns, and UI and README text
- fix: #3635679 PHPStan errors that are not about a file are dropped, so a failed analysis is not reported
- fix: #3635680 Results stored by 4.x and the 5.0.0 alphas stay after the update to 5.x, with old categories and groups
Feature
- feat: #3455673 Find deprecated hook usage
- feat: #3635624 Report JavaScript libraries that miss core library dependencies
- feat: #3635635 Report deprecated constants from core's files, like REQUIREMENT_ERROR
- feat: #3588671 Report deprecated theme-settings.php, .engine, .theme, .module and .profile files
- feat: #3589841 High level CLI reports should be available for humans and agents alike
- feat: #3427085 Skip test classes in the scan when PHPUnit is not installed, warn the user
- feat: #3152841 Warn on the Upgrade Status UI itself if there is an Upgrade Status update available
- feat: #3152580 Export Upgrade Status results and projects as CSV, in the UI and the commands
Support
Task
- task: #3499992 Add check for files included by hook_hook_info groups, which are deprecated
- task: #3635504 Check config schema files for constraint options that Drupal 12 does not support anymore
- task: #3282313 Detect dependencies and composer.json requirement of deprecated core modules and suggest updating them
- task: #3590168 Special styles for "Default Admin" theme in Drupal 12
- task: #3255471 Check for uses of deprecated config elements based on schema
- task: #3398881 Add check for deprecated twig template
- fix: #3143158 Show the messages for projects without results or issues in the HTML export
- task: #3420355 Upgrade Status does not check if there were outstanding DB updates