<commit_before><?php
namespace Phinx\Migration;

use Phinx\Db\Adapter\MysqlAdapter;

/**
 * @property MysqlAdapter $adapter
 */
abstract class AbstractOnlineSchemaChange extends AbstractMigration
{
    protected function onlineSchemaChange($table, $alter)
    {
        $options = $this->adapter->getOptions();
        $config = require dirname(dirname(__DIR__)) . '/config/storage.local.php';
        if (!isset($config[$options['name']])) {<commit_msg>CGIV-7125: Assume that we are running inside the project root<commit_after><?php
namespace Phinx\Migration;

use Phinx\Db\Adapter\MysqlAdapter;

/**
 * @property MysqlAdapter $adapter
 */
abstract class AbstractOnlineSchemaChange extends AbstractMigration
{
    protected function onlineSchemaChange($table, $alter)
    {
        $options = $this->adapter->getOptions();
        $config = require getcwd() . '/config/storage.local.php';
        if (!isset($config[$options['name']])) {
{'fraction_non_alphanumeric': 0.13631522896698617, 'fraction_numerical': 0.004259850905218318, 'mean_word_length': 4.371428571428571, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2135405', 'n_tokens_mistral': 265, 'n_tokens_neox': 264, 'n_words': 59}