<commit_before><?php

use Phinx\Migration\AbstractMigration;

// Load all the admin APIs, for convenience
require_once 'wordpress-api.php';
//--

class Sprint7 extends AbstractMigration
{
    /**
     * Change Method.
     *
     * More information on this method is available here:
     * http://docs.phinx.org/en/latest/migrations.html#the-change-method
     *
     * Uncomment this method if you would like to use it.
     *
    public function change()
    {
    }
    */
    
    /**
     * Migrate Up.
     */
    public function up()
    {
		if ( $plugin = (new \WP_CLI\Fetchers\Plugin)->get( 'alphasss-top-bar' ) ) {
			activate_plugin( $plugin->file, '' );
		}

		if ( $plugin = (new \WP_CLI\Fetchers\Plugin)->get( 'alphasss-forgot-password' ) ) {
			activate_plugin( $plugin->file, '' );
		}
    }

    /**
     * Migrate Down.
     */
    public function down()
    {
    	if ( $plugin = (new \WP_CLI\Fetchers\Plugin)->get( 'alphasss-top-bar' ) ) {
			deactivate_plugins( $plugin->file );
		}

		if ( $plugin = (new \WP_CLI\Fetchers\Plugin)->get( 'alphasss-forgot-password' ) ) {
			deactivate_plugins( $plugin->file );
		}
    }
}<commit_msg>ASSS-362<commit_after><?php

use Phinx\Migration\AbstractMigration;

// Load all the admin APIs, for convenience
require_once 'wordpress-api.php';
//--

class Sprint7 extends AbstractMigration
{
    /**
     * Change Method.
     *
     * More information on this method is available here:
     * http://docs.phinx.org/en/latest/migrations.html#the-change-method
     *
     * Uncomment this method if you would like to use it.
     *
    public function change()
    {
    }
    */
    
    /**
     * Migrate Up.
     */
    public function up()
    {
		if ( $plugin = (new \WP_CLI\Fetchers\Plugin)->get( 'alphasss-top-bar' ) ) {
			activate_plugin( $plugin->file, '' );
		}
    }

    /**
     * Migrate Down.
     */
    public function down()
    {
    	if ( $plugin = (new \WP_CLI\Fetchers\Plugin)->get( 'alphasss-top-bar' ) ) {
			deactivate_plugins( $plugin->file );
		}
    }
}
{'fraction_non_alphanumeric': 0.15196078431372548, 'fraction_numerical': 0.0024509803921568627, 'mean_word_length': 2.286634460547504, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '6872034', 'n_tokens_mistral': 733, 'n_tokens_neox': 709, 'n_words': 142}