Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293492

Slightly ugly error message if a module is incompatible with the version of core and the PHP version

$
0
0

This issue has novice tasks. If you are an experienced core developer and have multiple commit mentions, please review novices' work on these tasks rather than doing them yourself. Feedback from experienced contributors is valued.

Problem/Motivation

If you have a module that is incompatible with both core and your version of PHP, you get two sentences with no space after the period of the first sentence:

This version is not compatible with Drupal 8.x and should be replaced.This module requires PHP version 5.6.* and is incompatible with PHP version 5.4.26.


Proposed resolution

Be smarter about building this message. Build an array of reasons why the module is incompatible and then implode() them together with a space separator.

Remaining tasks

User interface changes

n/a

API changes

n/a


Viewing all articles
Browse latest Browse all 293492

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>