Skip to content

Commit

Permalink
Add PHP 8.0 on GitHub action and Fix Psalm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k authored and kpicaza committed Oct 27, 2021
1 parent 3a38011 commit 73db6e1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coding-standards.yml
Expand Up @@ -20,6 +20,7 @@ jobs:
- "locked"
php-version:
- "7.4"
- "8.0"
operating-system:
- "ubuntu-latest"

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mutation-tests.yml
Expand Up @@ -20,6 +20,7 @@ jobs:
- "locked"
php-version:
- "7.4"
- "8.0"
operating-system:
- "ubuntu-latest"

Expand Down Expand Up @@ -60,4 +61,4 @@ jobs:
env:
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

1 change: 1 addition & 0 deletions .github/workflows/phpunit.yml
Expand Up @@ -20,6 +20,7 @@ jobs:
- "locked"
php-version:
- "7.4"
- "8.0"
operating-system:
- "ubuntu-latest"

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/psalm.yml
Expand Up @@ -20,6 +20,7 @@ jobs:
- "locked"
php-version:
- "7.4"
- "8.0"
operating-system:
- "ubuntu-latest"

Expand Down
2 changes: 0 additions & 2 deletions src/MiddlewarePipeline.php
Expand Up @@ -53,7 +53,6 @@ function (ServerRequestInterface $request) {
/** @var string $requestId */
$requestId = $request->getAttribute('request_id');
try {
/** @var MiddlewareInterface $middleware */
$middleware = $this->concurrentPipelines[$requestId]->dequeue();

$response = $middleware->process($request, $this);
Expand Down Expand Up @@ -84,7 +83,6 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
/** @var string $requestId */
$requestId = $request->getAttribute('request_id');
try {
/** @var MiddlewareQueue $queue */
$queue = $this->concurrentPipelines[$requestId];
$next = new NextHandler($queue, $handler);

Expand Down

0 comments on commit 73db6e1

Please sign in to comment.