Browse Source

Add no-api in the config as an acceptable config

Kath Young 6 years ago
parent
commit
8b1f8a4629
1 changed files with 1 additions and 0 deletions
  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);