Skip to content

Commit 0d45b03

Browse files
committed
Fix: #112 Call to function unset() contains undefined variable $line.
1 parent 2dc8344 commit 0d45b03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"squizlabs/php_codesniffer": "*",
3737
"phpmd/phpmd": "2.*",
3838
"jblond/php-cli": "^1.0",
39-
"digilive/git-changelog": "^1"
39+
"digilive/git-changelog": "^1",
40+
"vimeo/psalm": "^4.23"
4041
},
4142
"suggest": {
4243
"jblond/php-cli": "^1.0"

lib/jblond/Diff/SequenceMatcher.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ static function (&$line) {
369369
$line = trim($line);
370370
}
371371
);
372-
unset($line);
373372
}
374373

375374
if (

0 commit comments

Comments
 (0)