Skip to content

Commit

Permalink
fixup! Coding style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Oct 1, 2024
1 parent c2e7345 commit 2fb8ec8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
- uses: php-actions/phpstan@v3
with:
path: src/
level: 7
level: 9
4 changes: 4 additions & 0 deletions src/VersionInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@ public function getNextVersion(
$branch = $this->branch;
}

if ($release === null) {
throw new Exception('Could not determine the release.', __LINE__);
}

return new self(
integerversion: (int) $integerversion,
decimalversion: $decimalversion,
Expand Down

0 comments on commit 2fb8ec8

Please sign in to comment.