mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
🔨 composer/listOutdated : fix default composer path and update doc
This commit is contained in:
@@ -19,16 +19,23 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$iTopFolder = __DIR__ . "/../../" ;
|
/**
|
||||||
|
* Alias for `composer show -loD`
|
||||||
|
* You can also use `composer outdated -D`
|
||||||
|
*
|
||||||
|
* @link https://getcomposer.org/doc/03-cli.md#show
|
||||||
|
*/
|
||||||
|
|
||||||
require_once ("$iTopFolder/approot.inc.php");
|
$iTopFolder = __DIR__."/../../";
|
||||||
|
|
||||||
|
require_once("$iTopFolder/approot.inc.php");
|
||||||
$sApproot = APPROOT;
|
$sApproot = APPROOT;
|
||||||
$aTrace = array();
|
$aTrace = array();
|
||||||
|
|
||||||
$aParamsConfig = array(
|
$aParamsConfig = array(
|
||||||
'composer-path' => array(
|
'composer-path' => array(
|
||||||
'default' => 'composer.phar',
|
'default' => 'composer',
|
||||||
)
|
),
|
||||||
);
|
);
|
||||||
$aParamsConfigNotFound = array_flip(array_keys($aParamsConfig));
|
$aParamsConfigNotFound = array_flip(array_keys($aParamsConfig));
|
||||||
$aGivenArgs = $argv;
|
$aGivenArgs = $argv;
|
||||||
|
|||||||
Reference in New Issue
Block a user