Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / spaze/phpstan-disallowed-calls issues and pull requests

#296 - Re-allow in class with attributes

Pull Request - State: open - Opened by spaze 4 days ago

#295 - More callable param tests

Pull Request - State: closed - Opened by spaze 6 days ago

#293 - Check just one callable parameter variant

Pull Request - State: closed - Opened by spaze 7 days ago

#291 - You can now disallow `unset`, too

Pull Request - State: closed - Opened by spaze 8 days ago

#290 - Disallowing `isset` calls

Issue - State: closed - Opened by toniperic 9 days ago - 3 comments

#289 - feat: support isset() language construct

Pull Request - State: closed - Opened by ksaveras 9 days ago - 3 comments

#288 - False Positives on disallowedFunctionCalls Rule in Version 4.1.1

Issue - State: closed - Opened by yoannblot 9 days ago - 10 comments

#285 - Detect callables in constructors

Pull Request - State: closed - Opened by spaze 20 days ago

#283 - Add missing tests for allowed-by-path callable params calls

Pull Request - State: closed - Opened by spaze 21 days ago

#282 - Add "allowed" tests for callable params

Issue - State: closed - Opened by spaze 21 days ago

#281 - Detect callable parameters

Pull Request - State: closed - Opened by spaze 21 days ago

#280 - General code health improvements

Pull Request - State: closed - Opened by xHeaven about 1 month ago - 4 comments

#279 - First class callable syntax supported for functions and methods

Pull Request - State: closed - Opened by spaze about 2 months ago

#278 - More dynamic calls

Pull Request - State: closed - Opened by spaze about 2 months ago

#277 - Test anonymous class-related calls and usages

Pull Request - State: closed - Opened by spaze about 2 months ago

#276 - Detect dynamic function calls

Pull Request - State: closed - Opened by spaze about 2 months ago

#273 - Support PHPStan 1.12

Pull Request - State: closed - Opened by spaze 3 months ago

#270 - Support PHP 8.4

Pull Request - State: closed - Opened by spaze 3 months ago

#269 - disallow method call with inheritance

Issue - State: closed - Opened by verfriemelt-dot-org 4 months ago - 6 comments

#267 - Support PHPStan 2.0

Pull Request - State: closed - Opened by spaze 4 months ago - 3 comments

#266 - Process `ClassConstFetch` where `$class` is `Name` only for enums

Pull Request - State: closed - Opened by spaze 4 months ago

#265 - Get ready for PHPStan 2.0

Issue - State: closed - Opened by spaze 4 months ago

#264 - Unexpected item 'parameters › disallowedFunctionCalls'.

Issue - State: closed - Opened by welly 4 months ago - 3 comments

#263 - Add phpstan/phpstan-deprecation-rules in expectation of PHPStan 2.0

Pull Request - State: closed - Opened by spaze 4 months ago

#262 - Downgrader

Pull Request - State: closed - Opened by spaze 6 months ago - 1 comment

#261 - Add create_function as a disallowed function call

Pull Request - State: closed - Opened by BackEndTea 7 months ago - 2 comments

#260 - Fix test class name

Pull Request - State: closed - Opened by szepeviktor 7 months ago - 7 comments

#258 - Add default error identifiers, used if not specified

Pull Request - State: closed - Opened by spaze 9 months ago

#257 - Can disallow control structures like else, elseif, goto

Pull Request - State: closed - Opened by spaze 9 months ago - 1 comment

#255 - Add `phpinfo()` to dangerous calls config

Pull Request - State: closed - Opened by spaze 9 months ago

#254 - Update dev dependencies

Pull Request - State: closed - Opened by spaze 11 months ago

#253 - It's already a list, no need to call `array_values()`

Pull Request - State: closed - Opened by spaze 11 months ago

#251 - Run tests every day to assure compatibility

Pull Request - State: closed - Opened by spaze 12 months ago

#249 - `disallowed-loose-calls.neon` broke with PHPStan 1.10.58

