From 6e17758bc8cabab41a6005c762d6601edf83bcb5 Mon Sep 17 00:00:00 2001 From: Alberto Rodriguez Date: Sat, 2 Mar 2024 15:16:26 -0400 Subject: [PATCH] cs fix --- src/Command/CopyFilesCommand.php | 4 ++-- src/Style/StyleTrait.php | 1 - src/View/Helper/MenuLteHelper.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Command/CopyFilesCommand.php b/src/Command/CopyFilesCommand.php index d214141..f156d54 100644 --- a/src/Command/CopyFilesCommand.php +++ b/src/Command/CopyFilesCommand.php @@ -100,7 +100,7 @@ public function execute(Arguments $args, ConsoleIo $io): ?int { // @todo if all files $all = $args->getOption('all'); - $forceOverwrite = (bool) $args->getOption('force'); + $forceOverwrite = (bool)$args->getOption('force'); $type = $args->getArgument('type'); if (!$all && empty($type)) { @@ -119,7 +119,7 @@ public function execute(Arguments $args, ConsoleIo $io): ?int $dest = Configure::read('App.paths.templates.0') . 'plugin/CakeLte/'; foreach ($files as $file) { - $content = (string) file_get_contents($src . $file); + $content = (string)file_get_contents($src . $file); $io->createFile($dest . $file, $content, $forceOverwrite); } diff --git a/src/Style/StyleTrait.php b/src/Style/StyleTrait.php index b7b61e6..db5dade 100644 --- a/src/Style/StyleTrait.php +++ b/src/Style/StyleTrait.php @@ -4,7 +4,6 @@ namespace CakeLte\Style; use Cake\View\Helper; -use PHPUnit\TextUI\Help; /** * Styles trait diff --git a/src/View/Helper/MenuLteHelper.php b/src/View/Helper/MenuLteHelper.php index 41dfc8b..636008a 100644 --- a/src/View/Helper/MenuLteHelper.php +++ b/src/View/Helper/MenuLteHelper.php @@ -8,7 +8,7 @@ /** * MenuLte helper - * + * * @property \Cake\View\Helper\HtmlHelper $Html * @property \Cake\View\Helper\UrlHelper $Url */