forked from awsmin/wp-job-openings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
32 lines (32 loc) · 1.39 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: 5
inferPrivatePropertyTypeFromConstructor: true
bootstrapFiles:
- inc/helper-functions.php
- inc/template-functions.php
paths:
- wp-job-openings.php
- inc/class-awsm-job-openings-form.php
- inc/class-awsm-job-openings-uninstall.php
- inc/class-awsm-job-openings-core.php
- inc/class-awsm-job-openings-filters.php
- inc/widgets/class-awsm-job-openings-recent-jobs-widget.php
- inc/widgets/class-awsm-job-openings-dashboard-widget.php
- admin/class-awsm-job-openings-meta.php
- admin/class-awsm-job-openings-info.php
- admin/class-awsm-job-openings-settings.php
ignoreErrors:
# Uses func_get_args()
- '#^Function apply_filters(_ref_array)? invoked with [34567] parameters, 2 required\.$#'
# Constants
- '#^Constant AWSM_JOBS_PLUGIN_URL not found\.$#'
# Properties
- '#^Access to an undefined property AWSM_Job_Openings::\$awsm_core\.$#'
- '#^Access to an undefined property AWSM_Job_Openings_Settings::\$awsm_core\.$#'
- '#^Access to an undefined property AWSM_Job_Openings::\$awsm_form\.$#'
- '#^Access to an undefined property AWSM_Job_Openings_Settings::\$cpath\.$#'
- '#^Access to an undefined property AWSM_Job_Openings_Meta::\$cpath\.$#'
- '#^Access to an undefined property AWSM_Job_Openings_Info::\$cpath\.$#'
- '#^Access to an undefined property AWSM_Job_Openings_Form::\$cpath\.$#'