diff --git a/.github/workflows/ci-mssql.yml b/.github/workflows/ci-mssql.yml index d5eafbb..b68c197 100644 --- a/.github/workflows/ci-mssql.yml +++ b/.github/workflows/ci-mssql.yml @@ -24,7 +24,7 @@ jobs: extensions: pdo, pdo_sqlsrv mssql: 'server:2019-latest' - php: '8.1' - extensions: pdo, pdo_sqlsrv-5.10.0beta2 + extensions: pdo, pdo_sqlsrv mssql: 'server:2019-latest' services: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 38fce4e..6bfcb60 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: php-version: ${{ matrix.php-versions }} coverage: pcov tools: pecl - extensions: mbstring, pdo, pdo_sqlite, pdo_pgsql, pdo_sqlsrv-5.10.0beta2, pdo_mysql + extensions: mbstring, pdo, pdo_sqlite, pdo_pgsql, pdo_sqlsrv, pdo_mysql - name: Get Composer Cache Directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" diff --git a/src/FileRepository.php b/src/FileRepository.php index b64175d..8f8e818 100644 --- a/src/FileRepository.php +++ b/src/FileRepository.php @@ -66,7 +66,7 @@ public function getMigrations(): array $migrations[] = $migration->withState(new State($f['name'], $f['created'])); } - \array_multisort($timestamps, $chunks, SORT_ASC | SORT_NATURAL, $migrations); + \array_multisort($timestamps, $chunks, SORT_NATURAL, $migrations); return $migrations; }