mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix PSR2
This commit is contained in:
parent
32511422ab
commit
b049cf194d
|
|
@ -101,7 +101,7 @@ $pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
|
|||
$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
|
||||
|
||||
//set auto page breaks
|
||||
$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
|
||||
$pdf->SetAutoPageBreak(true, PDF_MARGIN_BOTTOM);
|
||||
|
||||
//set image scale factor
|
||||
$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ $pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
|
|||
$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
|
||||
|
||||
//set auto page breaks
|
||||
$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
|
||||
$pdf->SetAutoPageBreak(true, PDF_MARGIN_BOTTOM);
|
||||
|
||||
//set image scale factor
|
||||
//$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
|
||||
|
|
|
|||
|
|
@ -182,12 +182,12 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
|
|||
$WS_METHOD = 'createInvoice';
|
||||
|
||||
$body = array (
|
||||
"id" => NULL,
|
||||
"ref" => NULL,
|
||||
"id" => null,
|
||||
"ref" => null,
|
||||
"ref_ext" => "ref-phpunit-2",
|
||||
"thirdparty_id" => self::$socid,
|
||||
"fk_user_author" => NULL,
|
||||
"fk_user_valid" => NULL,
|
||||
"fk_user_author" => null,
|
||||
"fk_user_valid" => null,
|
||||
"date" => "2015-04-19 20:16:53",
|
||||
"date_due" => "",
|
||||
"date_creation" => "",
|
||||
|
|
@ -201,11 +201,11 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
|
|||
"note_private" => "Synchronised from Prestashop",
|
||||
"note_public" => "",
|
||||
"status" => "1",
|
||||
"close_code" => NULL ,
|
||||
"close_note" => NULL,
|
||||
"project_id" => NULL,
|
||||
"close_code" => null ,
|
||||
"close_note" => null,
|
||||
"project_id" => null,
|
||||
"lines" => array(
|
||||
array("id" => NULL,
|
||||
array("id" => null,
|
||||
"type" => 0,
|
||||
"desc" => "Horloge Vinyle Serge",
|
||||
"vat_rate" => 20,
|
||||
|
|
@ -339,12 +339,12 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
|
|||
|
||||
// update status to 2
|
||||
$body = array (
|
||||
"id" => NULL,
|
||||
"ref" => NULL,
|
||||
"id" => null,
|
||||
"ref" => null,
|
||||
"ref_ext" => "ref-phpunit-2",
|
||||
"thirdparty_id" => self::$socid,
|
||||
"fk_user_author" => NULL,
|
||||
"fk_user_valid" => NULL,
|
||||
"fk_user_author" => null,
|
||||
"fk_user_valid" => null,
|
||||
"date" => "2015-04-19 20:16:53",
|
||||
"date_due" => "",
|
||||
"date_creation" => "",
|
||||
|
|
@ -358,12 +358,12 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
|
|||
"note_private" => "Synchronised from Prestashop",
|
||||
"note_public" => "",
|
||||
"status" => "2",
|
||||
"close_code" => NULL ,
|
||||
"close_note" => NULL,
|
||||
"project_id" => NULL,
|
||||
"close_code" => null ,
|
||||
"close_note" => null,
|
||||
"project_id" => null,
|
||||
"lines" => array(
|
||||
array(
|
||||
"id" => NULL,
|
||||
"id" => null,
|
||||
"type" => 0,
|
||||
"desc" => "Horloge Vinyle Serge",
|
||||
"vat_rate" => 20,
|
||||
|
|
|
|||
|
|
@ -161,11 +161,11 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
|
|||
'entity'=>'');
|
||||
|
||||
$body = array (
|
||||
"id" => NULL,
|
||||
"id" => null,
|
||||
"ref" => "name",
|
||||
"ref_ext" => "12",
|
||||
"fk_user_author" => NULL,
|
||||
"status" => NULL,
|
||||
"fk_user_author" => null,
|
||||
"status" => null,
|
||||
"client" => 1,
|
||||
"supplier" => 0,
|
||||
"customer_code" => "CU0901-5678",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user