<commit_before><?php
namespace Cms\Model\Entity;

use Cake\ORM\Entity;

/**
 * Category Entity.
 *
 * @property string $id
 * @property string $slug
 * @property string $name
 * @property string $parent_id
 * @property \Cms\Model\Entity\Category $parent_category
 * @property int $lft
 * @property int $rght
 * @property \Cake\I18n\Time $created
 * @property \Cake\I18n\Time $modified
 * @property \Cms\Model\Entity\Category[] $child_categories
 * @property \Cms\Model\Entity\Article[] $articles
 */
class Category extends Entity
{

    /**
     * Fields that can be mass assigned using newEntity() or patchEntity().
     *
     * Note that when '*' is set to true, this allows all unspecified fields to
     * be mass assigned. For security purposes, it is advised to set '*' to false
     * (or remove it), and explicitly make individual fields accessible as needed.
     *
     * @var array
     */
    protected $_accessible = [
        '*' => true,
        'id' => false,
    ];
}
<commit_msg>Align options (task #2258)<commit_after><?php
namespace Cms\Model\Entity;

use Cake\ORM\Entity;

/**
 * Category Entity.
 *
 * @property string $id
 * @property string $slug
 * @property string $name
 * @property string $parent_id
 * @property \Cms\Model\Entity\Category $parent_category
 * @property int $lft
 * @property int $rght
 * @property \Cake\I18n\Time $created
 * @property \Cake\I18n\Time $modified
 * @property \Cms\Model\Entity\Category[] $child_categories
 * @property \Cms\Model\Entity\Article[] $articles
 */
class Category extends Entity
{

    /**
     * Fields that can be mass assigned using newEntity() or patchEntity().
     *
     * Note that when '*' is set to true, this allows all unspecified fields to
     * be mass assigned. For security purposes, it is advised to set '*' to false
     * (or remove it), and explicitly make individual fields accessible as needed.
     *
     * @var array
     */
    protected $_accessible = [
        '*' => true,
        'id' => false,
    ];

    /**
     * Options for aligning the article image.
     *
     * @return array Align options.
     */
    protected function _getAlignOptions()
    {
        return [
            'left' => __d('cms', 'Left'),
            'right' => __d('cms', 'Right'),
            'center' => __d('cms', 'Center'),
            'stretch' => __d('cms', 'Stretch'),
            'img-responsive' => __d('cms', 'Responsive'),
        ];
    }
}

{'fraction_non_alphanumeric': 0.13464696223316913, 'fraction_numerical': 0.0049261083743842365, 'mean_word_length': 2.6980273141122915, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '5911997', 'n_tokens_mistral': 756, 'n_tokens_neox': 724, 'n_words': 228}