Passed
Pull Request — master (#14)
by ARCANEDEV
08:52
created
src/System/Views/Composers/RequiredPhpExtensionsComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function compose(View $view): void
35 35
     {
36
-        $extensions = (array) config('arcanesoft.foundation.system.checks.php-extensions');;
36
+        $extensions = (array) config('arcanesoft.foundation.system.checks.php-extensions'); ;
37 37
 
38 38
         $view->with('requiredPhpExtensions', static::getRequiredExtensions($extensions));
39 39
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     protected static function getRequiredExtensions(array $extensions): array
66 66
     {
67
-        return array_map(function ($extension) {
67
+        return array_map(function($extension) {
68 68
             return extension_loaded($extension);
69 69
         }, array_combine($extensions, $extensions));
70 70
     }
Please login to merge, or discard this patch.
src/System/Views/Composers/FoldersPermissionsComposer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     protected static function getFoldersPermissions(array $folders): array
70 70
     {
71
-        return array_map(function ($folder) {
71
+        return array_map(function($folder) {
72 72
             $path = base_path($folder);
73 73
 
74 74
             return [
Please login to merge, or discard this patch.
src/System/Metrics/LogViewer/LogEntriesCountByLevel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     private static function calculateEntriesByLevel(LogViewer $logViewer): array
56 56
     {
57
-        return $logViewer->all()->reduce(function ($count, Log $log) {
57
+        return $logViewer->all()->reduce(function($count, Log $log) {
58 58
             foreach ($log->entries()->groupBy('level') as $level => $entries) {
59 59
                 /** @var  \Arcanedev\LogViewer\Entities\LogEntryCollection  $entries */
60 60
                 $count[$level] = ($count[$level] ?? 0) + $entries->count();
Please login to merge, or discard this patch.
database/migrations/2019_01_01_000012_create_auth_two_factors_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->id();
45 45
             $table->morphs('two_factorable');
46 46
             $table->text('secret')->nullable();
Please login to merge, or discard this patch.
src/Auth/Views/Components/AdministratorsDatatable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,13 +77,13 @@
 block discarded – undo
77 77
     {
78 78
         return $repo
79 79
             ->onlyTrashed($this->trash)
80
-            ->unless(empty($this->search), function (Builder $query) {
80
+            ->unless(empty($this->search), function(Builder $query) {
81 81
                 $query
82 82
                     ->where('first_name', 'like', '%'.$this->search.'%')
83 83
                     ->orWhere('last_name', 'like', '%'.$this->search.'%')
84 84
                     ->orWhere('email', 'like', '%'.$this->search.'%');
85 85
             })
86
-            ->unless(empty($this->sortField), function (Builder $query) {
86
+            ->unless(empty($this->sortField), function(Builder $query) {
87 87
                 $query->orderBy($this->sortField, $this->getSortDirection());
88 88
             })
89 89
             ->paginate($this->perPage);
Please login to merge, or discard this patch.
src/Views/ViewsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      */
62 62
     private function registerBladeComponents(): void
63 63
     {
64
-        $this->callAfterResolving(BladeCompiler::class, function (BladeCompiler $blade) {
64
+        $this->callAfterResolving(BladeCompiler::class, function(BladeCompiler $blade) {
65 65
             $blade->components([
66 66
                 // Form
67 67
                 'arc:form'             => Components\Forms\Form::class,
Please login to merge, or discard this patch.