diff --git a/composer.json b/composer.json index 17275d6..93bffa5 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,10 @@ "autoload": { "psr-4": { "AlfacodeTeam\\PhpIoCli\\": "src/" - } + }, + "files": [ + "src/mb_polyfill.php" + ] }, "autoload-dev": { "psr-4": { diff --git a/src/AbstractCommand.php b/src/AbstractCommand.php index 851053a..6d8f4cf 100644 --- a/src/AbstractCommand.php +++ b/src/AbstractCommand.php @@ -45,7 +45,7 @@ abstract class AbstractCommand private bool $rethrowExceptions = false; - final public function __construct() + public function __construct() { $this->configure(); diff --git a/src/Internal/MbTrim.php b/src/Internal/MbTrim.php new file mode 100644 index 0000000..7edbbf8 --- /dev/null +++ b/src/Internal/MbTrim.php @@ -0,0 +1,51 @@ +