From 630efa8126f4722421f941ff104f580a8a7a42ff Mon Sep 17 00:00:00 2001 From: AlexeyAtroshenko Date: Thu, 22 Aug 2024 10:43:24 +0100 Subject: [PATCH 1/3] upd --- src/Exads/Repos/Repo.php | 5 +++++ src/Exads/Repos/Repo2.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/Exads/Repos/Repo.php b/src/Exads/Repos/Repo.php index 2f69c71..0cea7f4 100644 --- a/src/Exads/Repos/Repo.php +++ b/src/Exads/Repos/Repo.php @@ -25,4 +25,9 @@ public function getString4(): string return "string 4"; } + public function getString5(): string + { + return "string 5"; + } + } \ No newline at end of file diff --git a/src/Exads/Repos/Repo2.php b/src/Exads/Repos/Repo2.php index 8fb6027..9155566 100644 --- a/src/Exads/Repos/Repo2.php +++ b/src/Exads/Repos/Repo2.php @@ -10,4 +10,9 @@ public function getString(): string return "string 1"; } + public function getString2(): string + { + return "string 2"; + } + } \ No newline at end of file From 45f5aef85d88830cf6f5bdaa6165e66eb68a331b Mon Sep 17 00:00:00 2001 From: AlexeyAtroshenko Date: Thu, 22 Aug 2024 10:46:53 +0100 Subject: [PATCH 2/3] upd --- .github/workflows/phpunit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 6568999..dd32a8c 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -37,6 +37,7 @@ jobs: with: with-chart: false with-table: true + with-branches: false table-coverage-change: true show-percentage-change-on-table: true file: gh_reports/coverage/pr_report_clover.xml From 45f1186cd002f06acb05afb3bbe34b627adae8fa Mon Sep 17 00:00:00 2001 From: AlexeyAtroshenko Date: Thu, 22 Aug 2024 10:48:21 +0100 Subject: [PATCH 3/3] upd --- test/Exads/Test/Repos/RepoTest.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/Exads/Test/Repos/RepoTest.php b/test/Exads/Test/Repos/RepoTest.php index f3eb638..9179979 100644 --- a/test/Exads/Test/Repos/RepoTest.php +++ b/test/Exads/Test/Repos/RepoTest.php @@ -34,4 +34,22 @@ public function getString3MustReturnString(): void $r = new Repo(); $this->assertEquals("string 3", $r->getString3()); } + + /** + * @test + */ + public function getString4MustReturnString(): void + { + $r = new Repo(); + $this->assertEquals("string 4", $r->getString4()); + } + + /** + * @test + */ + public function getString5MustReturnString(): void + { + $r = new Repo(); + $this->assertEquals("string 5", $r->getString5()); + } } \ No newline at end of file