issues
search
spaze
/
phpstan-disallowed-calls
PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages
MIT License
263
stars
17
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Specify all required files explicitly in given order and test all libs loaded
#213
spaze
closed
1 year ago
0
Method calls from interface implementations are not detected
#212
enumag
closed
1 year ago
5
Wrong file order in tests/bootstrap.php
#211
enumag
closed
1 year ago
2
Document custom rulesets
#210
spaze
closed
1 year ago
0
Split the README into multiple smaller files
#209
spaze
closed
1 year ago
0
disallowedMethodCalls should also be triggered on inherited classes
#208
verfriemelt-dot-org
closed
1 year ago
3
Attributes can be specified like `#[\Foo()]`, not just like `Foo`
#207
spaze
closed
1 year ago
0
Load all library files automatically in tests
#204
spaze
closed
1 year ago
0
Make sure `new` calls are also filtered by definedIn
#203
BackEndTea
closed
1 year ago
2
Require the newest coding-standard
#202
spaze
closed
1 year ago
0
Make the `definedIn` test actually test what it should test
#200
spaze
closed
1 year ago
0
Can specify `exclude` as string
#199
spaze
closed
1 year ago
0
Add `definedIn?:string|list<string>` config option
#198
spaze
closed
1 year ago
0
Can exclude some attributes, calls, namespaces
#197
spaze
closed
1 year ago
0
Require symfony/polyfill-php80 for dev/tests
#196
spaze
closed
1 year ago
0
(Re)naming is hard, internal naming cleanup
#195
spaze
closed
1 year ago
0
FeatureRequest: `disallowDirectory`
#194
BackEndTea
closed
1 year ago
4
Extension parameters in `extension.neon` should be defined as a structure
#192
spaze
closed
12 months ago
1
Lint `extension.neon` (and all `.neon` files, if any)
#191
spaze
closed
1 year ago
0
`disallowedAttributes` (named) params can also be an array
#190
ruudk
closed
1 year ago
1
Don't throw "Cannot access constant FOO on mixed"
#189
spaze
closed
1 year ago
0
Remove the initial namespace separator from class names in one place
#187
spaze
closed
1 year ago
0
Support `$foo::BAR` where `$foo` is declared as `class-string<Foo>`
#186
eithed
closed
1 year ago
2
Can disallow attributes
#183
spaze
closed
1 year ago
3
Create a sponsorship button
#182
spaze
closed
1 year ago
0
Update dependencies
#181
spaze
closed
1 year ago
0
Add support for disallowing things when used inside class with certain attribute
#180
ruudk
opened
1 year ago
6
Add support for disallowing conditions on attributes
#179
ruudk
closed
1 year ago
4
Arrays in param configs not supported at the moment
#177
spaze
closed
1 year ago
0
Use the same types in phpdoc as what the method signature says
#175
spaze
closed
1 year ago
1
Remove `instanceof *Type`
#174
spaze
closed
1 year ago
0
Remove helper classes
#173
spaze
closed
1 year ago
1
Correct allow path in tests
#171
spaze
closed
1 year ago
0
Make tests pass on Windows™ too
#170
spaze
closed
1 year ago
0
Disable backslash escaping in "is allowed" helper
#169
mnastalski
closed
1 year ago
6
Don't return plain false when the param is not of the type we know how to process
#167
spaze
closed
1 year ago
1
allowExceptParams fails on v2.11.3 when concatenation with object param
#166
simivar
closed
1 year ago
1
Test calling and disallowing a function when its `disallowedParam` is `array|string|null`
#165
mad-briller
closed
1 year ago
5
Support union types in params
#163
spaze
closed
1 year ago
0
Union types are not supported in params
#162
spaze
closed
1 year ago
0
Extra test to ensure `FQCN::class` is disallowed properly
#161
ruudk
closed
1 year ago
1
Rename branch to `main`
#160
ruudk
closed
1 year ago
2
Change ConstantScalarType to Type in DisallowedCallParam
#159
ruudk
closed
1 year ago
5
Drop redundant Value in param classes
#157
spaze
closed
1 year ago
0
Params can be specified as an array now
#156
spaze
closed
1 year ago
0
When a call is disallowed due to a parameter rule, display a different message
#155
spaze
closed
11 months ago
0
allowParams* reports invalid configuration
#153
eithed
closed
1 year ago
3
Update loose config to use `allowParamFlagsAnywhere`
#151
spaze
closed
1 year ago
0
Support flag/bitmask params
#150
spaze
closed
1 year ago
0
A script to generate config from 'disable_functions' & 'disable_classes'
#149
spaze
closed
1 year ago
0
Previous
Next