Clean code

This commit is contained in:
Laurent Destailleur 2023-10-11 20:22:56 +02:00
parent 244e472beb
commit 4ece4e58c5
3 changed files with 3 additions and 2 deletions

View file

@ -14,8 +14,7 @@ return static function (RectorConfig $rectorConfig): void {
__DIR__ . '/../../../test/phpunit/',
]);
$rectorConfig->skip([
__DIR__ . '/../../../htdocs/custom/**/includes/*',
__DIR__ . '/../../../htdocs/includes/*',
'**/includes/**',
__DIR__ . '/../../../htdocs/install/doctemplates/*'
]);
$rectorConfig->parallel(240);

View file

@ -1783,6 +1783,7 @@ class pdf_crabe extends ModelePDFFactures
*/
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null)
{
// phpcs:enable
global $conf, $langs;
$ltrdirection = 'L';

View file

@ -2035,6 +2035,7 @@ class pdf_sponge extends ModelePDFFactures
*/
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $outputlangsbis = null)
{
// phpcs:enable
global $conf, $langs;
$ltrdirection = 'L';