Skip to content

Commit

Permalink
Fix array_multisort wrong arguments (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk authored Nov 20, 2023
2 parents 2f358a2 + 11581af commit 32b82ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
2 changes: 1 addition & 1 deletion src/FileRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 32b82ec

Please sign in to comment.