Skip to content

Commit ba85329

Browse files
committed
fix Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in PEAR/PackageFile/v2/Validator.php on line 1933
1 parent 9633d93 commit ba85329

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: php
22
sudo: false
33
php:
4+
- 7.3
45
- 7.2
56
- 7.1
67
- 7.0

PEAR/PackageFile/v2/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,7 @@ function analyzeSourceCode($file, $string = false)
19301930

19311931
switch ($token) {
19321932
case T_WHITESPACE :
1933-
break;
1933+
continue 2;
19341934
case ';':
19351935
if ($interface) {
19361936
$current_function = '';

0 commit comments

Comments
 (0)