Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enhance defaults for dependeabot & phpstan #15

Merged
merged 3 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updates:
interval: "weekly"
# Increase the version requirements for Composer
# only when required
versioning-strategy: increase-if-necessary
versioning-strategy: increase
# All explicitly defined dependencies.
allow:
- dependency-type: "direct"
Expand All @@ -19,11 +19,15 @@ updates:
interval: "weekly"
# Increase the version requirements for Composer
# only when required
versioning-strategy: increase-if-necessary
versioning-strategy: increase
# All explicitly defined dependencies.
allow:
- dependency-type: "direct"
open-pull-requests-limit: 10
groups:
wordpress-packages:
patterns:
- "@wordpress/*"

- package-ecosystem: github-actions
directory: "/"
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ parameters:
inferPrivatePropertyTypeFromConstructor: true
paths:
- inc/
- src/
- plugin.php
excludePaths:
analyse:
Expand All @@ -14,6 +15,9 @@ parameters:
# and not running within ft-platform
- wp-content/
- tests/
analyseAndScan:
- build/
- node_modules/
ignoreErrors:
# Find a nicer way instead of ignoring this Error on every ft-module
- '#Function Altis\\register_module not found\.#'