From 5abf0e198513daab4b6c125a4fb0b8e0b6eb38b8 Mon Sep 17 00:00:00 2001 From: Hideki Kinjyo Date: Thu, 5 Sep 2024 21:15:44 +0900 Subject: [PATCH 1/2] [demo] ast-non-changed commit --- src/Differ/DiffCollector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Differ/DiffCollector.php b/src/Differ/DiffCollector.php index 57f0973..f1f1a9f 100644 --- a/src/Differ/DiffCollector.php +++ b/src/Differ/DiffCollector.php @@ -9,7 +9,7 @@ use O0h\PhpAstCheckDiff\Value\Diff; /** - * @phpstan-type commit array{hash: string, message: string} + * @phpstan-type commit array{hash: string, message: string} */ class DiffCollector { From 0bfea4d645c702abeea28964f8df8debbd577bbe Mon Sep 17 00:00:00 2001 From: Hideki Kinjyo Date: Thu, 5 Sep 2024 21:19:14 +0900 Subject: [PATCH 2/2] [demo] ast-changed commit --- src/External/Git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/External/Git.php b/src/External/Git.php index c7b4089..61fb3f9 100644 --- a/src/External/Git.php +++ b/src/External/Git.php @@ -18,7 +18,7 @@ public function __construct() { $gitInstalled = $this->shellExec('which git'); if (!$gitInstalled) { - throw new \RuntimeException('git command is not installed'); + throw new \RuntimeException('the git command is not installed'); } }