composeer update

This commit is contained in:
2019-06-23 11:49:01 +00:00
parent fc2380d68c
commit e9efe70112
327 changed files with 5194 additions and 2278 deletions
+5
View File
@@ -1,3 +1,8 @@
1.8.1 / 2019/06/13
==================
* [fixed] Don't try to patch final constructors (@NiR)
1.8.0 / 2018/08/05
==================
+2 -2
View File
@@ -31,8 +31,8 @@
},
"autoload": {
"psr-0": {
"Prophecy\\": "src/"
"psr-4": {
"Prophecy\\": "src/Prophecy"
}
},
@@ -41,6 +41,10 @@ class DisableConstructorPatch implements ClassPatchInterface
*/
public function apply(ClassNode $node)
{
if (!$node->isExtendable('__construct')) {
return;
}
if (!$node->hasMethod('__construct')) {
$node->addMethod(new MethodNode('__construct', ''));