original_string: public function replaceAll($name, $value, $valueRegex = null)
      {
          $this->arguments[] = '--replace-all';
          $this->arguments[] = $name;
          $this->arguments[] = $value;
          if ($valueRegex !== null) {
              $this->arguments[] = $valueRegex;
          }
          return $this;
      }
code: public function replaceAll($name, $value, $valueRegex = null)
      {
          $this->arguments[] = '--replace-all';
          $this->arguments[] = $name;
          $this->arguments[] = $value;
          if ($valueRegex !== null) {
              $this->arguments[] = $valueRegex;
          }
          return $this;
      }
code_tokens: public function replaceAll ( $ name , $ value , $ valueRegex = null ) { $ this -> arguments [ ] = '--replace-all' ; $ this -> arguments [ ] = $ name ; $ this -> arguments [ ] = $ value ; if ( $ valueRegex !== null ) { $ this -> arguments [ ] = $ valueRegex ; } return $ this ; }
docstring: Add the replace-all option and associated parameters to the command line.
  
  @param string      $name       The config value name.
  
  @param string      $value      The value to use.
  
  @param null|string $valueRegex The value regex to use.
  
  @return ConfigCommandBuilder
docstring_tokens: Add the replace - all option and associated parameters to the command line .