Skip to content

Commit

Permalink
sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Jan 12, 2024
1 parent 7537dcd commit 625b928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
php: ["8.2"]
php: ["8.3"]
env:
tools: composer
ini-values: default_charset='UTF-8'
Expand Down
4 changes: 2 additions & 2 deletions src/SQL2P.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public function __construct(
private WriterInterface $output,
private string $header = '',
) {
$header = str_replace('%HEADER%', $this->header, self::HEADER);
$this->output->write($header);
$patchHeader = str_replace('%HEADER%', $this->header, self::HEADER);
$this->output->write($patchHeader);
$parser = new SQLParser();
$tables = $parser->parse($sql);
foreach ($tables as $table) {
Expand Down

0 comments on commit 625b928

Please sign in to comment.