Ecosyste.ms: Issues

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

GitHub / sirbrillig/phpcs-variable-analysis issues and pull requests

#348 - composer install fails on phpcs dev-master some time after 3.11.2

Issue - State: closed - Opened by sirbrillig about 2 months ago - 2 comments

#347 - Allow finding arrow function variables when arrow function is in file scope

Pull Request - State: closed - Opened by sirbrillig about 2 months ago - 1 comment

#346 - False positives of UnusedVariable in fn() functions

Issue - State: closed - Opened by ghnp5 about 2 months ago - 4 comments
Labels: bug

#345 - Add perf-guard github workflow

Pull Request - State: closed - Opened by sirbrillig 3 months ago - 5 comments

#344 - Improve phpstan configuration

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

#343 - Needs performance guard CI process

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

#342 - Only search for nested arrow functions if necessary

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

#341 - Do not search for nested arrow functions outside of arrow functions

Pull Request - State: closed - Opened by sirbrillig 3 months ago - 1 comment

#340 - Unexpected slowness since `v2.11.20`

Issue - State: closed - Opened by AronNovak 3 months ago - 7 comments
Labels: bug, performance

#339 - Handle compact inside arrow functions

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

#338 - Run static-analysis Github action on PHP 8.1

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

#337 - Simplify detecting class properties to improve detection for anonymous classes

Pull Request - State: closed - Opened by sirbrillig 3 months ago - 2 comments

#336 - GH Actions: PHP 8.4 has been released

Pull Request - State: closed - Opened by jrfnl 3 months ago - 1 comment

#335 - psalm fails during Github actions due to XML config error

Issue - State: closed - Opened by sirbrillig 3 months ago - 5 comments
Labels: bug, help wanted

#334 - Support nested arrow functions

Pull Request - State: closed - Opened by sirbrillig 3 months ago - 1 comment

#333 - Support constructor promotion with namespaced and union typehints

Pull Request - State: closed - Opened by sirbrillig 3 months ago - 2 comments

#332 - Anonymous classes and Type declarations cause false positive for UndefinedVariable bug

Issue - State: closed - Opened by yokozawa0701 3 months ago - 1 comment
Labels: bug

#330 - Arrow Functions and compact method cause false positive for UndefinedVariable bug

Issue - State: closed - Opened by yokozawa0701 3 months ago - 2 comments
Labels: bug

#329 - Nested fat arrow closures cause false positive for UndefinedVariable

Issue - State: closed - Opened by stefanfisk 4 months ago - 2 comments
Labels: bug

#328 - Tests: allow for running on PHPUnit 10/11

Pull Request - State: closed - Opened by jrfnl 6 months ago

#327 - Composer: psalm 5 is out of beta

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

#326 - Composer: prevent a lock file from being created

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

#325 - test: add test for nested arrow functions

Pull Request - State: open - Opened by petersendidit 7 months ago - 2 comments

#324 - fix: Process variable before the end of scope

Pull Request - State: closed - Opened by biinari 8 months ago - 3 comments

#323 - Variable not marked as used in short open echo tag

Issue - State: closed - Opened by biinari 8 months ago

#322 - GH Actions: work around intermittent apt-get errors

Pull Request - State: closed - Opened by jrfnl 10 months ago - 1 comment

#321 - Fix nullable constructor promotion detection

Pull Request - State: closed - Opened by sirbrillig 10 months ago

#320 - Handle constructor promotion with Nullable types

Issue - State: closed - Opened by yokozawa0701 11 months ago - 2 comments
Labels: bug

#317 - List assignment next to array causes unused variable warning

Issue - State: closed - Opened by djibarian 11 months ago - 5 comments
Labels: bug

#316 - GH Actions: Bump ramsey/composer-install from 2 to 3

Pull Request - State: closed - Opened by dependabot[bot] 12 months ago
Labels: dependencies

#315 - Switch to PHPCSStandards/PHP_CodeSniffer

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

#313 - GH Actions: switch to Coveralls action runner to upload reports

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

#312 - GH Actions: update for the release of PHP 8.3

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

#311 - GH Actions: minor tweaks

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

#310 - GH Actions: Bump coverallsapp/github-action from 1 to 2

Pull Request - State: closed - Opened by dependabot[bot] over 1 year ago - 2 comments
Labels: dependencies

#309 - GH Actions: Bump actions/checkout from 3 to 4

Pull Request - State: closed - Opened by dependabot[bot] over 1 year ago
Labels: dependencies

#308 - Add dependabot configuration file

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

#307 - Assignment of an array element counts as a read

Issue - State: open - Opened by sirbrillig over 1 year ago
Labels: bug

#306 - Do not close scope of ref reassignment when inside else

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

#305 - Variable reported as unused on an assignment by reference

Issue - State: closed - Opened by rodrigoaguilera over 1 year ago - 2 comments
Labels: bug

#304 - Make test suite compatible with PHPCS 3.8.0

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

#303 - GH Actions: update for php-coveralls 2.6.0

Pull Request - State: closed - Opened by jrfnl over 1 year ago - 4 comments

#302 - Feature Request: don't report on unused parameters for deprecated functions

Issue - State: open - Opened by jrfnl almost 2 years ago
Labels: enhancement

#301 - Allow newlines in arrow functions

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

