You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow undefined variables inside isset and empty (#204)
* Add tests for isset and empty
* Ignore undefined variables inside isset or empty
* Make sure we detect the start of arguments
* Add test to make sure isset still counts as read
* Explicitly do not count variable definitions for getFunctionIndexForFunctionCallArgument
* Mark isset/empty usage as a read
23, // ideally this should not be a warning, but will be because it is difficult to know: https://github.com/sirbrillig/phpcs-variable-analysis/issues/202#issuecomment-688507314
doSomething($undefinedVar); // ideally this should not be a warning, but will be because it is difficult to know: https://github.com/sirbrillig/phpcs-variable-analysis/issues/202#issuecomment-688507314
0 commit comments