diff --git a/.github/workflows/phpcbf.yml b/.github/workflows/phpcbf.yml index 5d0e262febd..2ca6d5a2a88 100644 --- a/.github/workflows/phpcbf.yml +++ b/.github/workflows/phpcbf.yml @@ -13,7 +13,7 @@ jobs: github_token: ${{ secrets.github_token }} use_default_configuration_file: false phpcs_standard: 'dev/setup/codesniffer/ruleset.xml' - phpcs_args: '-n' # ignore warnings + phpcs_args: '-n -s -d memory_limit=-1 --parallel=2 --extensions=php --colors --tab-width=4 --encoding=utf-8 --runtime-set ignore_warnings_on_exit true' #- uses: stefanzweifel/git-auto-commit-action@v4 # auto commit the fixes action for GitHub # with: # commit_message: Fix PHPCS errors diff --git a/htdocs/accountancy/admin/account.php b/htdocs/accountancy/admin/account.php index 34766f92778..9db51eb136c 100644 --- a/htdocs/accountancy/admin/account.php +++ b/htdocs/accountancy/admin/account.php @@ -33,7 +33,6 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formaccounting.class.php'; // Load translation files required by the page $langs->loadLangs(array('accountancy', 'admin', 'bills', 'compta', 'salaries')); -$mesg = ''; $action = GETPOST('action', 'aZ09'); $cancel = GETPOST('cancel', 'alpha'); $id = GETPOST('id', 'int');