#300 - Undefined variable error introduced in v2.11.15

Issue - State: closed - Opened by srtfisher almost 2 years ago - 2 comments

#299 - Incorrect warning Variable $var is undefined.

Issue - State: closed - Opened by bnoordsij almost 2 years ago - 6 comments

#298 - Fix scope closer detection in arrow function detection

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

#297 - Ternary operator inside arrow function

Issue - State: closed - Opened by tomrajnoha almost 2 years ago - 3 comments
Labels: bug

#296 - Use custom logic for finding arrow function scope

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

#295 - Unused function parameter in lambda function

Issue - State: closed - Opened by ghnp5 almost 2 years ago - 4 comments
Labels: bug

#294 - Add readonly constructor promotion support

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

#293 - Allow non-enum tokens called 'enum'

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

#292 - method call called 'enum' causes an "Cannot find enum start at position" error

Issue - State: closed - Opened by Levivb almost 2 years ago - 2 comments
Labels: bug

#291 - GH Actions: various tweaks / fix code coverage

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

#290 - Support constructor promotion with readonly properties (UnusedVariable)

Issue - State: closed - Opened by defunctl almost 2 years ago - 5 comments
Labels: bug

#289 - Add support for enum methods

Pull Request - State: closed - Opened by sirbrillig about 2 years ago - 8 comments

#288 - Variable $this is undefined in enum

Issue - State: closed - Opened by satiromarra about 2 years ago - 1 comment
Labels: bug

#287 - Composer: allow for the 1.0.0 version of the Composer PHPCS plugin

Pull Request - State: closed - Opened by jrfnl about 2 years ago

#286 - Add explicit types for 'nested_parenthesis'

Pull Request - State: closed - Opened by sirbrillig about 2 years ago

#285 - GH Actions: various tweaks / PHP 8.2 not allowed to fail

Pull Request - State: closed - Opened by jrfnl about 2 years ago - 2 comments

#284 - GH Actions: bust the cache semi-regularly

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 1 comment

#283 - GH Actions: various updates

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 8 comments

#282 - QA: minor code tweak

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 1 comment

#281 - Prevent detecting static closures when looking for static variables

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#280 - Incorrect warning about redeclaration of function parameter as static variable

Issue - State: closed - Opened by mxr576 over 2 years ago - 2 comments
Labels: bug

#279 - Fix function call detection to exclude non-function tokens

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#278 - Add "static analysis" Composer keyword

Pull Request - State: closed - Opened by GaryJones over 2 years ago

#277 - False-positive `UndefinedVariable` for static variable inside an anonymous function

Issue - State: closed - Opened by shvlv over 2 years ago - 4 comments
Labels: bug

#276 - Place static arrow function body outside of scope on static declaration check (#275)

Pull Request - State: closed - Opened by arkener over 2 years ago - 1 comment

#275 - Incorrect warning for arguments are thrown on static arrow functions

Issue - State: closed - Opened by arkener over 2 years ago - 1 comment

#274 - Fix scanning for static variables near start of file

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#273 - Ignore function call arguments on static declarations processing (#272)

Pull Request - State: closed - Opened by arkener over 2 years ago - 1 comment

#272 - Incorrect warning for arguments to static methods that return "new static()"

Issue - State: closed - Opened by rickdenhaan over 2 years ago - 3 comments

#271 - Support of array desctructing

Issue - State: closed - Opened by shvlv over 2 years ago - 2 comments

#270 - Ignore unused parameters when function in abstract class is empty

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#269 - Remove php_errormsg from superglobals list

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#268 - Handle inline if list destructure

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#267 - Improve static declaration checks

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#266 - Support constructor promotion

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#265 - Refactor to move scope management to ScopeManager class

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#264 - Add psalm static analysis

Pull Request - State: closed - Opened by sirbrillig over 2 years ago

#263 - Inline if-clause with short-list false positive

Issue - State: closed - Opened by sybrew over 2 years ago - 5 comments
Labels: bug

#262 - Allow for loop increment expression to use variable defined inside loop

Pull Request - State: closed - Opened by sirbrillig over 2 years ago - 5 comments

#261 - UndefinedVariable first assigned in for loop, used in loop expression

Issue - State: closed - Opened by kevinoid over 2 years ago - 1 comment

#260 - Tests: declare error codes as constants in the BaseTestCase

Pull Request - State: closed - Opened by jrfnl over 2 years ago

#259 - PHPCS: switch to phpcsdevcs

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 1 comment

#258 - CS: class/function braces on new line

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 1 comment

#257 - CS/QA: align different data in `@param` tags

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 2 comments

#256 - CS/QA: various small tweaks

Pull Request - State: closed - Opened by jrfnl over 2 years ago

#255 - CS/QA: use camelCase variable names

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 2 comments

#254 - PHPCS: enforce tab indentation

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 1 comment

#253 - Improve handling of initial values in initializers

Issue - State: closed - Opened by jrfnl over 2 years ago - 1 comment
Labels: bug

#252 - CI/QA: Switch to GitHub Actions and start using Coveralls

Pull Request - State: closed - Opened by jrfnl over 2 years ago - 1 comment

#251 - Minor spacing fix to satisfy the linter

Pull Request - State: closed - Opened by sirbrillig over 2 years ago