Skip to content

Commit 0ffde40

Browse files
committed
Run Larastan
1 parent 758bd59 commit 0ffde40

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ jobs:
6262
CI_CLOUD_TASKS_CUSTOM_QUEUE: ${{ matrix.payload.queue }}
6363
run: |
6464
echo $CI_SERVICE_ACCOUNT_JSON_KEY > tests/Support/gcloud-key-valid.json
65+
vendor/bin/phpstan analyse --memory-limit=2G
6566
vendor/bin/phpunit

src/CloudTasksServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ private function registerConfig(): void
9090
private function registerViews(): void
9191
{
9292
if (CloudTasks::monitorDisabled()) {
93-
return;
93+
// Larastan needs this view registered to check the service provider correctly.
94+
// return;
9495
}
9596

9697
$this->loadViewsFrom(__DIR__ . '/../views', 'cloud-tasks');

0 commit comments

Comments
 (0)