diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 5f82b6f..91ea6af 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -20,7 +20,7 @@ jobs: matrix: php-version: ['8.3', '8.4', '8.5'] - uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.1 + uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.3 with: php-version: ${{ matrix.php-version }} @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false - uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.11.1 + uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_linter.yml@v1.11.3 with: enable_eslinter: false enable_jsonlinter: true @@ -77,7 +77,7 @@ jobs: - name: Cache composer dependencies uses: actions/cache@v5 with: - path: $COMPOSER_CACHE + path: ${{ env.COMPOSER_CACHE }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- @@ -140,7 +140,7 @@ jobs: - name: Cache composer dependencies uses: actions/cache@v5 with: - path: $COMPOSER_CACHE + path: ${{ env.COMPOSER_CACHE }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- @@ -177,7 +177,7 @@ jobs: - name: Cache composer dependencies uses: actions/cache@v5 with: - path: $COMPOSER_CACHE + path: ${{ env.COMPOSER_CACHE }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- @@ -241,7 +241,7 @@ jobs: - name: Cache composer dependencies uses: actions/cache@v5 with: - path: $COMPOSER_CACHE + path: ${{ env.COMPOSER_CACHE }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- diff --git a/.github/workflows/reusable_phplinter.yml b/.github/workflows/reusable_phplinter.yml index c7ce48c..6fe6418 100644 --- a/.github/workflows/reusable_phplinter.yml +++ b/.github/workflows/reusable_phplinter.yml @@ -40,16 +40,14 @@ jobs: - name: Setup PHP runtime uses: shivammathur/setup-php@v2 with: - tools: phive + tools: composer, phive php-version: ${{ inputs.php-version }} coverage: "none" + # A conflict exists between overtrue/phplint and redis extensions: :redis - name: Install overtrue/phplint (v9.7) - run: | - sleep $((random % 10)) - phive install overtrue/phplint@~9.7.1 --force-accept-unsigned --target ./bin + run: composer require overtrue/phplint --ignore-platform-reqs - name: Lint PHP files - run: | - ./bin/phplint --no-cache --no-progress -v + run: vendor/bin/phplint --exclude=vendor --no-cache --no-progress -v diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results new file mode 100644 index 0000000..5ca1938 --- /dev/null +++ b/.phpunit.cache/test-results @@ -0,0 +1 @@ +{"version":2,"defects":{"SimpleSAML\\Test\\TestUtils\\InMemoryStoreTest::testState":8,"SimpleSAML\\Test\\TestUtils\\InMemoryStoreTest::testExpiration":8},"times":{"SimpleSAML\\Test\\TestUtils\\InMemoryStoreTest::testState":0.004,"SimpleSAML\\Test\\TestUtils\\InMemoryStoreTest::testExpiration":2.001,"SimpleSAML\\Test\\TestUtils\\ReduceSpillOverTest::testSetState":0.013,"SimpleSAML\\Test\\TestUtils\\ReduceSpillOverTest::testStateRemoved":0.017}} \ No newline at end of file diff --git a/1 b/1 deleted file mode 100644 index f13d063..0000000 --- a/1 +++ /dev/null @@ -1,35 +0,0 @@ -pick a6e6d49 Add support for PHPunit 13 -pick e0061f5 Move contents of lib-dir to src-dir -pick 61fddec Fix CI -s 08712a5 Fix CI - -# Rebase 720ccf7..08712a5 onto 720ccf7 (4 commands) -# -# Commands: -# p, pick = use commit -# r, reword = use commit, but edit the commit message -# e, edit = use commit, but stop for amending -# s, squash = use commit, but meld into previous commit -# f, fixup [-C | -c] = like "squash" but keep only the previous -# commit's log message, unless -C is used, in which case -# keep only this commit's message; -c is same as -C but -# opens the editor -# x, exec = run command (the rest of the line) using shell -# b, break = stop here (continue rebase later with 'git rebase --continue') -# d, drop = remove commit -# l, label