Issue - State: closed - Opened by Rockylars 12 months ago - 3 comments

#248 - Support all Expr nodes when in dynamic constant fetch

Pull Request - State: closed - Opened by spaze about 1 year ago

#246 - Reuse the existing reflection and do it just once

Pull Request - State: closed - Opened by spaze about 1 year ago

#245 - `disallowedConstants`' `constant` field is always present

Pull Request - State: closed - Opened by spaze about 1 year ago

#244 - Test on `>=` 8.0 & 8.1, not just `>`

Pull Request - State: closed - Opened by spaze about 1 year ago

#243 - Added `disallowedEnums`, they use `DisallowedConstant` internally

Pull Request - State: closed - Opened by spaze about 1 year ago

#242 - Support dynamic class constant fetch available in PHP 8.3

Pull Request - State: closed - Opened by spaze about 1 year ago

#241 - Add support enum dynamic constant

Issue - State: closed - Opened by koraga about 1 year ago - 8 comments

#240 - Test one attribute with an attribute with multiple different values

Pull Request - State: closed - Opened by spaze about 1 year ago

#239 - No tests for `disallowedAttributes`

Issue - State: closed - Opened by ruudk about 1 year ago - 2 comments

#237 - The PHP 8.0 polyfill is not needed anymore

Pull Request - State: closed - Opened by spaze about 1 year ago

#235 - The `allowExceptParamsInAllowed` description was flipped around

Pull Request - State: closed - Opened by spaze about 1 year ago - 1 comment

#234 - Can specify params with a doctype in `typeString` config option

Pull Request - State: closed - Opened by spaze about 1 year ago - 1 comment

#233 - It would be cool if I could disallow a call with an empty array, e.g. `func([])`

Issue - State: closed - Opened by spaze about 1 year ago
Labels: enhancement

#232 - Can add more rules for the same call to have different messages for various params

Pull Request - State: closed - Opened by spaze about 1 year ago - 1 comment

#231 - `*AnyValue` param configs have no `value` field

Pull Request - State: closed - Opened by spaze about 1 year ago

#230 - Rename attribute tests and drop `ClassWithAttributesAllow`

Pull Request - State: closed - Opened by spaze about 1 year ago

#229 - disallowedAttributes: configure errorIdentifier and errorTip as optional

Pull Request - State: closed - Opened by francescolaffi about 1 year ago - 1 comment

#228 - Use the DI container in tests

Pull Request - State: closed - Opened by spaze about 1 year ago

#227 - Merge test `libs` dir into `src`

Pull Request - State: closed - Opened by spaze about 1 year ago

#226 - Make sure that trait is analysed

Pull Request - State: closed - Opened by ondrejmirtes about 1 year ago - 3 comments

#225 - Support more attribute targets: properties, class constants, params

Pull Request - State: closed - Opened by spaze about 1 year ago - 1 comment

#224 - Supporting attributes restrictions on more targets, i.e. properties

Issue - State: closed - Opened by francescolaffi about 1 year ago - 4 comments

#223 - Use the DI container in tests

Pull Request - State: closed - Opened by spaze about 1 year ago

#222 - Define parameters as a structure

Pull Request - State: closed - Opened by spaze about 1 year ago - 1 comment

#221 - Remove "because reasons", because reasons

Pull Request - State: closed - Opened by spaze about 1 year ago - 1 comment

#220 - Do not add ", because reasons" when no message is defined

Issue - State: closed - Opened by ruudk about 1 year ago - 2 comments

#218 - Bump actions/checkout to v4

Pull Request - State: closed - Opened by spaze over 1 year ago

#217 - Support PHP 8.3

Pull Request - State: closed - Opened by spaze over 1 year ago

#216 - After update psalm dies to unknown class

Issue - State: closed - Opened by vlakarados over 1 year ago - 4 comments

#214 - Use more precise `list<type>` instead of `type[]` where possible

Pull Request - State: closed - Opened by spaze over 1 year ago

#212 - Method calls from interface implementations are not detected

