Skip to content

Commit

Permalink
Fix StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienheyd committed Oct 6, 2021
1 parent 47b8cda commit 02da19f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/Console/Layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ private function remove()

if ($this->confirm('Delete '.$this->storage->path($name).' layout?')) {
$this->storage->delete($name);

return $this->info('Layout '.$this->storage->path($name).' has been deleted');
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/resources/lang/en/permissions.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

return [
'category' => 'E-mails',
'category' => 'E-mails',
'email_edition' => [
'display_name' => 'Email edition',
'description' => 'User can edit e-mail subject, content and sender',
Expand Down
2 changes: 1 addition & 1 deletion src/resources/lang/fr/permissions.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

return [
'category' => 'E-mails',
'category' => 'E-mails',
'email_edition' => [
'display_name' => 'Édition des e-mails',
'description' => "Permet l'édition du sujet, de l'expéditeur et du contenu des e-mails",
Expand Down
2 changes: 1 addition & 1 deletion src/routes/boilerplate-email-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'web',
'boilerplatelocale',
'boilerplateauth',
'ability:admin,emaileditor_email_edition,emaileditor_email_dev'
'ability:admin,emaileditor_email_edition,emaileditor_email_dev',
],
'as' => 'emaileditor.',
'namespace' => '\Sebastienheyd\BoilerplateEmailEditor\Controllers',
Expand Down
2 changes: 1 addition & 1 deletion tests/ConsoleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ public function testEmailLayoutDelete()
->expectsOutput('Layout '.self::TEST_APP.'/resources/views/email-layouts/test.blade.php does not exists')
->assertExitCode(0);
}
}
}
4 changes: 1 addition & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Sebastienheyd\BoilerplateEmailEditor\Tests;

use Collective\Html\FormFacade;
use Laratrust\LaratrustFacade;
use Orchestra\Testbench\TestCase as TestBench;
use Sebastienheyd\Boilerplate\BoilerplateServiceProvider;
use Sebastienheyd\BoilerplateEmailEditor\ServiceProvider;
Expand Down Expand Up @@ -41,4 +39,4 @@ protected function getPackageProviders($app)
ServiceProvider::class,
];
}
}
}
4 changes: 2 additions & 2 deletions tests/TestHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait TestHelper
*/
private static function setUpLocalTestbench()
{
if (! file_exists(self::TEST_APP_TEMPLATE)) {
if (!file_exists(self::TEST_APP_TEMPLATE)) {
fwrite(STDOUT, 'Setting up test environment for first use.'.PHP_EOL);
$files = new Filesystem();
$files->makeDirectory(self::TEST_APP_TEMPLATE, 0755, true);
Expand All @@ -29,7 +29,7 @@ private static function setUpLocalTestbench()
// Pre-install illuminate/support
$composer['require'] = [
'laravel/framework' => '^7.0|^8.0',
'laravel/sanctum' => '^7.0|^8.0',
'laravel/sanctum' => '^7.0|^8.0',
];
$composer['require-dev'] = new \StdClass();

Expand Down

0 comments on commit 02da19f

Please sign in to comment.