diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c34c6bc..1571a1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,21 +4,13 @@ on: schedule: - cron: '0 0 * * *' push: - branches: - - develop - - master paths: - - src/** - - tests/** + - '**.php' - .github/workflows/build.yml - composer.json pull_request: - branches: - - develop - - master paths: - - src/** - - tests/** + - '**.php' - .github/workflows/build.yml - composer.json @@ -26,7 +18,6 @@ jobs: main: name: Build [PHP ${{ matrix.php-versions }}] runs-on: ubuntu-20.04 - if: "!contains(github.event.head_commit.message, '[ci skip]')" strategy: fail-fast: false diff --git a/src/Util/GithubMonitor.php b/src/Util/GithubMonitor.php index 2a3286d..9cf14b8 100644 --- a/src/Util/GithubMonitor.php +++ b/src/Util/GithubMonitor.php @@ -125,7 +125,7 @@ public function warning(string $message, string $file = '', int $line = 1, int $ */ private function recreateMessage(array $testDetails): string { - // @phpstan-var array{'label':string, 'time':float, 'limit':float} $testDetails + /** @phpstan-var array{label:string, time:float, limit:float} $testDetails */ ['label' => $label, 'time' => $time, 'limit' => $limit] = $testDetails; $precision = $this->tachycardia->getPrecision();