maj
This commit is contained in:
@@ -102,11 +102,10 @@ class CleanCommand extends Command
|
||||
'vendor/dragonmantank/cron-expression/composer.json',
|
||||
'vendor/dragonmantank/cron-expression/tests',
|
||||
'vendor/dragonmantank/cron-expression/CHANGELOG.md',
|
||||
'vendor/enshrined/svg-sanitize/tests',
|
||||
'vendor/enshrined/svg-sanitize/.gitignore',
|
||||
'vendor/enshrined/svg-sanitize/.travis.yml',
|
||||
'vendor/enshrined/svg-sanitize/composer.json',
|
||||
'vendor/enshrined/svg-sanitize/phpunit.xml',
|
||||
'vendor/rhukster/dom-sanitizer/tests',
|
||||
'vendor/rhukster/dom-sanitizer/.gitignore',
|
||||
'vendor/rhukster/dom-sanitizer/composer.json',
|
||||
'vendor/rhukster/dom-sanitizer/composer.lock',
|
||||
'vendor/erusev/parsedown/composer.json',
|
||||
'vendor/erusev/parsedown/phpunit.xml.dist',
|
||||
'vendor/erusev/parsedown/.travis.yml',
|
||||
|
||||
@@ -200,7 +200,6 @@ class IndexCommand extends GpmCommand
|
||||
*/
|
||||
private function installed(Package $package): string
|
||||
{
|
||||
$package = $list[$package->slug] ?? $package;
|
||||
$type = ucfirst(preg_replace('/s$/', '', $package->package_type));
|
||||
$method = 'is' . $type . 'Installed';
|
||||
$installed = $this->gpm->{$method}($package->slug);
|
||||
@@ -214,7 +213,6 @@ class IndexCommand extends GpmCommand
|
||||
*/
|
||||
private function enabled(Package $package): string
|
||||
{
|
||||
$package = $list[$package->slug] ?? $package;
|
||||
$type = ucfirst(preg_replace('/s$/', '', $package->package_type));
|
||||
$method = 'is' . $type . 'Installed';
|
||||
$installed = $this->gpm->{$method}($package->slug);
|
||||
|
||||
Reference in New Issue
Block a user