File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 # run: composer validate --strict
2626
2727 # This config file gets auto-loaded by PHPStan
28+ # !!!! The old bcc-signon plugin and the bcc-wp-proxy plugin are excluded from analysis!
2829 - name : Set PHPStan config
2930 run : |
3031 cat <<'EOF' > phpstan.neon
@@ -40,11 +41,11 @@ jobs:
4041 bootstrapFiles:
4142 - plugins/bcc-login/bcc-login.php
4243 ignoreErrors:
43- - '#Function get_culture not found\.#'
4444 - '#Path in require\(\) "build/visibility\.asset\.php" is not a file or it does not exist\.#'
4545 - '#Path in require\(\) "build/settings\.asset\.php" is not a file or it does not exist\.#'
4646 excludePaths:
4747 - plugins/bcc-signon/*
48+ - plugins/bcc-wp-proxy/*
4849 includes:
4950 - vendor/szepeviktor/phpstan-wordpress/extension.neon
5051 EOF
6465 bool $format_value = true,
6566 bool $escape_html = false
6667 ) {};
68+
69+ /**
70+ * @return string
71+ */
72+ function get_culture() {};
6773 EOF
6874
6975 - name : Install PHPStan and Wordpress-stub
You can’t perform that action at this time.
0 commit comments