Skip to content

Commit

Permalink
we can now use phpstan in views
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Oct 24, 2024
1 parent 69cb749 commit 9c796cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ parameters:
- vendor
- node_modules
- tests
- views/page-widgets
- views/dashboard-widgets
ignoreErrors:
- identifier: missingType.generics
- '#Constant PROGRESS_PLANNER_URL not found.#'
Expand Down
2 changes: 1 addition & 1 deletion views/page-widgets/suggested-tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class="prpl-activities-gauge"
?>
</span>
<span class="prpl-gauge-100">
<?php echo \esc_html( Monthly::TARGET_POINTS ); ?>
<?php echo \esc_html( (string) Monthly::TARGET_POINTS ); ?>
</span>
</div>
</div>
Expand Down

0 comments on commit 9c796cf

Please sign in to comment.