diff --git a/.github/workflows/PHPUnit-CodeStyle.yml b/.github/workflows/PHPUnit-CodeStyle.yml index a13d8b6..8c8c526 100644 --- a/.github/workflows/PHPUnit-CodeStyle.yml +++ b/.github/workflows/PHPUnit-CodeStyle.yml @@ -17,12 +17,12 @@ jobs: - uses: actions/checkout@v2 - name: Setup PHP run: | - sudo update-alternatives --set php /usr/bin/php8.1 + sudo update-alternatives --set php /usr/bin/php8.3 - name: "Determine composer cache directory" id: "determine-composer-cache-directory" run: "echo \"::set-output name=directory::$(composer config cache-dir)\"" - name: "Cache dependencies installed with composer" - uses: actions/cache@v2.1.5 + uses: actions/cache@v3 with: path: "${{ steps.determine-composer-cache-directory.outputs.directory }}" key: ${{ runner.os }}-composer-v1-${{ hashFiles('./composer.json') }} diff --git a/README.md b/README.md index c7da1d7..9577ae4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Service Utils -(c) 2017-2023 drunomics GmbH +(c) 2017-2025 drunomics GmbH [![PHPUnit and code style checks](https://github.com/drunomics/service-utils/actions/workflows/PHPUnit-CodeStyle.yml/badge.svg)](https://github.com/drunomics/service-utils/actions/workflows/PHPUnit-CodeStyle.yml) diff --git a/src/Core/Cache/DrupalCacheFactoryTrait.php b/src/Core/Cache/DrupalCacheFactoryTrait.php new file mode 100644 index 0000000..c06ebe1 --- /dev/null +++ b/src/Core/Cache/DrupalCacheFactoryTrait.php @@ -0,0 +1,25 @@ +