Skip to content

Commit 06439b7

Browse files
Merge pull request #494 from sujitharamadass/Aug23Release
Fixing Deprecated Warnings for dynamic property
2 parents 20ce804 + 95793ce commit 06439b7

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

src/Core/CoreConstants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class CoreConstants
297297
* The Request source header value.
298298
* @var string REQUESTSOURCEHEADER
299299
*/
300-
const USERAGENT = "V3PHPSDK6.1.1";
300+
const USERAGENT = "V3PHPSDK6.1.2";
301301

302302
public static function getType($string, $return=1)
303303
{

src/Diagnostics/LoggerBase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
namespace QuickBooksOnline\API\Diagnostics;
33

44
use QuickBooksOnline\API\Core\CoreConstants;
5+
use AllowDynamicProperties;
56

67
/**
78
* This file contains an interface for Logging.
89
*/
10+
#[AllowDynamicProperties]
911
class LoggerBase
1012
{
1113

src/ReportService/ReportService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,13 +1233,13 @@ private function getReportQueryParameters()
12331233
array_push($uriParameterList, array("printed", $this->getPrinted()));
12341234
}
12351235
if (!is_null($this->both_amount)) {
1236-
array_push($uriParameterList, array("both_amount", $this->getBothAmount()));
1236+
array_push($uriParameterList, array("bothamount", $this->getBothAmount()));
12371237
}
12381238
if (!is_null($this->memo)) {
12391239
array_push($uriParameterList, array("memo", $this->getMemo()));
12401240
}
12411241
if (!is_null($this->doc_num)) {
1242-
array_push($uriParameterList, array("doc_num", $this->getDocNum()));
1242+
array_push($uriParameterList, array("docnum", $this->getDocNum()));
12431243
}
12441244
if (!is_null($this->subcol_pct_inc)) {
12451245
array_push($uriParameterList, array("subcol_pct_inc", $this->getPercentIncome()));

src/XSD2PHP/src/com/mikebevz/xsd2php/Php2Xml.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace QuickBooksOnline\API\XSD2PHP\src\com\mikebevz\xsd2php;
44

55
use QuickBooksOnline\API\Core\CoreConstants;
6+
use AllowDynamicProperties;
67

78
/**
89
* Copyright 2010 Mike Bevz <[email protected]>
@@ -29,6 +30,7 @@
2930
* @author Mike Bevz <[email protected]>
3031
* @version 0.0.4
3132
*/
33+
#[AllowDynamicProperties]
3234
class Php2Xml extends Common
3335
{
3436
/**

0 commit comments

Comments
 (0)