<commit_before><?php

namespace Mixdinternet\Articles;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Cviebrock\EloquentSluggable\SluggableTrait;
use Cviebrock\EloquentSluggable\SluggableInterface;
use Venturecraft\Revisionable\RevisionableTrait;
use Carbon\Carbon;
use Codesleeve\Stapler\ORM\StaplerableInterface;
use Codesleeve\Stapler\ORM\EloquentTrait;
use Mixdinternet\Seo\SeoTrait;
use Mixdinternet\Seo\SeoInterface;
use Mixdinternet\Galleries\GalleriableTrait;
use Mixdinternet\Galleries\GalleriableInterface;

class Article extends Model implements SluggableInterface, SeoInterface, StaplerableInterface, GalleriableInterface
{
    use SoftDeletes, SluggableTrait, SeoTrait, RevisionableTrait, EloquentTrait, GalleriableTrait;

    protected $revisionCreationsEnabled = true;

    protected $revisionFormattedFieldNames = [
        'name' => 'nome'
        , 'star' => 'destaque'
        , 'description' => 'descrição'
        , 'published_at' => 'data de publicação'
    ];

    protected $revisionFormattedFields = [
        'star' => 'boolean:Não|Sim',
    ];

    protected $seomap = [ /* mover para config */
        'title' => 'name',
        'description' => 'description'
    ];

    protected $dates = ['deleted_at', 'published_at'];

    protected $fillable = ['status', 'star', 'name', 'description', 'image', 'published_at'];<commit_msg>correção seo<commit_after><?php

namespace Mixdinternet\Articles;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Cviebrock\EloquentSluggable\SluggableTrait;
use Cviebrock\EloquentSluggable\SluggableInterface;
use Venturecraft\Revisionable\RevisionableTrait;
use Carbon\Carbon;
use Codesleeve\Stapler\ORM\StaplerableInterface;
use Codesleeve\Stapler\ORM\EloquentTrait;
use Mixdinternet\Seo\SeoTrait;
use Mixdinternet\Seo\SeoInterface;
use Mixdinternet\Galleries\GalleriableTrait;
use Mixdinternet\Galleries\GalleriableInterface;

class Article extends Model implements SluggableInterface, SeoInterface, StaplerableInterface, GalleriableInterface
{
    use SoftDeletes, SluggableTrait, SeoTrait, RevisionableTrait, EloquentTrait, GalleriableTrait;

    protected $revisionCreationsEnabled = true;

    protected $revisionFormattedFieldNames = [
        'name' => 'nome'
        , 'star' => 'destaque'
        , 'description' => 'descrição'
        , 'published_at' => 'data de publicação'
    ];

    protected $revisionFormattedFields = [
        'star' => 'boolean:Não|Sim',
    ];

    protected $seomap = [ /* mover para config */
        'title' => ['name'],
        'description' => ['description']
    ];

    protected $dates = ['deleted_at', 'published_at'];

    protected $fillable = ['status', 'star', 'name', 'description', 'image', 'published_at'];
{'fraction_non_alphanumeric': 0.11479500891265597, 'fraction_numerical': 0.0, 'mean_word_length': 4.773662551440329, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1496110', 'n_tokens_mistral': 951, 'n_tokens_neox': 922, 'n_words': 166}