File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
tests/Functional/Fixtures/packages/patchset/v1.0 Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1+ [ ![ Build Status] ( https://travis-ci.org/creativestyle/composer-plugin-patchset.svg?branch=master )] ( https://travis-ci.org/creativestyle/composer-plugin-patchset )
2+
13Composer Plugin For Applying Patchsets
24======================================
35
Original file line number Diff line number Diff line change 11{
22 "name" : " creativestyle/composer-plugin-patchset" ,
3- "description" : " Composer plugin that automatically applies patches from a patchset file " ,
3+ "description" : " Composer plugin that automatically applies patches from a patchset package " ,
44 "type" : " composer-plugin" ,
55 "license" : " OSL-3.0" ,
66 "authors" : [
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ protected function collectFromPackage(PackageInterface $package)
7979 return [];
8080 }
8181
82- return $ this ->createPatches ($ package ->getName (), $ package ->getExtra ()['patches ' ]);
82+ return $ this ->createPatches ($ package ->getName (), $ package ->getExtra ()['patchset ' ]);
8383 }
8484
8585 /**
@@ -88,7 +88,7 @@ protected function collectFromPackage(PackageInterface $package)
8888 */
8989 public function isAValidPatchset (PackageInterface $ package )
9090 {
91- return $ package ->getType () === 'patchset ' && isset ($ package ->getExtra ()['patches ' ]);
91+ return $ package ->getType () === 'patchset ' && isset ($ package ->getExtra ()['patchset ' ]);
9292 }
9393
9494 /**
Original file line number Diff line number Diff line change 66 "creativestyle/composer-plugin-patchset" : " *"
77 },
88 "extra" : {
9- "patches " : {
9+ "patchset " : {
1010 "test/simple-package" : [
1111 {
1212 "description" : " Patch in echo in the middle" ,
You can’t perform that action at this time.
0 commit comments