Skip to content

Commit

Permalink
Swoole 6: bump minimum supported PHP version to 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
deminy committed Jun 5, 2024
1 parent 33ec7af commit 275de81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding_style_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
uses: actions/checkout@v4

- name: Run Coding Style Checks
run: docker run -q --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php8.2-alpine php-cs-fixer fix --dry-run
run: docker run -q --rm -v "$(pwd):/project" -w /project -i jakzal/phpqa:php8.1-alpine php-cs-fixer fix --dry-run
2 changes: 1 addition & 1 deletion .github/workflows/syntax_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ["8.0", "8.1", "8.2", "8.3"]
php: ["8.1", "8.2", "8.3"]

name: Syntax Checks Under PHP ${{ matrix.php }}

Expand Down
2 changes: 1 addition & 1 deletion src/swoole/Swoole/Redis/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function setHandler(string $command, callable $callback): bool
/**
* @return callable|null Returns the callback function if defined, otherwise NULL.
*/
public function getHandler(string $command): callable|null
public function getHandler(string $command): ?callable
{
}

Expand Down

0 comments on commit 275de81

Please sign in to comment.