NOW MANAGED ON CODEBERG
Fixed phpstan static usage warning, updated ci flows
Dan Brown6364c541ea13
diff --git a/.github/workflows/analyse-php.yml b/.github/workflows/analyse-php.ymlindex 191399d78..fd56a53ef 100644--- a/.github/workflows/analyse-php.yml+++ b/.github/workflows/analyse-php.yml@@ -18,10 +18,10 @@ jobs:- name: Get Composer Cache Directoryid: composer-cacherun: |- echo "::set-output name=dir::$(composer config cache-files-dir)"+ echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT- name: Cache composer packages- uses: actions/cache@v2+ uses: actions/cache@v3with:path: ${{ steps.composer-cache.outputs.dir }}key: ${{ runner.os }}-composer-8.1diff --git a/.github/workflows/test-migrations.yml b/.github/workflows/test-migrations.ymlindex e9b66a0a6..d762d7eab 100644--- a/.github/workflows/test-migrations.yml+++ b/.github/workflows/test-migrations.yml@@ -21,10 +21,10 @@ jobs:- name: Get Composer Cache Directoryid: composer-cacherun: |- echo "::set-output name=dir::$(composer config cache-files-dir)"+ echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT- name: Cache composer packages- uses: actions/cache@v2+ uses: actions/cache@v3with:path: ${{ steps.composer-cache.outputs.dir }}key: ${{ runner.os }}-composer-${{ matrix.php }}diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.ymlindex 917038f59..4185e83c3 100644--- a/.github/workflows/test-php.yml+++ b/.github/workflows/test-php.yml@@ -21,10 +21,10 @@ jobs:- name: Get Composer Cache Directoryid: composer-cacherun: |- echo "::set-output name=dir::$(composer config cache-files-dir)"+ echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT- name: Cache composer packages- uses: actions/cache@v2+ uses: actions/cache@v3with:path: ${{ steps.composer-cache.outputs.dir }}key: ${{ runner.os }}-composer-${{ matrix.php }}diff --git a/app/Util/SimpleListOptions.php b/app/Util/SimpleListOptions.phpindex cb7e75a2d..81d8a5876 100644--- a/app/Util/SimpleListOptions.php+++ b/app/Util/SimpleListOptions.php@@ -34,7 +34,7 @@ class SimpleListOptions$sort = setting()->getForCurrentUser($typeKey . '_sort', '');$order = setting()->getForCurrentUser($typeKey . '_sort_order', $sortDescDefault ? 'desc' : 'asc');- return new static($typeKey, $sort, $order, $search);+ return new self($typeKey, $sort, $order, $search);}/**