diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index fe6f385..45e0fc9 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -48,4 +48,5 @@ jobs: - name: Run test suite run: | git fetch --unshallow + git pull phpunit --debug diff --git a/src/Repo.php b/src/Repo.php index 3f5b429..d1320e2 100644 --- a/src/Repo.php +++ b/src/Repo.php @@ -71,9 +71,9 @@ class Repo private string $platform = ''; /** - * @var string + * @var string|null */ - private string $currentBranch = ''; + private ?string $currentBranch = null; /** * @var string 'commitId message'