瀏覽代碼

Add no-api in the config as an acceptable config

Kath Young 6 年之前
父節點
當前提交
8b1f8a4629
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Composer/Command/ConfigCommand.php

+ 1 - 0
src/Composer/Command/ConfigCommand.php

@@ -302,6 +302,7 @@ EOT
         $uniqueConfigValues = array(
             'process-timeout' => array('is_numeric', 'intval'),
             'use-include-path' => array($booleanValidator, $booleanNormalizer),
+            'no-api' => array($booleanValidator, $booleanNormalizer),
             'preferred-install' => array(
                 function ($val) {
                     return in_array($val, array('auto', 'source', 'dist'), true);