better support for installing plugins via composer (#5112)
* merge installation and update commands * generate metadata from array * new command to list available packages * added a management script to simplify updates * added directory for dev files * helper functions for installation and listing of packages * run plugin database installers
This commit is contained in:
@@ -20,8 +20,8 @@ class PluginMetadataTest extends TestCase
|
||||
public function testNonExistingDirectoryThrowsException(): void
|
||||
{
|
||||
$this->expectException(\Exception::class);
|
||||
$this->expectExceptionMessage('Bundle "Plugin" does not ship composer.json, which is required since 2.0.');
|
||||
$this->expectExceptionMessage('Bundle does not ship composer.json, which is required since 2.0.');
|
||||
|
||||
new PluginMetadata(__DIR__);
|
||||
PluginMetadata::createFromPath(__DIR__);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user