<commit_before>Phundament 
==========

If you want to upgrade your Phundament Application, adjust the version constraints in `composer.json` and follow this 
document, if you're experiencing problems.


Upgrade Guide
-------------

### Upgrading from 0.21.x

> Note: Version 0.22 introduced major changes

#### `main-local.php`

This file has to be created, either by the webapp command or by renaming your current `local.php`. [Issue 93](https://github.com/phundament/app/issues/93)

#### `main.php`

##### aliases

        'bootstrap' => 'vendor.clevertech.yiibooster.src',
        'vendor.phundament.p3extensions.widgets.ckeditor.*', // shared classes
        'vendor.sammaye.auditrail2.models.*',
        'vendor.clevertech.yiibooster.src.widgets.*', // Bootstrap UI

##### aliases

         'bootstrap' => array(
            'class' => 'vendor.clevertech.yiibooster.src.components.Bootstrap', // assuming you extracted bootstrap under extensions
            'coreCss' => true, // whether to register the Bootstrap core CSS (bootstrap.min.css), defaults to true
            'responsiveCss' => false, // whether to register the Bootstrap responsive CSS (bootstrap-responsive.min.css), default to false
            'fontAwesomeCss' => true, // whether to register the Bootstrap responsive CSS (bootstrap-responsive.min.css), default to false

#### `console.php`

        'auditrail'      => 'vendor.sammaye.auditrail2.migrations',
<commit_msg>updated upgrade guide<commit_after>Phundament 
==========

If you want to upgrade your Phundament Application, adjust the version constraints in `composer.json` and follow this 
document, if you're experiencing problems.


Upgrade Guide
-------------

### Upgrading from 0.21.x

> Note: Version 0.22 introduced major database schema changes for p3media/widgets/pages.
But you can revert these changes and migrate down if you want to. The affected tables will only be renamed.

#### `main-local.php`

This file has to be created, either by the webapp command or by renaming your current `local.php`. [Issue 93](https://github.com/phundament/app/issues/93)

#### `main.php`

##### aliases

        'bootstrap' => 'vendor.clevertech.yiibooster.src',
        'vendor.phundament.p3extensions.widgets.ckeditor.*', // shared classes
        'vendor.sammaye.auditrail2.models.*',
        'vendor.clevertech.yiibooster.src.widgets.*', // Bootstrap UI

##### aliases

         'bootstrap' => array(
            'class' => 'vendor.clevertech.yiibooster.src.components.Bootstrap', // assuming you extracted bootstrap under extensions
            'coreCss' => true, // whether to register the Bootstrap core CSS (bootstrap.min.css), defaults to true
            'responsiveCss' => false, // whether to register the Bootstrap responsive CSS (bootstrap-responsive.min.css), default to false
            'fontAwesomeCss' => true, // whether to register the Bootstrap responsive CSS (bootstrap-responsive.min.css), default to false

#### `console.php`

        'auditrail'      => 'vendor.sammaye.auditrail2.migrations',

{'fraction_non_alphanumeric': 0.1308625778943916, 'fraction_numerical': 0.0088553624139062, 'mean_word_length': 3.357142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '7072618', 'n_tokens_mistral': 910, 'n_tokens_neox': 840, 'n_words': 262}