diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f959dc1..78e57df 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,14 +12,15 @@ jobs: strategy: matrix: - php: [ '8.0', '8.1' ] + php: [ '8.4', '8.5' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup PHP ${{ matrix.php }} - uses: nanasess/setup-php@master + uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} + extensions: mbstring, json - name: Install Dependencies run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Execute tests via PHPUnit diff --git a/.gitignore b/.gitignore index ee59ba8..3f2fcdd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ vendor composer.lock .phpunit.result.cache +.phpunit.cache .idea .DS_Store diff --git a/composer.json b/composer.json index 786044b..6039ec8 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,8 @@ "psr/log": "^3.0" }, "require-dev": { - "phpunit/phpunit": "^9.3.3", - "monolog/monolog": "^2.2" + "phpunit/phpunit": "^12.0", + "monolog/monolog": "^3.0" }, "suggest": { "monolog/monolog": "An excellent logging solution, integrates seamlessly" diff --git a/phpunit.xml b/phpunit.xml index 1115496..14c659c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,17 +1,13 @@ - - - - ./tests - - - - - ./src - - - \ No newline at end of file + + + + ./tests + + + + + ./src + + +