diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a89393c1..4f6ae085 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - php: [8.1, 8.2, 8.3] + php: [8.2, 8.3, 8.4] + name: ${{ matrix.os }} - PHP ${{ matrix.php }} runs-on: ${{ matrix.os }} diff --git a/.gitignore b/.gitignore index 1a124aa1..54ef856d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,6 @@ /.vagrant .phpunit.result.cache /storage +.phpunit.cache/ phpunit.xml composer.lock diff --git a/Dockerfile b/Dockerfile index 258204bd..6aa52943 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.1-cli-alpine +FROM php:8.2-cli-alpine ENV TAKEOUT_CONTAINER=1 diff --git a/bootstrap/app.php b/bootstrap/app.php index 4e84c957..a159fe41 100755 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -11,7 +11,9 @@ | */ -$app = new LaravelZero\Framework\Application( +use LaravelZero\Framework\Application; + +$app = new Application( dirname(__DIR__) ); diff --git a/composer.json b/composer.json index 702d9367..5f187b00 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "ext-json": "*", "ext-pcntl": "*", "ext-posix": "*", @@ -24,13 +24,13 @@ "guzzlehttp/psr7": "^2.6" }, "require-dev": { - "guzzlehttp/guzzle": "^7.4", - "laravel-zero/framework": "^9.0", + "guzzlehttp/guzzle": "^7.5", + "laravel-zero/framework": "^11.0", "mockery/mockery": "^1.3.1", - "nunomaduro/laravel-console-menu": "^3.3", - "phpunit/phpunit": "^9.0", + "nunomaduro/laravel-console-menu": "^3.4", + "phpunit/phpunit": "^10.5", "squizlabs/php_codesniffer": "^3.5", - "tightenco/tlint": "^6.0" + "tightenco/tlint": "^9.3" }, "autoload": { "psr-4": { @@ -49,10 +49,7 @@ "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true, - "platform-check": false, - "platform": { - "php": "8.0.2" - } + "platform-check": false }, "scripts": { "lint:check": [ diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a3bc3c83..c6b890ef 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,29 +1,19 @@ - - - - ./app - - - - - ./tests/Feature - - - ./tests/Unit - - - - - + + + + ./tests/Feature + + + ./tests/Unit + + + + + + + + ./app + +