|
@@ -139,14 +139,14 @@ discard block |
|
|
block discarded – undo |
|
139
|
139
|
// How to mark as deprecated? |
|
140
|
140
|
if (method_exists($this->blendableLoader, $name)) { |
|
141
|
141
|
|
|
142
|
|
- $message = get_class($this) . '->'.$name.'() has been deprecated, please use ' . get_class($this) . '->getBlendableLoader()->' . $name; |
|
|
142
|
+ $message = get_class($this).'->'.$name.'() has been deprecated, please use '.get_class($this).'->getBlendableLoader()->'.$name; |
|
143
|
143
|
trigger_error($message, E_USER_WARNING); |
|
144
|
144
|
$this->modx->log(\modX::LOG_LEVEL_ERROR, $message); |
|
145
|
145
|
|
|
146
|
146
|
return call_user_func_array(array($this->blendableLoader, $name), $arguments); |
|
147
|
147
|
|
|
148
|
148
|
} else { |
|
149
|
|
- throw new Exception('Call to undefined Method ' . get_class($this) . '->' . $name); |
|
|
149
|
+ throw new Exception('Call to undefined Method '.get_class($this).'->'.$name); |
|
150
|
150
|
} |
|
151
|
151
|
} |
|
152
|
152
|
|
|
@@ -431,7 +431,7 @@ discard block |
|
|
block discarded – undo |
|
431
|
431
|
if (!file_exists($this->getMigrationPath())) { |
|
432
|
432
|
$create = true; |
|
433
|
433
|
if ($prompt) { |
|
434
|
|
- $create = $this->userInteractionHandler->promptConfirm('Create the following directory for migration files?' . PHP_EOL |
|
|
434
|
+ $create = $this->userInteractionHandler->promptConfirm('Create the following directory for migration files?'.PHP_EOL |
|
435
|
435
|
.$this->getMigrationPath(), true); |
|
436
|
436
|
} |
|
437
|
437
|
if ($create) { |
Please login to merge, or discard this patch.