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
Support PHPStan 1.12
#273
spaze
closed
1 week ago
0
Support PHP 8.4
#270
spaze
closed
4 weeks ago
0
disallow method call with inheritance
#269
verfriemelt-dot-org
opened
1 month ago
3
Support PHPStan 2.0
#267
spaze
closed
1 week ago
3
Process `ClassConstFetch` where `$class` is `Name` only for enums
#266
spaze
closed
1 month ago
0
Get ready for PHPStan 2.0
#265
spaze
closed
1 week ago
0
Unexpected item 'parameters › disallowedFunctionCalls'.
#264
welly
closed
1 month ago
3
Add phpstan/phpstan-deprecation-rules in expectation of PHPStan 2.0
#263
spaze
closed
1 month ago
0
Downgrader
#262
spaze
closed
1 week ago
1
Add create_function as a disallowed function call
#261
BackEndTea
closed
4 months ago
2
Fix test class name
#260
szepeviktor
closed
4 months ago
7
Add default error identifiers, used if not specified
#258
spaze
closed
6 months ago
0
Can disallow control structures like else, elseif, goto
#257
spaze
closed
6 months ago
1
Add `phpinfo()` to dangerous calls config
#255
spaze
closed
7 months ago
0
Update dev dependencies
#254
spaze
closed
8 months ago
0
It's already a list, no need to call `array_values()`
#253
spaze
closed
9 months ago
0
Run tests every day to assure compatibility
#251
spaze
closed
9 months ago
0
Hardcode `ENT_QUOTES` as int `3` in `disallowed-loose-calls.neon` config
#250
spaze
closed
9 months ago
0
`disallowed-loose-calls.neon` broke with PHPStan 1.10.58
#249
Rockylars
closed
9 months ago
3
Support all Expr nodes when in dynamic constant fetch
#248
spaze
closed
10 months ago
0
Reuse the existing reflection and do it just once
#246
spaze
closed
10 months ago
0
`disallowedConstants`' `constant` field is always present
#245
spaze
closed
10 months ago
0
Test on `>=` 8.0 & 8.1, not just `>`
#244
spaze
closed
10 months ago
0
Added `disallowedEnums`, they use `DisallowedConstant` internally
#243
spaze
closed
10 months ago
0
Support dynamic class constant fetch available in PHP 8.3
#242
spaze
closed
10 months ago
0
Add support enum dynamic constant
#241
koraga
closed
10 months ago
8
Test one attribute with an attribute with multiple different values
#240
spaze
closed
10 months ago
0
No tests for `disallowedAttributes`
#239
ruudk
closed
10 months ago
2
Having multiple `allowExceptCaseInsensitiveParams` together with `disallowedAttributes` does not work
#238
ruudk
closed
10 months ago
3
The PHP 8.0 polyfill is not needed anymore
#237
spaze
closed
10 months ago
0
The `allowExceptParamsInAllowed` description was flipped around
#235
spaze
closed
11 months ago
1
Can specify params with a doctype in `typeString` config option
#234
spaze
closed
11 months ago
1
It would be cool if I could disallow a call with an empty array, e.g. `func([])`
#233
spaze
closed
11 months ago
0
Can add more rules for the same call to have different messages for various params
#232
spaze
closed
11 months ago
1
`*AnyValue` param configs have no `value` field
#231
spaze
closed
11 months ago
0
Rename attribute tests and drop `ClassWithAttributesAllow`
#230
spaze
closed
11 months ago
0
disallowedAttributes: configure errorIdentifier and errorTip as optional
#229
francescolaffi
closed
11 months ago
1
Use the DI container in tests
#228
spaze
closed
11 months ago
0
Merge test `libs` dir into `src`
#227
spaze
closed
11 months ago
0
Make sure that trait is analysed
#226
ondrejmirtes
closed
11 months ago
3
Support more attribute targets: properties, class constants, params
#225
spaze
closed
11 months ago
1
Supporting attributes restrictions on more targets, i.e. properties
#224
francescolaffi
closed
11 months ago
4
Use the DI container in tests
#223
spaze
closed
11 months ago
0
Define parameters as a structure
#222
spaze
closed
11 months ago
1
Remove "because reasons", because reasons
#221
spaze
closed
12 months ago
1
Do not add ", because reasons" when no message is defined
#220
ruudk
closed
12 months ago
2
Bump actions/checkout to v4
#218
spaze
closed
1 year ago
0
Support PHP 8.3
#217
spaze
closed
1 year ago
0
After update psalm dies to unknown class
#216
vlakarados
closed
1 year ago
4
Use more precise `list<type>` instead of `type[]` where possible
#214
spaze
closed
1 year ago
0
Next