Pull Request - State: closed - Opened by enumag over 1 year ago - 5 comments

#211 - Wrong file order in tests/bootstrap.php

Issue - State: closed - Opened by enumag over 1 year ago - 2 comments

#210 - Document custom rulesets

Pull Request - State: closed - Opened by spaze over 1 year ago

#209 - Split the README into multiple smaller files

Pull Request - State: closed - Opened by spaze over 1 year ago

#208 - disallowedMethodCalls should also be triggered on inherited classes

Issue - State: closed - Opened by verfriemelt-dot-org over 1 year ago - 3 comments

#207 - Attributes can be specified like `#[\Foo()]`, not just like `Foo`

Pull Request - State: closed - Opened by spaze over 1 year ago

#204 - Load all library files automatically in tests

Pull Request - State: closed - Opened by spaze over 1 year ago

#203 - Make sure `new` calls are also filtered by definedIn

Pull Request - State: closed - Opened by BackEndTea over 1 year ago - 2 comments

#202 - Require the newest coding-standard

Pull Request - State: closed - Opened by spaze over 1 year ago

#200 - Make the `definedIn` test actually test what it should test

Pull Request - State: closed - Opened by spaze over 1 year ago

#199 - Can specify `exclude` as string

Pull Request - State: closed - Opened by spaze over 1 year ago

#198 - Add `definedIn?:string|list<string>` config option

Pull Request - State: closed - Opened by spaze over 1 year ago

#197 - Can exclude some attributes, calls, namespaces

Pull Request - State: closed - Opened by spaze over 1 year ago

#196 - Require symfony/polyfill-php80 for dev/tests

Pull Request - State: closed - Opened by spaze over 1 year ago

#195 - (Re)naming is hard, internal naming cleanup

Pull Request - State: closed - Opened by spaze over 1 year ago

#194 - FeatureRequest: `disallowDirectory`

Issue - State: closed - Opened by BackEndTea over 1 year ago - 4 comments
Labels: enhancement

#192 - Extension parameters in `extension.neon` should be defined as a structure

Issue - State: closed - Opened by spaze almost 2 years ago - 1 comment
Labels: enhancement

#191 - Lint `extension.neon` (and all `.neon` files, if any)

Pull Request - State: closed - Opened by spaze almost 2 years ago

#190 - `disallowedAttributes` (named) params can also be an array

Pull Request - State: closed - Opened by ruudk almost 2 years ago - 1 comment

#189 - Don't throw "Cannot access constant FOO on mixed"

Pull Request - State: closed - Opened by spaze almost 2 years ago

#187 - Remove the initial namespace separator from class names in one place

Pull Request - State: closed - Opened by spaze almost 2 years ago

#186 - Support `$foo::BAR` where `$foo` is declared as `class-string<Foo>`

Pull Request - State: closed - Opened by eithed almost 2 years ago - 2 comments

#183 - Can disallow attributes

Pull Request - State: closed - Opened by spaze almost 2 years ago - 3 comments

#182 - Create a sponsorship button

Pull Request - State: closed - Opened by spaze almost 2 years ago

#181 - Update dependencies

Pull Request - State: closed - Opened by spaze almost 2 years ago

#180 - Add support for disallowing things when used inside class with certain attribute

Issue - State: open - Opened by ruudk almost 2 years ago - 7 comments
Labels: enhancement

#179 - Add support for disallowing conditions on attributes

Issue - State: closed - Opened by ruudk almost 2 years ago - 4 comments
Labels: enhancement

#177 - Arrays in param configs not supported at the moment

Pull Request - State: closed - Opened by spaze almost 2 years ago

#175 - Use the same types in phpdoc as what the method signature says

Pull Request - State: closed - Opened by spaze almost 2 years ago - 1 comment

#174 - Remove `instanceof *Type`

Pull Request - State: closed - Opened by spaze almost 2 years ago

#173 - Remove helper classes

Pull Request - State: closed - Opened by spaze almost 2 years ago - 1 comment