Test Setup Failed
Branch master (e50846)
by Vasyl
06:59
created
Category
config/meta-tags.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@
 block discarded – undo
5 5
     'model' => \Fomvasss\LaravelMetaTags\Models\MetaTag::class,
6 6
 
7 7
     'available' => [
8
-        'title' => ['title' => 'Заголовок страницы', 'max' => 65, 'form_type' => 'string',],
9
-        'description' => ['title' => 'Описание страницы', 'max' => 300, 'form_type' => 'text',],
10
-        'keywords' => ['title' => 'Ключевые слова',],
8
+        'title' => ['title' => 'Заголовок страницы', 'max' => 65, 'form_type' => 'string', ],
9
+        'description' => ['title' => 'Описание страницы', 'max' => 300, 'form_type' => 'text', ],
10
+        'keywords' => ['title' => 'Ключевые слова', ],
11 11
 
12 12
 //            'og_title' => ['title' => 'OG-title', 'type' => 'og'],
13 13
 //            'og_description' => ['title' => 'OG-description', 'type' => 'og'],
Please login to merge, or discard this patch.
src/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     public function getForPath(): array
132 132
     {
133 133
         if ($this->path) {
134
-            if (! $this->pathModel) { // Singleton
134
+            if (!$this->pathModel) { // Singleton
135 135
                 $modelClass = config('meta-tags.model', \Fomvasss\LaravelMetaTags\Models\MetaTag::class);
136 136
                 $this->pathModel = $modelClass::wherePath($this->path)->first();
137 137
             }
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,17 +38,17 @@
 block discarded – undo
38 38
 
39 39
     protected function publishedConfig()
40 40
     {
41
-        $this->publishes([__DIR__ . '/../config/meta-tags.php' => config_path('meta-tags.php')
41
+        $this->publishes([__DIR__.'/../config/meta-tags.php' => config_path('meta-tags.php')
42 42
         ], 'meta-tags-config');
43 43
     }
44 44
 
45 45
     protected function publishedMigrations()
46 46
     {
47
-        if (! class_exists('CreateMetaTagsTable')) {
47
+        if (!class_exists('CreateMetaTagsTable')) {
48 48
             $timestamp = date('Y_m_d_His', time());
49 49
 
50 50
             $migrationPath = __DIR__.'/../database/migrations/create_meta_tags_table.php';
51
-            $this->publishes([$migrationPath => database_path('/migrations/' . $timestamp . '_create_meta_tags_table.php'),
51
+            $this->publishes([$migrationPath => database_path('/migrations/'.$timestamp.'_create_meta_tags_table.php'),
52 52
                 ], 'meta-tags-migrations');
53 53
         }
54 54
     }
Please login to merge, or discard this patch.
database/migrations/create_meta_tags_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('meta_tags', function (Blueprint $table) {
16
+        Schema::create('meta_tags', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             # url path
19 19
             $table->string('path')->nullable();
Please login to merge, or discard this patch.