Browse Source

Fix phpcs

Laurent Destailleur 4 years ago
parent
commit
5917a9f73e
2 changed files with 8 additions and 3 deletions
  1. 5 0
      dev/setup/codesniffer/README
  2. 3 3
      htdocs/theme/md/style.css.php

+ 5 - 0
dev/setup/codesniffer/README

@@ -10,6 +10,11 @@ To run phpcs:
 > cd dolibarrgitrepo
 > phpcs --standard=dev/setup/codesniffer/ruleset.xml --extensions=php --parallel=8 .
 
+To fix with phpcbf:
+> cd dolibarrgitrepo
+> phpcbf --standard=dev/setup/codesniffer/ruleset.xml --extensions=php --parallel=8 .
+
+
 Note with Eclipse: You must setup the PTI plugin of Eclipse into PHPCodeSniffer menu with:
 * tab value to 4
 * path of code sniffer standard to dev/codesniffer 

+ 3 - 3
htdocs/theme/md/style.css.php

@@ -6623,9 +6623,9 @@ div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
 /* ============================================================================== */
 
 span.clipboardCPValue.hidewithsize {
-    width: 0 !important;
-    display: inline-block;
-    color: transparent;
+	width: 0 !important;
+	display: inline-block;
+	color: transparent;
 }
 
 .clipboardCPShowOnHover .clipboardCPButton {