package updates
This commit is contained in:
4
vendor/opis/closure/CHANGELOG.md
vendored
4
vendor/opis/closure/CHANGELOG.md
vendored
@@ -1,6 +1,10 @@
|
||||
CHANGELOG
|
||||
---------
|
||||
|
||||
### v3.1.2, 2018.12.16
|
||||
|
||||
* Fixed a bug regarding comma trail in group-use statements. See [issue 23](https://github.com/opis/closure/issues/23)
|
||||
|
||||
### v3.1.1, 2018.10.02
|
||||
|
||||
* Fixed a bug where `parent` keyword was treated like a class-name and scope was not added to the
|
||||
|
||||
2
vendor/opis/closure/composer.json
vendored
2
vendor/opis/closure/composer.json
vendored
@@ -19,7 +19,7 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"jeremeamia/superclosure": "^2.0",
|
||||
"phpunit/phpunit": "^4.0"
|
||||
"phpunit/phpunit": "^4.0|^5.0|^6.0|^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
@@ -775,6 +775,8 @@ class ReflectionClosure extends ReflectionFunction
|
||||
$state = 'alias';
|
||||
break;
|
||||
}
|
||||
} elseif ($name === '') {
|
||||
$state = 'start';
|
||||
} else {
|
||||
if ($name[0] !== '\\' && $prefix === '') {
|
||||
$name = '\\' . $name;
|
||||
@@ -792,7 +794,7 @@ class ReflectionClosure extends ReflectionFunction
|
||||
$classes[strtolower($alias)] = $prefix . $name;
|
||||
}
|
||||
$name = '';
|
||||
$state = $token == ',' ? 'use' : 'start';
|
||||
$state = 'use';
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user