issues
search
sirbrillig
/
phpcs-variable-analysis
Find undefined and unused variables with the PHP Codesniffer static analysis tool.
Other
136
stars
14
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Fix function call detection to exclude non-function tokens
#279
sirbrillig
closed
2 years ago
0
Add "static analysis" Composer keyword
#278
GaryJones
closed
2 years ago
0
False-positive `UndefinedVariable` for static variable inside an anonymous function
#277
shvlv
closed
2 years ago
4
Place static arrow function body outside of scope on static declaration check (#275)
#276
arkener
closed
2 years ago
1
Incorrect warning for arguments are thrown on static arrow functions
#275
arkener
closed
2 years ago
1
Fix scanning for static variables near start of file
#274
sirbrillig
closed
2 years ago
0
Ignore function call arguments on static declarations processing (#272)
#273
arkener
closed
2 years ago
1
Incorrect warning for arguments to static methods that return "new static()"
#272
rickdenhaan
closed
2 years ago
3
Support of array desctructing
#271
shvlv
closed
2 years ago
2
Ignore unused parameters when function in abstract class is empty
#270
sirbrillig
closed
2 years ago
0
Remove php_errormsg from superglobals list
#269
sirbrillig
closed
2 years ago
0
Handle inline if list destructure
#268
sirbrillig
closed
2 years ago
0
Improve static declaration checks
#267
sirbrillig
closed
2 years ago
0
Support constructor promotion
#266
sirbrillig
closed
2 years ago
0
Refactor to move scope management to ScopeManager class
#265
sirbrillig
closed
2 years ago
0
Add psalm static analysis
#264
sirbrillig
closed
2 years ago
0
Inline if-clause with short-list false positive
#263
sybrew
closed
2 years ago
5
Allow for loop increment expression to use variable defined inside loop
#262
sirbrillig
closed
2 years ago
5
UndefinedVariable first assigned in for loop, used in loop expression
#261
kevinoid
closed
2 years ago
1
Tests: declare error codes as constants in the BaseTestCase
#260
jrfnl
closed
2 years ago
0
PHPCS: switch to phpcsdevcs
#259
jrfnl
closed
2 years ago
1
CS: class/function braces on new line
#258
jrfnl
closed
2 years ago
1
CS/QA: align different data in `@param` tags
#257
jrfnl
closed
2 years ago
2
CS/QA: various small tweaks
#256
jrfnl
closed
2 years ago
0
CS/QA: use camelCase variable names
#255
jrfnl
closed
2 years ago
2
PHPCS: enforce tab indentation
#254
jrfnl
closed
2 years ago
1
Improve handling of initial values in initializers
#253
jrfnl
closed
2 years ago
1
CI/QA: Switch to GitHub Actions and start using Coveralls
#252
jrfnl
closed
2 years ago
1
Minor spacing fix to satisfy the linter
#251
sirbrillig
closed
2 years ago
0
Composer: up minimum PHPCS to 3.5.6
#250
jrfnl
closed
2 years ago
0
Composer/Tests: remove Limedeck printer
#249
jrfnl
closed
2 years ago
1
PHP 8.2 | Fix deprecated embedded variables in text strings
#248
jrfnl
closed
2 years ago
0
Tests: use strict assertions
#247
jrfnl
closed
2 years ago
0
PHPStan: update to run against current version
#246
jrfnl
closed
2 years ago
1
PHPUnit config: add schema references
#245
jrfnl
closed
2 years ago
0
Ruleset: various minor improvements
#244
jrfnl
closed
2 years ago
1
Add validUndefinedVariableNamesInFileScope
#243
andrewnicols
opened
2 years ago
1
Update for Composer 2.2
#242
jrfnl
closed
2 years ago
3
PHPUnit: update configuration
#241
jrfnl
closed
3 years ago
3
using extract on trusted data will show undefined
#240
ghost
closed
3 years ago
2
Respect ignoring undefined variables in else blocks
#239
sirbrillig
closed
3 years ago
0
Property validUndefinedVariableNames is ignored inside else statement
#238
udovicic
closed
3 years ago
1
Reduce use of array_... functions
#237
sirbrillig
opened
3 years ago
0
Only use HTML/close PHP tag tokens as empty when necessary
#236
sirbrillig
closed
3 years ago
0
Ignore double assignment by reference if second is inside condition
#235
sirbrillig
closed
3 years ago
0
Allow parsing mixed HTML and PHP
#234
sirbrillig
closed
3 years ago
0
Undefined variables in function calls are not detected
#233
GaryJones
closed
3 years ago
2
File-scope unused variable not detected when ?> is present
#232
GaryJones
closed
3 years ago
3
False positive detection of "unused variable" when assigned by reference.
#231
rooflack
closed
3 years ago
2
Start inline block scope at end of condition rather than at keyword
#230
sirbrillig
closed
3 years ago
2
Previous
Next