-
-
Notifications
You must be signed in to change notification settings - Fork 455
Expand file tree
/
Copy path.phpstan.dist.neon
More file actions
134 lines (129 loc) · 8.79 KB
/
Copy path.phpstan.dist.neon
File metadata and controls
134 lines (129 loc) · 8.79 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
includes:
- vendor/macopedia/phpstan-magento1/extension.neon
- .phpstan.dist.baseline.neon
- phar://phpstan.phar/conf/bleedingEdge.neon
parameters:
phpVersion:
min: 70433
max: 80499
magentoRootPath: %currentWorkingDirectory%
fileExtensions:
- php
- phtml
paths:
- api.php
- cron.php
- get.php
- index.php
- install.php
- app/Mage.php
- app/code/core/
- app/design/
- errors/
- lib/
- shell/
- tests/unit/
excludePaths:
# custom commands
- lib/_n98-magerun/ (?)
# libraries
- lib/3Dsecure/
- lib/Unserialize/
# others
- lib/Varien/Directory/Collection.php
# Too much noise from "Variable $this might not be defined"
- app/code/core/*/*/data/*
- app/code/core/*/*/sql/*
# Class Mage_Centinel_Model_Api_Client extends unknown class CentinelClient.
- app/code/core/Mage/Centinel/Model/Api/Client.php
# Instantiated class Varien_Image_Adapter_Gd not found.
# Instantiated class Varien_Image_Adapter_Imagemagic not found.
- lib/Varien/Image/Adapter.php
ignoreErrors:
-
# @todo remove unused classes/template
# @todo add classes to widgets
message: '#^Variable \$this might not be defined\.$#'
paths:
- app/design/adminhtml/default/default/template/api/usernroles.phtml
- app/design/adminhtml/default/default/template/dashboard/searches.phtml
- app/design/adminhtml/default/default/template/dashboard/store/switcher.phtml
- app/design/adminhtml/default/default/template/empty.phtml
- app/design/adminhtml/default/default/template/overlay_popup.phtml
- app/design/adminhtml/default/default/template/popup.phtml
- app/design/adminhtml/default/default/template/promo/form.phtml
- app/design/adminhtml/default/default/template/rating/stars/detailed.phtml
- app/design/adminhtml/default/default/template/review/add.phtml
- app/design/adminhtml/default/default/template/sales/billing/agreement/form.phtml
- app/design/adminhtml/default/default/template/sales/items/renderer/default.phtml
- app/design/adminhtml/default/default/template/sales/order/shipment/create/items/renderer/configurable.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/discount.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/due.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/footer.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/grand.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/item.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/main.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/paid.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/refunded.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/shipping.phtml
- app/design/adminhtml/default/default/template/sales/order/totals/subtotal.phtml
- app/design/adminhtml/default/default/template/sales/order/view/tracking.phtml
- app/design/adminhtml/default/default/template/system/info.phtml
- app/design/adminhtml/default/default/template/tax/class/page/edit.phtml
- app/design/adminhtml/default/default/template/tax/toolbar/class/save.phtml
- app/design/adminhtml/default/default/template/tax/toolbar/rule/save.phtml
- app/design/frontend/base/default/template/bundle/catalog/product/list/partof.phtml
- app/design/frontend/base/default/template/bundle/catalog/product/view/options/notice.phtml
- app/design/frontend/base/default/template/catalog/category/page.phtml
- app/design/frontend/base/default/template/catalog/category/widget/link/link_block.phtml
- app/design/frontend/base/default/template/catalog/category/widget/link/link_inline.phtml
- app/design/frontend/base/default/template/catalog/product/view/price.phtml
- app/design/frontend/base/default/template/catalog/product/widget/link/link_block.phtml
- app/design/frontend/base/default/template/catalog/product/widget/link/link_inline.phtml
- app/design/frontend/base/default/template/catalog/product/widget/new/column/new_default_list.phtml
- app/design/frontend/base/default/template/catalog/product/widget/new/column/new_images_list.phtml
- app/design/frontend/base/default/template/catalog/product/widget/new/column/new_names_list.phtml
- app/design/frontend/base/default/template/catalog/product/widget/new/content/new_grid.phtml
- app/design/frontend/base/default/template/catalog/product/widget/new/content/new_list.phtml
- app/design/frontend/base/default/template/checkout/cart/render/default.phtml
- app/design/frontend/base/default/template/checkout/cart/render/simple.phtml
- app/design/frontend/base/default/template/cms/widget/link/link_block.phtml
- app/design/frontend/base/default/template/cms/widget/link/link_inline.phtml
- app/design/frontend/base/default/template/cms/widget/static_block/default.phtml
- app/design/frontend/base/default/template/core/messages.phtml
- app/design/frontend/base/default/template/customer/address.phtml
- app/design/frontend/base/default/template/customer/balance.phtml
- app/design/frontend/base/default/template/customer/form/address.phtml
- app/design/frontend/base/default/template/customer/form/changepassword.phtml
- app/design/frontend/base/default/template/customer/orders.phtml
- app/design/frontend/base/default/template/customer/wishlist.phtml
- app/design/frontend/base/default/template/directory/currency/switch.phtml
- app/design/frontend/base/default/template/page/redirect.phtml
- app/design/frontend/base/default/template/paypal/hss/review/button.phtml
- app/design/frontend/base/default/template/reports/widget/compared/column/compared_default_list.phtml
- app/design/frontend/base/default/template/reports/widget/compared/column/compared_images_list.phtml
- app/design/frontend/base/default/template/reports/widget/compared/column/compared_names_list.phtml
- app/design/frontend/base/default/template/reports/widget/compared/content/compared_grid.phtml
- app/design/frontend/base/default/template/reports/widget/compared/content/compared_list.phtml
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_default_list.phtml
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_images_list.phtml
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_names_list.phtml
- app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_list.phtml
- app/design/frontend/rwd/default/template/checkout/cart/render/default.phtml
- app/design/frontend/rwd/default/template/checkout/cart/render/simple.phtml
- app/design/frontend/rwd/default/template/customer/form/address.phtml
- app/design/frontend/rwd/default/template/customer/form/changepassword.phtml
- app/design/frontend/rwd/default/template/paypal/express/review/address.phtml
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_default_list.phtml
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_images_list.phtml
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_names_list.phtml
- app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_grid.phtml
- app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_list.phtml
- app/design/install/default/default/template/page.phtml
tmpDir: .phpstan.cache
level: 5
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
# universalObjectCratesClasses:
# - Varien_Object