 
 (defun php-cs-fixer--build-rules-options ()
   "Private method to build the --rules options."
-  (if php-cs-config-option ""
+  (if php-cs-fixer-config-option ""
     (let ((base-opts
            (concat
-            (if php-cs-rules-level-part-options
-                (concat (mapconcat 'identity php-cs-rules-level-part-options ",") ",")
+            (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-rules-fixer-part-options (concat "," (mapconcat 'identity php-cs-rules-fixer-part-options ",")) nil)))
+          (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

  :type 'string
  :group 'php-cs-fixer)

(defcustom php-cs-config-option nil
  "The 'php-cs-fixer' config option.
If not nil `php-cs-rules-level-part-options`
and `php-cs-rules-fixer-part-options` are not used."
  :type 'string
  :group 'php-cs-fixer)

(defcustom php-cs-rules-level-part-options '("@Symfony")
  "The 'php-cs-fixer' --rules base part options."
  :type '(repeat
          (choice

              (call-process php-cs-fixer-command
                            nil errbuf nil
                            "fix"
                            (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"
