diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0394e3f..f3539fe 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,21 +19,17 @@ jobs: # Docs: + php: ['8.0', '8.1', '8.2'] + rr: ['2.12.1'] # Releases: coverage: ['true'] include: - - php: '7.4' - setup: 'basic' - rr: '2.0.0' - coverage: 'false' - php: '8.0' setup: 'lowest' rr: '2.0.0' coverage: 'false' - php: '8.1' setup: 'basic' - rr: '2.7.6' + rr: '2.12.1' coverage: 'false' steps: - uses: actions/checkout@v3 @@ -88,30 +84,3 @@ jobs: # Docs: -COPY --from=composer:2.2.6 /usr/bin/composer /usr/bin/composer +COPY --from=composer:2.5 /usr/bin/composer /usr/bin/composer # Image page: -COPY --from=spiralscout/roadrunner:2.7.6 /usr/bin/rr /usr/bin/rr +COPY --from=spiralscout/roadrunner:2.12.1 /usr/bin/rr /usr/bin/rr RUN set -x \ && apk add --no-cache binutils git \ - && apk add --no-cache --virtual .build-deps autoconf pkgconf make g++ gcc 1>/dev/null \ + && apk add --no-cache --virtual .build-deps autoconf pkgconf make g++ gcc linux-headers 1>/dev/null \ # install xdebug (for testing with code coverage), but do not enable it - && pecl install xdebug-3.1.2 1>/dev/null \ + && pecl install xdebug-3.2.0 \ # install PHP extensions (CFLAGS usage reason - https://bit.ly/3ALS5NU) && CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install -j$(nproc) sockets pcntl \ && apk del .build-deps \ diff --git a/bin/rr-worker b/bin/rr-worker old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json index 710e689..3755190 100644 --- a/composer.json +++ b/composer.json @@ -15,26 +15,27 @@ } ], "require": { - "php": "^7.4 || ^8.0", + "php": "^8.0", "composer-runtime-api": "^2.0", - "laravel/framework": "~8.0 || ~9.0", + "laravel/framework": "~9.33 || ~10.0", "nyholm/psr7": "^1.5", - "spiral/roadrunner-http": "^2.0.4", - "spiral/roadrunner-worker": "^2.1.5", - "symfony/psr-http-message-bridge": "^2.0" + "spiral/roadrunner-http": "^2.2", + "spiral/roadrunner-worker": "^2.2", + "symfony/psr-http-message-bridge": "^2.1" }, "require-dev": { "guzzlehttp/guzzle": "^6.3 || ~7.0", - "inertiajs/inertia-laravel": "^0.4.2 || ^0.5", + "inertiajs/inertia-laravel": "^0.6", "tightenco/ziggy": "^1.4.0", - "laravel/laravel": "~8.0 || ~9.0", - "laravel/scout": "~9.0", + "laravel/laravel": "~9.1 || ~10.0", + "laravel/scout": "~9.0 || ~10.0", "laravel/socialite": "^5.0", "laravel/telescope": "^4.5", "livewire/livewire": "^2.7", - "mockery/mockery": "~1.3.3 || ^1.4.2", - "phpstan/phpstan": "~1.4", - "phpunit/phpunit": "^9.3.3" + "mockery/mockery": "^1.4.4", + "phpstan/phpstan": "~1.6", + "phpunit/phpunit": "^9.5.10", + "brick/math": "^0.10" }, "autoload": { "psr-4": { diff --git a/tests/Unit/Console/Commands/StartCommandTest.php b/tests/Unit/Console/Commands/StartCommandTest.php index e45e2ef..4f6d116 100644 --- a/tests/Unit/Console/Commands/StartCommandTest.php +++ b/tests/Unit/Console/Commands/StartCommandTest.php @@ -55,6 +55,6 @@ public function testCommandOptions(): void */ public function testCommandExecuting(): void { - $this->markTestSkipped('There is now legal way for the execution method testing'); + $this->markTestSkipped('There is no legal way for the execution method testing'); } } diff --git a/tests/Unit/HelpersTest.php b/tests/Unit/HelpersTest.php index 816cf5d..342201c 100644 --- a/tests/Unit/HelpersTest.php +++ b/tests/Unit/HelpersTest.php @@ -20,6 +20,8 @@ public function testRrDump(): void ->andReturnUndefined(); \rr\dump('foo', 'bar'); + + $this->assertTrue(true); } /** @@ -33,6 +35,8 @@ public function testRrDd(): void ->andReturnUndefined(); \rr\dd('foo', 123); + + $this->assertTrue(true); } /**