diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 58facbd..69faaad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: fail-fast: true matrix: php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2, 8.3] - laravel: [6, 7, 8, 9, 10] + laravel: [6, 7, 8, 9, 10, 11] exclude: - php: 7.2 laravel: 8 @@ -25,20 +25,30 @@ jobs: laravel: 9 - php: 7.2 laravel: 10 + - php: 7.2 + laravel: 11 - php: 7.3 laravel: 9 - php: 7.3 laravel: 10 + - php: 7.3 + laravel: 11 - php: 7.4 laravel: 9 - php: 7.4 laravel: 10 + - php: 7.4 + laravel: 11 - php: '8.0' laravel: 10 + - php: '8.0' + laravel: 11 - php: 8.1 laravel: 6 - php: 8.1 laravel: 7 + - php: 8.1 + laravel: 11 - php: 8.2 laravel: 6 - php: 8.2 @@ -75,4 +85,4 @@ jobs: composer update --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit --verbose + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index 36c1e25..f7e4a58 100644 --- a/composer.json +++ b/composer.json @@ -12,13 +12,13 @@ "require": { "php": "^7.2|^8.0", "guzzlehttp/guzzle": "^6.0|^7.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", - "symfony/console": "^4.3|^5.0|^6.0", - "symfony/process": "^4.3|^5.0|^6.0" + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "symfony/console": "^4.3|^5.0|^6.0|^7.0", + "symfony/process": "^4.3|^5.0|^6.0|^7.0" }, "require-dev": { "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.0|^9.0" + "phpunit/phpunit": "^8.0|^9.0|^10.4" }, "suggest": { "ext-posix": "Required to determine the System user on Unix systems." diff --git a/src/Console/Command.php b/src/Console/Command.php index a687a9d..3dfc1ed 100644 --- a/src/Console/Command.php +++ b/src/Console/Command.php @@ -30,7 +30,7 @@ trait Command * @param \Symfony\Component\Console\Output\OutputInterface $output * @return int */ - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $this->input = $input; $this->output = $output;