Skip to content

Commit

Permalink
Merge pull request #1 from jolelievre/php84-compatibility
Browse files Browse the repository at this point in the history
Php 8.4 compatibility
  • Loading branch information
jolelievre authored Nov 29, 2024
2 parents dec667f + 471591c commit 7a44c4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [push]
on: [push, pull_request]

jobs:
build-test:
Expand All @@ -16,6 +16,7 @@ jobs:
- 7.4
- 8.2
- 8.3
- 8.4
- nightly

steps:
Expand All @@ -38,4 +39,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: coverage/html
path: coverage/html
4 changes: 2 additions & 2 deletions src/PHPSQLParser/processors/AbstractProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ abstract class AbstractProcessor {
/**
* AbstractProcessor constructor.
*
* @param Options $options
* @param Options|null $options
*/
public function __construct(Options $options = null)
public function __construct(?Options $options = null)
{
$this->options = $options;
}
Expand Down

0 comments on commit 7a44c4f

Please sign in to comment.