-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Call to protected method has_feed() of class GatherPress\Core\En…
…dpoints\Endpoint.
- Loading branch information
1 parent
dc4384f
commit 7480c2a
Showing
3 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
includes: | ||
- vendor/szepeviktor/phpstan-wordpress/extension.neon | ||
# Bleeding edge offers a preview of the next major version. | ||
# When you enable Bleeding edge in your configuration file, you will get new rules, | ||
# behaviour, and bug fixes that will be enabled for everyone later | ||
# when the next PHPStan’s major version is released. | ||
- phar://phpstan.phar/conf/bleedingEdge.neon | ||
|
||
parameters: | ||
bootstrapFiles: | ||
# Constants, functions, etc. used by GatherPress | ||
#- phpstan.stubs | ||
# - vendor/pmc/unit-test/src/classes/autoloader.php | ||
# - vendor/autoload.php | ||
# - gatherpress.php | ||
parallel: | ||
maximumNumberOfProcesses: 1 | ||
processTimeout: 300.0 | ||
|
||
# the analysis level, from 0 (loose) to 9 (strict) | ||
# https://phpstan.org/user-guide/rule-levels | ||
level: 5 | ||
|
||
paths: | ||
- includes/ | ||
# - test/ | ||
|
||
# excludePaths: | ||
# analyse: | ||
# - vendor/ | ||
|
||
ignoreErrors: | ||
- '#^Constant GATHERPRESS_CORE_FILE not found\.$#' | ||
- '#^Constant GATHERPRESS_CORE_PATH not found\.$#' | ||
- '#^Constant GATHERPRESS_CORE_URL not found\.$#' | ||
- '#^Constant GATHERPRESS_REST_NAMESPACE not found\.$#' | ||
- '#^Constant GATHERPRESS_REQUIRES_PHP not found\.$#' | ||
|
||
# core/classes/class-setup.php | ||
# | ||
# A dev-only error, which can occur if the gatherpress is symlinked into a WP instance or called via wp-env or Playground. | ||
- '#^Path in require_once\(\) "\./wp-admin/includes/upgrade\.php" is not a file or it does not exist\.$#' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters