Fix literal linting

This commit is contained in:
Damian Mooyman 2017-12-12 09:22:18 +13:00
parent 0e1753f33d
commit 2391af5ba7
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A

View File

@ -429,10 +429,14 @@ abstract class DBSchemaManager
if (isset(static::$table_name_warnings[$table])) { if (isset(static::$table_name_warnings[$table])) {
if (!$table_name_info_sent) { if (!$table_name_info_sent) {
$this->alterationMessage('<strong>Please note:</strong> It is strongly recommended to define a' . $this->alterationMessage(
' table_name for all namespaced models. Not defining a table_name may cause generated table' . <<<'MESSAGE'
' names to be too long and may not be supported by your current database engine. The generated' . <strong>Please note:</strong> It is strongly recommended to define a
' naming scheme will also change when upgrading to SilverStripe 5.0 and potentially break.', table_name for all namespaced models. Not defining a table_name may cause generated table
names to be too long and may not be supported by your current database engine. The generated
naming scheme will also change when upgrading to SilverStripe 5.0 and potentially break.
MESSAGE
,
'error' 'error'
); );
$table_name_info_sent = true; $table_name_info_sent = true;