This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// Credit for escapeRegExp goes to MDN | |
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Using_Special_Characters | |
function escapeRegExp(str) { | |
return str.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1"); | |
} | |
// Credit for replaceAll goes to Sean Bright | |
// http://stackoverflow.com/a/1144788/2919694 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/yiisoft/yii2/console/controllers/MessageController.php b/vendor/yiisoft/yii2/console/controllers/MessageController.php | |
--- a/vendor/yiisoft/yii2/console/controllers/MessageController.php | |
+++ b/vendor/yiisoft/yii2/console/controllers/MessageController.php | |
@@ -89,6 +89,7 @@ class MessageController extends Controller | |
'translator' => 'Yii::t', | |
'overwrite' => false, | |
'removeUnused' => false, | |
+ 'markUnused' => false, | |
'sort' => false, | |
'format' => 'php', |