From 270e8ba372ea3f8c163db56018ce806510abc690 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Wed, 6 Mar 2024 18:24:48 +0200 Subject: [PATCH] Laravel 10 support --- .github/workflows/tests.yml | 4 ++-- .gitignore | 1 + README.md | 2 ++ composer.json | 20 ++++++++++---------- phpunit.xml.dist | 13 +++++-------- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a43c4ef..c52f404 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1] + php: [8.1, 8.2] stability: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} / ${{ matrix.stability }} @@ -37,7 +37,7 @@ jobs: command: composer update --prefer-dist --${{ matrix.stability }} --no-interaction --no-progress --ansi - name: Run tests - run: vendor/bin/phpunit --verbose --colors=always --coverage-clover ./build/logs/clover.xml + run: vendor/bin/phpunit --colors=always --coverage-clover ./build/logs/clover.xml - name: Code coverage uses: codecov/codecov-action@v1 diff --git a/.gitignore b/.gitignore index ba0252c..d55382e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /.idea +/.phpunit.cache /.vscode /vendor .DS_Store diff --git a/README.md b/README.md index 6542ee8..b44f396 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ Laravel-specific and pure PHP Helper Functions. | Laravel | Helper Functions | |---------|-----------------------------------------------------------------------------| +| 11.x | _[Support](https://buymeacoffee.com/dmitry.ivanov)_ ☕ | +| 10.x | [10.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/10.x) | | 9.x | [9.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/9.x) | | 8.x | [8.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/8.x) | | 7.x | [7.x](https://github.com/dmitry-ivanov/laravel-helper-functions/tree/7.x) | diff --git a/composer.json b/composer.json index c052413..fa1b512 100644 --- a/composer.json +++ b/composer.json @@ -12,21 +12,21 @@ "email": "dmitry.g.ivanov@gmail.com" }], "require": { - "php": "^8.0.2", + "php": "^8.1", "ext-dom": "*", "ext-simplexml": "*", - "illuminate/support": "^9.0", - "nesbot/carbon": "^2.53.1", - "symfony/filesystem": "^6.0", - "symfony/finder": "^6.0", - "symfony/process": "^6.0", - "symfony/var-dumper": "^6.0", + "illuminate/support": "^10.0", + "nesbot/carbon": "^2.67", + "symfony/filesystem": "^6.2", + "symfony/finder": "^6.2", + "symfony/process": "^6.2", + "symfony/var-dumper": "^6.2", "spatie/array-to-xml": "^3.0" }, "require-dev": { - "phpunit/phpunit": "^9.5.10", - "mockery/mockery": "^1.4.4", - "illuminated/testing-tools": "^9.0" + "phpunit/phpunit": "^10.5", + "mockery/mockery": "^1.5.1", + "illuminated/testing-tools": "^10.0" }, "autoload": { "files": [ diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 7f82078..be8226e 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,18 +1,15 @@ - @@ -20,12 +17,12 @@ - + ./src ./src/autoload.php - +