               (call-process php-cs-fixer-command
                             nil errbuf nil
                             "fix"
-                            (if php-cs-config-option
-                                (concat "--config=" (shell-quote-argument php-cs-config-option))
+                            (if php-cs-fixer-config-option
+                                (concat "--config=" (shell-quote-argument php-cs-fixer-config-option))
                               (php-cs-fixer--build-rules-options))
                             "--using-cache=no"
                             "--quiet"

           ))
  :group 'php-cs-fixer)

(defcustom php-cs-rules-fixer-part-options
  '("no_multiline_whitespace_before_semicolons" "concat_space")
  "The 'php-cs-fixer' --rules part options.
These options are not part of `php-cs-rules-level-part-options`."
  :type '(repeat string)
  :group 'php-cs-fixer)



(defun php-cs-fixer--build-rules-options ()
  "Private method to build the --rules options."
  (if php-cs-fixer-config-option ""
    (let ((base-opts
           (concat
            (if php-cs-fixer-rules-level-part-options
                (concat (mapconcat 'identity php-cs-fixer-rules-level-part-options ",") ",")
              nil)
            "-psr0" ;; Because tmpfile can not support this constraint
            ))
          (other-opts (if php-cs-fixer-rules-fixer-part-options (concat "," (mapconcat 'identity php-cs-fixer-rules-fixer-part-options ",")) nil)))

      (concat
       "--rules=" base-opts
