diff --git a/composer.json b/composer.json index d0a6e5e..3b19126 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "require": { - "quickbooks/v3-php-sdk": "^5.2", + "quickbooks/v3-php-sdk": "^6.0", "cweagans/composer-patches": "^1.6" }, "extra": { diff --git a/composer.lock b/composer.lock index 62eff4a..8f54320 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dd4589b6b8501f39e615df60a4054bf5", + "content-hash": "dd420e7edcb387960c25d559b888d497", "packages": [ { "name": "cweagans/composer-patches", - "version": "1.7.2", + "version": "1.7.3", "source": { "type": "git", "url": "https://github.com/cweagans/composer-patches.git", - "reference": "e9969cfc0796e6dea9b4e52f77f18e1065212871" + "reference": "e190d4466fe2b103a55467dfa83fc2fecfcaf2db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweagans/composer-patches/zipball/e9969cfc0796e6dea9b4e52f77f18e1065212871", - "reference": "e9969cfc0796e6dea9b4e52f77f18e1065212871", + "url": "https://api.github.com/repos/cweagans/composer-patches/zipball/e190d4466fe2b103a55467dfa83fc2fecfcaf2db", + "reference": "e190d4466fe2b103a55467dfa83fc2fecfcaf2db", "shasum": "" }, "require": { @@ -50,22 +50,22 @@ "description": "Provides a way to patch Composer packages.", "support": { "issues": "https://github.com/cweagans/composer-patches/issues", - "source": "https://github.com/cweagans/composer-patches/tree/1.7.2" + "source": "https://github.com/cweagans/composer-patches/tree/1.7.3" }, - "time": "2022-01-25T19:21:20+00:00" + "time": "2022-12-20T22:53:13+00:00" }, { "name": "quickbooks/v3-php-sdk", - "version": "5.4.7", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK.git", - "reference": "f2116e24a67971bcdb53cc1f56574e57b1a403f2" + "reference": "a4039a8257633ed1481dfe1e50a7881016fa0b1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/intuit/QuickBooks-V3-PHP-SDK/zipball/f2116e24a67971bcdb53cc1f56574e57b1a403f2", - "reference": "f2116e24a67971bcdb53cc1f56574e57b1a403f2", + "url": "https://api.github.com/repos/intuit/QuickBooks-V3-PHP-SDK/zipball/a4039a8257633ed1481dfe1e50a7881016fa0b1d", + "reference": "a4039a8257633ed1481dfe1e50a7881016fa0b1d", "shasum": "" }, "require": { @@ -74,7 +74,9 @@ "php": ">=5.6.0" }, "require-dev": { - "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0" + "php-mock/php-mock": "^2.3", + "php-mock/php-mock-phpunit": "^2.6", + "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0 || ^8" }, "suggest": { "ext-curl": "Uses Curl to make HTTP Requests", @@ -107,9 +109,9 @@ ], "support": { "issues": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/issues", - "source": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/tree/5.4.7" + "source": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/tree/v6.1.2" }, - "time": "2021-02-09T02:18:32+00:00" + "time": "2023-08-02T04:48:35+00:00" } ], "packages-dev": [], diff --git a/vendor/autoload.php b/vendor/autoload.php index f227d5e..02e5cbf 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -3,8 +3,21 @@ // autoload.php @generated by Composer if (PHP_VERSION_ID < 50600) { - echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; - exit(1); + if (!headers_sent()) { + header('HTTP/1.1 500 Internal Server Error'); + } + $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; + if (!ini_get('display_errors')) { + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { + fwrite(STDERR, $err); + } elseif (!headers_sent()) { + echo $err; + } + } + trigger_error( + $err, + E_USER_ERROR + ); } require_once __DIR__ . '/composer/autoload_real.php'; diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php index afef3fa..7824d8f 100644 --- a/vendor/composer/ClassLoader.php +++ b/vendor/composer/ClassLoader.php @@ -42,35 +42,37 @@ */ class ClassLoader { - /** @var ?string */ + /** @var \Closure(string):void */ + private static $includeFile; + + /** @var string|null */ private $vendorDir; // PSR-4 /** - * @var array[] - * @psalm-var array> + * @var array> */ private $prefixLengthsPsr4 = array(); /** - * @var array[] - * @psalm-var array> + * @var array> */ private $prefixDirsPsr4 = array(); /** - * @var array[] - * @psalm-var array + * @var list */ private $fallbackDirsPsr4 = array(); // PSR-0 /** - * @var array[] - * @psalm-var array> + * List of PSR-0 prefixes + * + * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) + * + * @var array>> */ private $prefixesPsr0 = array(); /** - * @var array[] - * @psalm-var array + * @var list */ private $fallbackDirsPsr0 = array(); @@ -78,8 +80,7 @@ class ClassLoader private $useIncludePath = false; /** - * @var string[] - * @psalm-var array + * @var array */ private $classMap = array(); @@ -87,29 +88,29 @@ class ClassLoader private $classMapAuthoritative = false; /** - * @var bool[] - * @psalm-var array + * @var array */ private $missingClasses = array(); - /** @var ?string */ + /** @var string|null */ private $apcuPrefix; /** - * @var self[] + * @var array */ private static $registeredLoaders = array(); /** - * @param ?string $vendorDir + * @param string|null $vendorDir */ public function __construct($vendorDir = null) { $this->vendorDir = $vendorDir; + self::initializeIncludeClosure(); } /** - * @return string[] + * @return array> */ public function getPrefixes() { @@ -121,8 +122,7 @@ public function getPrefixes() } /** - * @return array[] - * @psalm-return array> + * @return array> */ public function getPrefixesPsr4() { @@ -130,8 +130,7 @@ public function getPrefixesPsr4() } /** - * @return array[] - * @psalm-return array + * @return list */ public function getFallbackDirs() { @@ -139,8 +138,7 @@ public function getFallbackDirs() } /** - * @return array[] - * @psalm-return array + * @return list */ public function getFallbackDirsPsr4() { @@ -148,8 +146,7 @@ public function getFallbackDirsPsr4() } /** - * @return string[] Array of classname => path - * @psalm-return array + * @return array Array of classname => path */ public function getClassMap() { @@ -157,8 +154,7 @@ public function getClassMap() } /** - * @param string[] $classMap Class to filename map - * @psalm-param array $classMap + * @param array $classMap Class to filename map * * @return void */ @@ -175,24 +171,25 @@ public function addClassMap(array $classMap) * Registers a set of PSR-0 directories for a given prefix, either * appending or prepending to the ones previously set for this prefix. * - * @param string $prefix The prefix - * @param string[]|string $paths The PSR-0 root directories - * @param bool $prepend Whether to prepend the directories + * @param string $prefix The prefix + * @param list|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories * * @return void */ public function add($prefix, $paths, $prepend = false) { + $paths = (array) $paths; if (!$prefix) { if ($prepend) { $this->fallbackDirsPsr0 = array_merge( - (array) $paths, + $paths, $this->fallbackDirsPsr0 ); } else { $this->fallbackDirsPsr0 = array_merge( $this->fallbackDirsPsr0, - (array) $paths + $paths ); } @@ -201,19 +198,19 @@ public function add($prefix, $paths, $prepend = false) $first = $prefix[0]; if (!isset($this->prefixesPsr0[$first][$prefix])) { - $this->prefixesPsr0[$first][$prefix] = (array) $paths; + $this->prefixesPsr0[$first][$prefix] = $paths; return; } if ($prepend) { $this->prefixesPsr0[$first][$prefix] = array_merge( - (array) $paths, + $paths, $this->prefixesPsr0[$first][$prefix] ); } else { $this->prefixesPsr0[$first][$prefix] = array_merge( $this->prefixesPsr0[$first][$prefix], - (array) $paths + $paths ); } } @@ -222,9 +219,9 @@ public function add($prefix, $paths, $prepend = false) * Registers a set of PSR-4 directories for a given namespace, either * appending or prepending to the ones previously set for this namespace. * - * @param string $prefix The prefix/namespace, with trailing '\\' - * @param string[]|string $paths The PSR-4 base directories - * @param bool $prepend Whether to prepend the directories + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param list|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories * * @throws \InvalidArgumentException * @@ -232,17 +229,18 @@ public function add($prefix, $paths, $prepend = false) */ public function addPsr4($prefix, $paths, $prepend = false) { + $paths = (array) $paths; if (!$prefix) { // Register directories for the root namespace. if ($prepend) { $this->fallbackDirsPsr4 = array_merge( - (array) $paths, + $paths, $this->fallbackDirsPsr4 ); } else { $this->fallbackDirsPsr4 = array_merge( $this->fallbackDirsPsr4, - (array) $paths + $paths ); } } elseif (!isset($this->prefixDirsPsr4[$prefix])) { @@ -252,18 +250,18 @@ public function addPsr4($prefix, $paths, $prepend = false) throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); } $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; - $this->prefixDirsPsr4[$prefix] = (array) $paths; + $this->prefixDirsPsr4[$prefix] = $paths; } elseif ($prepend) { // Prepend directories for an already registered namespace. $this->prefixDirsPsr4[$prefix] = array_merge( - (array) $paths, + $paths, $this->prefixDirsPsr4[$prefix] ); } else { // Append directories for an already registered namespace. $this->prefixDirsPsr4[$prefix] = array_merge( $this->prefixDirsPsr4[$prefix], - (array) $paths + $paths ); } } @@ -272,8 +270,8 @@ public function addPsr4($prefix, $paths, $prepend = false) * Registers a set of PSR-0 directories for a given prefix, * replacing any others previously set for this prefix. * - * @param string $prefix The prefix - * @param string[]|string $paths The PSR-0 base directories + * @param string $prefix The prefix + * @param list|string $paths The PSR-0 base directories * * @return void */ @@ -290,8 +288,8 @@ public function set($prefix, $paths) * Registers a set of PSR-4 directories for a given namespace, * replacing any others previously set for this namespace. * - * @param string $prefix The prefix/namespace, with trailing '\\' - * @param string[]|string $paths The PSR-4 base directories + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param list|string $paths The PSR-4 base directories * * @throws \InvalidArgumentException * @@ -425,7 +423,8 @@ public function unregister() public function loadClass($class) { if ($file = $this->findFile($class)) { - includeFile($file); + $includeFile = self::$includeFile; + $includeFile($file); return true; } @@ -476,9 +475,9 @@ public function findFile($class) } /** - * Returns the currently registered loaders indexed by their corresponding vendor directories. + * Returns the currently registered loaders keyed by their corresponding vendor directories. * - * @return self[] + * @return array */ public static function getRegisteredLoaders() { @@ -555,18 +554,26 @@ private function findFileWithExtension($class, $ext) return false; } -} -/** - * Scope isolated include. - * - * Prevents access to $this/self from included files. - * - * @param string $file - * @return void - * @private - */ -function includeFile($file) -{ - include $file; + /** + * @return void + */ + private static function initializeIncludeClosure() + { + if (self::$includeFile !== null) { + return; + } + + /** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + * + * @param string $file + * @return void + */ + self::$includeFile = \Closure::bind(static function($file) { + include $file; + }, null, null); + } } diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php index c6b54af..51e734a 100644 --- a/vendor/composer/InstalledVersions.php +++ b/vendor/composer/InstalledVersions.php @@ -98,7 +98,7 @@ public static function isInstalled($packageName, $includeDevRequirements = true) { foreach (self::getInstalled() as $installed) { if (isset($installed['versions'][$packageName])) { - return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); + return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; } } @@ -119,7 +119,7 @@ public static function isInstalled($packageName, $includeDevRequirements = true) */ public static function satisfies(VersionParser $parser, $packageName, $constraint) { - $constraint = $parser->parseConstraints($constraint); + $constraint = $parser->parseConstraints((string) $constraint); $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); return $provided->matches($constraint); @@ -328,7 +328,9 @@ private static function getInstalled() if (isset(self::$installedByVendor[$vendorDir])) { $installed[] = self::$installedByVendor[$vendorDir]; } elseif (is_file($vendorDir.'/composer/installed.php')) { - $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; + /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ + $required = require $vendorDir.'/composer/installed.php'; + $installed[] = self::$installedByVendor[$vendorDir] = $required; if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { self::$installed = $installed[count($installed) - 1]; } @@ -340,12 +342,17 @@ private static function getInstalled() // only require the installed.php file if this file is loaded from its dumped location, // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 if (substr(__DIR__, -8, 1) !== 'C') { - self::$installed = require __DIR__ . '/installed.php'; + /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ + $required = require __DIR__ . '/installed.php'; + self::$installed = $required; } else { self::$installed = array(); } } - $installed[] = self::$installed; + + if (self::$installed !== array()) { + $installed[] = self::$installed; + } return $installed; } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index a91bf5d..59d3571 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,17 +2,17 @@ "packages": [ { "name": "cweagans/composer-patches", - "version": "1.7.2", - "version_normalized": "1.7.2.0", + "version": "1.7.3", + "version_normalized": "1.7.3.0", "source": { "type": "git", "url": "https://github.com/cweagans/composer-patches.git", - "reference": "e9969cfc0796e6dea9b4e52f77f18e1065212871" + "reference": "e190d4466fe2b103a55467dfa83fc2fecfcaf2db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cweagans/composer-patches/zipball/e9969cfc0796e6dea9b4e52f77f18e1065212871", - "reference": "e9969cfc0796e6dea9b4e52f77f18e1065212871", + "url": "https://api.github.com/repos/cweagans/composer-patches/zipball/e190d4466fe2b103a55467dfa83fc2fecfcaf2db", + "reference": "e190d4466fe2b103a55467dfa83fc2fecfcaf2db", "shasum": "" }, "require": { @@ -23,7 +23,7 @@ "composer/composer": "~1.0 || ~2.0", "phpunit/phpunit": "~4.6" }, - "time": "2022-01-25T19:21:20+00:00", + "time": "2022-12-20T22:53:13+00:00", "type": "composer-plugin", "extra": { "class": "cweagans\\Composer\\Patches" @@ -47,23 +47,23 @@ "description": "Provides a way to patch Composer packages.", "support": { "issues": "https://github.com/cweagans/composer-patches/issues", - "source": "https://github.com/cweagans/composer-patches/tree/1.7.2" + "source": "https://github.com/cweagans/composer-patches/tree/1.7.3" }, "install-path": "../cweagans/composer-patches" }, { "name": "quickbooks/v3-php-sdk", - "version": "5.4.7", - "version_normalized": "5.4.7.0", + "version": "v6.1.2", + "version_normalized": "6.1.2.0", "source": { "type": "git", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK.git", - "reference": "f2116e24a67971bcdb53cc1f56574e57b1a403f2" + "reference": "a4039a8257633ed1481dfe1e50a7881016fa0b1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/intuit/QuickBooks-V3-PHP-SDK/zipball/f2116e24a67971bcdb53cc1f56574e57b1a403f2", - "reference": "f2116e24a67971bcdb53cc1f56574e57b1a403f2", + "url": "https://api.github.com/repos/intuit/QuickBooks-V3-PHP-SDK/zipball/a4039a8257633ed1481dfe1e50a7881016fa0b1d", + "reference": "a4039a8257633ed1481dfe1e50a7881016fa0b1d", "shasum": "" }, "require": { @@ -72,13 +72,15 @@ "php": ">=5.6.0" }, "require-dev": { - "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0" + "php-mock/php-mock": "^2.3", + "php-mock/php-mock-phpunit": "^2.6", + "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0 || ^8" }, "suggest": { "ext-curl": "Uses Curl to make HTTP Requests", "guzzlehttp/guzzle": "Uses Guzzle to make HTTP Requests" }, - "time": "2021-02-09T02:18:32+00:00", + "time": "2023-08-02T04:48:35+00:00", "type": "library", "extra": { "patches_applied": { @@ -112,7 +114,7 @@ ], "support": { "issues": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/issues", - "source": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/tree/5.4.7" + "source": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/tree/v6.1.2" }, "install-path": "../quickbooks/v3-php-sdk" } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 2a5b43e..b9248d9 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'a9542cdc77fa78a185e428fb1c9aa528b388a036', + 'reference' => '1641ed157d39c80b8cdfff0dc9877bdcf86ec128', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -13,25 +13,25 @@ '__root__' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'a9542cdc77fa78a185e428fb1c9aa528b388a036', + 'reference' => '1641ed157d39c80b8cdfff0dc9877bdcf86ec128', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false, ), 'cweagans/composer-patches' => array( - 'pretty_version' => '1.7.2', - 'version' => '1.7.2.0', - 'reference' => 'e9969cfc0796e6dea9b4e52f77f18e1065212871', + 'pretty_version' => '1.7.3', + 'version' => '1.7.3.0', + 'reference' => 'e190d4466fe2b103a55467dfa83fc2fecfcaf2db', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../cweagans/composer-patches', 'aliases' => array(), 'dev_requirement' => false, ), 'quickbooks/v3-php-sdk' => array( - 'pretty_version' => '5.4.7', - 'version' => '5.4.7.0', - 'reference' => 'f2116e24a67971bcdb53cc1f56574e57b1a403f2', + 'pretty_version' => 'v6.1.2', + 'version' => '6.1.2.0', + 'reference' => 'a4039a8257633ed1481dfe1e50a7881016fa0b1d', 'type' => 'library', 'install_path' => __DIR__ . '/../quickbooks/v3-php-sdk', 'aliases' => array(), diff --git a/vendor/cweagans/composer-patches/src/Patches.php b/vendor/cweagans/composer-patches/src/Patches.php index 52e4203..3d7d864 100644 --- a/vendor/cweagans/composer-patches/src/Patches.php +++ b/vendor/cweagans/composer-patches/src/Patches.php @@ -48,6 +48,11 @@ class Patches implements PluginInterface, EventSubscriberInterface { */ protected $patches; + /** + * @var array $installedPatches + */ + protected $installedPatches; + /** * Apply plugin modifications to composer * diff --git a/vendor/quickbooks/v3-php-sdk/README.md b/vendor/quickbooks/v3-php-sdk/README.md index 256be46..a822245 100755 --- a/vendor/quickbooks/v3-php-sdk/README.md +++ b/vendor/quickbooks/v3-php-sdk/README.md @@ -1,6 +1,6 @@ # Payments SDK is now available at: https://github.com/intuit/PHP-Payments-SDK # -[![SDK Banner](views/SDK.png)][ss1] +[![Rate your SDK](views/RateSDK.png)][ss1][![Yes](views/Thumbup.png)][ss2][![No](views/Thumbdown.png)][ss3] # QuickBooks API PHP SDK @@ -20,5 +20,6 @@ Create, Update, Read, and Delete Examples: https://github.com/IntuitDeveloper/Sa **Latest Stable Version:** [![Latest Stable Version](https://poser.pugx.org/quickbooks/v3-php-sdk/v/stable)](https://packagist.org/packages/quickbooks/v3-php-sdk)
**License:** [![License](https://poser.pugx.org/quickbooks/v3-php-sdk/license)](https://packagist.org/packages/quickbooks/v3-php-sdk) - -[ss1]: https://help.developer.intuit.com/s/SDKFeedback?cid=1105 +[ss1]: # +[ss2]: https://customersurveys.intuit.com/jfe/form/SV_9LWgJBcyy3NAwHc?check=Yes&checkpoint=PhpSDK&pageUrl=github +[ss3]: https://customersurveys.intuit.com/jfe/form/SV_9LWgJBcyy3NAwHc?check=No&checkpoint=PhpSDK&pageUrl=github diff --git a/vendor/quickbooks/v3-php-sdk/composer.json b/vendor/quickbooks/v3-php-sdk/composer.json index cfd3e7b..67806bb 100644 --- a/vendor/quickbooks/v3-php-sdk/composer.json +++ b/vendor/quickbooks/v3-php-sdk/composer.json @@ -10,7 +10,9 @@ "ext-dom": "*" }, "require-dev": { - "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0" + "phpunit/phpunit": "^5.0 || ^6.0 || ^7.0 || ^8", + "php-mock/php-mock-phpunit": "^2.6", + "php-mock/php-mock": "^2.3" }, "autoload": { "psr-4": { diff --git a/vendor/quickbooks/v3-php-sdk/composer.lock b/vendor/quickbooks/v3-php-sdk/composer.lock index 1cc53e6..df36459 100644 --- a/vendor/quickbooks/v3-php-sdk/composer.lock +++ b/vendor/quickbooks/v3-php-sdk/composer.lock @@ -1,42 +1,40 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e60ce2e775e0cbea2eae5543cfcbe769", + "content-hash": "61e27394edb7360b6526e0194c48c724", "packages": [], "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.0.5", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", "shasum": "" }, "require": { - "php": ">=5.3,<8.0-DEV" + "php": "^7.1 || ^8.0" }, "require-dev": { - "athletic/athletic": "~0.1.8", + "doctrine/coding-standard": "^9", "ext-pdo": "*", "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.0" + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.22" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" @@ -50,40 +48,66 @@ { "name": "Marco Pivetta", "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" + "homepage": "https://ocramius.github.io/" } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ "constructor", "instantiate" ], - "time": "2015-06-14T21:17:01+00:00" + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.4.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-03-03T08:28:38+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.6.1", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102", - "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", "shasum": "" }, "require": { - "php": ">=5.4.0" + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" }, "require-dev": { - "doctrine/collections": "1.*", - "phpunit/phpunit": "~4.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], "psr-4": { "DeepCopy\\": "src/DeepCopy/" } @@ -93,7 +117,6 @@ "MIT" ], "description": "Create deep copies (clones) of your objects", - "homepage": "https://github.com/myclabs/DeepCopy", "keywords": [ "clone", "copy", @@ -101,253 +124,364 @@ "object", "object graph" ], - "time": "2017-04-12T18:52:22+00:00" + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2022-03-03T13:19:32+00:00" }, { - "name": "phpdocumentor/reflection-common", - "version": "1.0", + "name": "phar-io/manifest", + "version": "2.0.3", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", "shasum": "" }, "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.6" + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" } ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" ], - "time": "2015-12-27T11:43:31+00:00" + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" }, { - "name": "phpdocumentor/reflection-docblock", - "version": "3.1.1", + "name": "php-mock/php-mock", + "version": "2.3.1", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e" + "url": "https://github.com/php-mock/php-mock.git", + "reference": "9a55bd8ba40e6da2e97a866121d2c69dedd4952b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e", + "url": "https://api.github.com/repos/php-mock/php-mock/zipball/9a55bd8ba40e6da2e97a866121d2c69dedd4952b", + "reference": "9a55bd8ba40e6da2e97a866121d2c69dedd4952b", "shasum": "" }, "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0@dev", - "phpdocumentor/type-resolver": "^0.2.0", - "webmozart/assert": "^1.0" + "php": "^5.6 || ^7.0 || ^8.0", + "phpunit/php-text-template": "^1 || ^2" + }, + "replace": { + "malkusch/php-mock": "*" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^4.4" + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.0 || ^9.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "suggest": { + "php-mock/php-mock-phpunit": "Allows integration into PHPUnit testcase with the trait PHPMock." }, "type": "library", "autoload": { + "files": [ + "autoload.php" + ], "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" + "phpmock\\": [ + "classes/", + "tests/" ] } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "WTFPL" ], "authors": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" + "name": "Markus Malkusch", + "email": "markus@malkusch.de", + "homepage": "http://markus.malkusch.de", + "role": "Developer" } ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-09-30T07:12:33+00:00" + "description": "PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.", + "homepage": "https://github.com/php-mock/php-mock", + "keywords": [ + "BDD", + "TDD", + "function", + "mock", + "stub", + "test", + "test double" + ], + "support": { + "issues": "https://github.com/php-mock/php-mock/issues", + "source": "https://github.com/php-mock/php-mock/tree/2.3.1" + }, + "funding": [ + { + "url": "https://github.com/michalbundyra", + "type": "github" + } + ], + "time": "2022-02-07T18:57:52+00:00" }, { - "name": "phpdocumentor/type-resolver", - "version": "0.2.1", + "name": "php-mock/php-mock-integration", + "version": "2.1.0", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" + "url": "https://github.com/php-mock/php-mock-integration.git", + "reference": "003d585841e435958a02e9b986953907b8b7609b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "url": "https://api.github.com/repos/php-mock/php-mock-integration/zipball/003d585841e435958a02e9b986953907b8b7609b", + "reference": "003d585841e435958a02e9b986953907b8b7609b", "shasum": "" }, "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0" + "php": ">=5.6", + "php-mock/php-mock": "^2.2", + "phpunit/php-text-template": "^1 || ^2" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" + "phpunit/phpunit": "^5.7.27 || ^6 || ^7 || ^8 || ^9" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] + "phpmock\\integration\\": "classes/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "WTFPL" ], "authors": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" + "name": "Markus Malkusch", + "email": "markus@malkusch.de", + "homepage": "http://markus.malkusch.de", + "role": "Developer" } ], - "time": "2016-11-25T06:54:22+00:00" + "description": "Integration package for PHP-Mock", + "homepage": "https://github.com/php-mock/php-mock-integration", + "keywords": [ + "BDD", + "TDD", + "function", + "mock", + "stub", + "test", + "test double" + ], + "support": { + "issues": "https://github.com/php-mock/php-mock-integration/issues", + "source": "https://github.com/php-mock/php-mock-integration/tree/2.1.0" + }, + "time": "2020-02-08T14:40:25+00:00" }, { - "name": "phpspec/prophecy", - "version": "v1.7.0", + "name": "php-mock/php-mock-phpunit", + "version": "2.6.1", "source": { "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "93d39f1f7f9326d746203c7c056f300f7f126073" + "url": "https://github.com/php-mock/php-mock-phpunit.git", + "reference": "b9ba2db21e7e1c7deba98bc86dcfc6425fb4647d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", - "reference": "93d39f1f7f9326d746203c7c056f300f7f126073", + "url": "https://api.github.com/repos/php-mock/php-mock-phpunit/zipball/b9ba2db21e7e1c7deba98bc86dcfc6425fb4647d", + "reference": "b9ba2db21e7e1c7deba98bc86dcfc6425fb4647d", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", - "sebastian/comparator": "^1.1|^2.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" + "php": ">=7", + "php-mock/php-mock-integration": "^2.1", + "phpunit/phpunit": "^6 || ^7 || ^8 || ^9" }, "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8 || ^5.6.5" + "phpspec/prophecy": "^1.10.3" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.6.x-dev" - } - }, "autoload": { - "psr-0": { - "Prophecy\\": "src/" + "files": [ + "autoload.php" + ], + "psr-4": { + "phpmock\\phpunit\\": "classes/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "WTFPL" ], "authors": [ { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" + "name": "Markus Malkusch", + "email": "markus@malkusch.de", + "homepage": "http://markus.malkusch.de", + "role": "Developer" } ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", + "description": "Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.", + "homepage": "https://github.com/php-mock/php-mock-phpunit", "keywords": [ - "Double", - "Dummy", - "fake", + "BDD", + "TDD", + "function", "mock", - "spy", - "stub" + "phpunit", + "stub", + "test", + "test double" + ], + "support": { + "issues": "https://github.com/php-mock/php-mock-phpunit/issues", + "source": "https://github.com/php-mock/php-mock-phpunit/tree/2.6.1" + }, + "funding": [ + { + "url": "https://github.com/michalbundyra", + "type": "github" + } ], - "time": "2017-03-02T20:05:34+00:00" + "time": "2022-09-07T20:40:07+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "4.0.8", + "version": "7.0.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d" + "reference": "819f92bba8b001d4363065928088de22f25a3a48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d", - "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/819f92bba8b001d4363065928088de22f25a3a48", + "reference": "819f92bba8b001d4363065928088de22f25a3a48", "shasum": "" }, "require": { "ext-dom": "*", "ext-xmlwriter": "*", - "php": "^5.6 || ^7.0", - "phpunit/php-file-iterator": "^1.3", - "phpunit/php-text-template": "^1.2", - "phpunit/php-token-stream": "^1.4.2 || ^2.0", - "sebastian/code-unit-reverse-lookup": "^1.0", - "sebastian/environment": "^1.3.2 || ^2.0", - "sebastian/version": "^1.0 || ^2.0" + "php": ">=7.2", + "phpunit/php-file-iterator": "^2.0.2", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-token-stream": "^3.1.3 || ^4.0", + "sebastian/code-unit-reverse-lookup": "^1.0.1", + "sebastian/environment": "^4.2.2", + "sebastian/version": "^2.0.1", + "theseer/tokenizer": "^1.1.3" }, "require-dev": { - "ext-xdebug": "^2.1.4", - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "^8.2.2" }, "suggest": { - "ext-xdebug": "^2.5.1" + "ext-xdebug": "^2.7.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0.x-dev" + "dev-master": "7.0-dev" } }, "autoload": { @@ -362,7 +496,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -373,29 +507,42 @@ "testing", "xunit" ], - "time": "2017-04-02T07:44:40+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.15" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-07-26T12:20:09+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.2", + "version": "2.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" + "reference": "42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5", + "reference": "42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" + }, + "require-dev": { + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -410,7 +557,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -420,7 +567,17 @@ "filesystem", "iterator" ], - "time": "2016-10-03T07:40:28+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:42:26+00:00" }, { "name": "phpunit/php-text-template", @@ -461,32 +618,36 @@ "keywords": [ "template" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1" + }, "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", - "version": "1.0.9", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" + "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2454ae1765516d20c4ffe103d85a58a9a3bd5662", + "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.1-dev" } }, "autoload": { @@ -501,7 +662,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -510,33 +671,43 @@ "keywords": [ "timer" ], - "time": "2017-02-26T11:10:40+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/2.1.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T08:20:02+00:00" }, { "name": "phpunit/php-token-stream", - "version": "1.4.11", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" + "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/a853a0e183b9db7eed023d7933a858fa1c8d25a3", + "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=5.3.3" + "php": "^7.3 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -559,55 +730,63 @@ "keywords": [ "tokenizer" ], - "time": "2017-02-27T10:12:30+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", + "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "abandoned": true, + "time": "2020-08-04T08:28:15+00:00" }, { "name": "phpunit/phpunit", - "version": "5.7.20", + "version": "8.5.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3cb94a5f8c07a03c8b7527ed7468a2926203f58b" + "reference": "4fd448df9affda65a5faa58f8b93087d415216ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3cb94a5f8c07a03c8b7527ed7468a2926203f58b", - "reference": "3cb94a5f8c07a03c8b7527ed7468a2926203f58b", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4fd448df9affda65a5faa58f8b93087d415216ce", + "reference": "4fd448df9affda65a5faa58f8b93087d415216ce", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "myclabs/deep-copy": "~1.3", - "php": "^5.6 || ^7.0", - "phpspec/prophecy": "^1.6.2", - "phpunit/php-code-coverage": "^4.0.4", - "phpunit/php-file-iterator": "~1.4", - "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": "^1.0.6", - "phpunit/phpunit-mock-objects": "^3.2", - "sebastian/comparator": "^1.2.4", - "sebastian/diff": "^1.4.3", - "sebastian/environment": "^1.3.4 || ^2.0", - "sebastian/exporter": "~2.0", - "sebastian/global-state": "^1.1", - "sebastian/object-enumerator": "~2.0", - "sebastian/resource-operations": "~1.0", - "sebastian/version": "~1.0.3|~2.0", - "symfony/yaml": "~2.1|~3.0" - }, - "conflict": { - "phpdocumentor/reflection-docblock": "3.0.2" - }, - "require-dev": { - "ext-pdo": "*" + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.0", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.2", + "phpunit/php-code-coverage": "^7.0.12", + "phpunit/php-file-iterator": "^2.0.4", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-timer": "^2.1.2", + "sebastian/comparator": "^3.0.5", + "sebastian/diff": "^3.0.2", + "sebastian/environment": "^4.2.3", + "sebastian/exporter": "^3.1.5", + "sebastian/global-state": "^3.0.0", + "sebastian/object-enumerator": "^3.0.3", + "sebastian/resource-operations": "^2.0.1", + "sebastian/type": "^1.1.3", + "sebastian/version": "^2.0.1" }, "suggest": { + "ext-soap": "*", "ext-xdebug": "*", - "phpunit/php-invoker": "~1.1" + "phpunit/php-invoker": "^2.0.0" }, "bin": [ "phpunit" @@ -615,7 +794,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.7.x-dev" + "dev-master": "8.5-dev" } }, "autoload": { @@ -641,86 +820,45 @@ "testing", "xunit" ], - "time": "2017-05-22T07:42:55+00:00" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "3.4.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", - "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.6 || ^7.0", - "phpunit/php-text-template": "^1.2", - "sebastian/exporter": "^1.2 || ^2.0" - }, - "conflict": { - "phpunit/phpunit": "<5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.4" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.30" }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ + "funding": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "time": "2016-12-08T20:27:08+00:00" + "time": "2022-09-25T03:43:00+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18" + "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", - "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619", + "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": ">=5.6" }, "require-dev": { - "phpunit/phpunit": "^5.7 || ^6.0" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { @@ -745,34 +883,44 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2017-03-04T06:30:41+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T08:15:22+00:00" }, { "name": "sebastian/comparator", - "version": "1.2.4", + "version": "3.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" + "reference": "1dc7ceb4a24aede938c7af2a9ed1de09609ca770" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1dc7ceb4a24aede938c7af2a9ed1de09609ca770", + "reference": "1dc7ceb4a24aede938c7af2a9ed1de09609ca770", "shasum": "" }, "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.2", - "sebastian/exporter": "~1.2 || ~2.0" + "php": ">=7.1", + "sebastian/diff": "^3.0", + "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -785,6 +933,10 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, { "name": "Jeff Welch", "email": "whatthejeff@gmail.com" @@ -796,45 +948,52 @@ { "name": "Bernhard Schussek", "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" } ], "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", + "homepage": "https://github.com/sebastianbergmann/comparator", "keywords": [ "comparator", "compare", "equality" ], - "time": "2017-01-29T09:50:25+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/3.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T12:31:48+00:00" }, { "name": "sebastian/diff", - "version": "1.4.3", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" + "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/14f72dd46eaf2f2293cbe79c93cc0bc43161a211", + "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpunit/phpunit": "^7.5 || ^8.0", + "symfony/process": "^2 || ^3.3 || ^4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -847,46 +1006,62 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" } ], "description": "Diff implementation", "homepage": "https://github.com/sebastianbergmann/diff", "keywords": [ - "diff" + "diff", + "udiff", + "unidiff", + "unified diff" ], - "time": "2017-05-22T07:24:03+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:59:04+00:00" }, { "name": "sebastian/environment", - "version": "2.0.0", + "version": "4.2.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" + "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/d47bbbad83711771f167c72d4e3f25f7fcc1f8b0", + "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "^5.0" + "phpunit/phpunit": "^7.5" + }, + "suggest": { + "ext-posix": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "4.2-dev" } }, "autoload": { @@ -911,34 +1086,44 @@ "environment", "hhvm" ], - "time": "2016-11-26T07:53:53+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/4.2.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:53:42+00:00" }, { "name": "sebastian/exporter", - "version": "2.0.0", + "version": "3.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4" + "reference": "73a9676f2833b9a7c36968f9d882589cd75511e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/73a9676f2833b9a7c36968f9d882589cd75511e6", + "reference": "73a9676f2833b9a7c36968f9d882589cd75511e6", "shasum": "" }, "require": { - "php": ">=5.3.3", - "sebastian/recursion-context": "~2.0" + "php": ">=7.0", + "sebastian/recursion-context": "^3.0" }, "require-dev": { "ext-mbstring": "*", - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^8.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.1.x-dev" } }, "autoload": { @@ -951,6 +1136,10 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, { "name": "Jeff Welch", "email": "whatthejeff@gmail.com" @@ -959,17 +1148,13 @@ "name": "Volker Dusch", "email": "github@wallbash.com" }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, { "name": "Adam Harvey", "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], "description": "Provides the functionality to export PHP variables for visualization", @@ -978,27 +1163,40 @@ "export", "exporter" ], - "time": "2016-11-19T08:54:04+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T06:00:17+00:00" }, { "name": "sebastian/global-state", - "version": "1.1.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + "reference": "de036ec91d55d2a9e0db2ba975b512cdb1c23921" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/de036ec91d55d2a9e0db2ba975b512cdb1c23921", + "reference": "de036ec91d55d2a9e0db2ba975b512cdb1c23921", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.2", + "sebastian/object-reflector": "^1.1.1", + "sebastian/recursion-context": "^3.0" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "ext-dom": "*", + "phpunit/phpunit": "^8.0" }, "suggest": { "ext-uopz": "*" @@ -1006,7 +1204,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -1029,33 +1227,44 @@ "keywords": [ "global state" ], - "time": "2015-10-12T03:26:01+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-02-10T06:55:38+00:00" }, { "name": "sebastian/object-enumerator", - "version": "2.0.1", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7" + "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", + "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", "shasum": "" }, "require": { - "php": ">=5.6", - "sebastian/recursion-context": "~2.0" + "php": ">=7.0", + "sebastian/object-reflector": "^1.1.1", + "sebastian/recursion-context": "^3.0" }, "require-dev": { - "phpunit/phpunit": "~5" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -1075,32 +1284,97 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-02-18T15:18:39+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:40:27+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", + "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:37:18+00:00" }, { "name": "sebastian/recursion-context", - "version": "2.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a" + "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb", + "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.0" }, "require-dev": { - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -1113,14 +1387,14 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, { "name": "Adam Harvey", "email": "aharvey@php.net" @@ -1128,29 +1402,39 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-11-19T07:33:16+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:34:24+00:00" }, { "name": "sebastian/resource-operations", - "version": "1.0.0", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" + "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/31d35ca87926450c44eae7e2611d45a7a65ea8b3", + "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3", "shasum": "" }, "require": { - "php": ">=5.6.0" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -1170,29 +1454,42 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28T20:34:47+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:30:19+00:00" }, { - "name": "sebastian/version", - "version": "2.0.1", + "name": "sebastian/type", + "version": "1.1.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/0150cfbc4495ed2df3872fb31b26781e4e077eb4", + "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4", "shasum": "" }, "require": { - "php": ">=5.6" + "php": ">=7.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.1-dev" } }, "autoload": { @@ -1211,114 +1508,116 @@ "role": "lead" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-10-03T07:35:21+00:00" + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/1.1.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-30T07:25:11+00:00" }, { - "name": "symfony/yaml", - "version": "v3.3.2", + "name": "sebastian/version", + "version": "2.0.1", "source": { "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063", - "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", "shasum": "" }, "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "symfony/console": "~2.8|~3.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" + "php": ">=5.6" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Symfony Yaml Component", - "homepage": "https://symfony.com", - "time": "2017-06-02T22:05:06+00:00" + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/master" + }, + "time": "2016-10-03T07:35:21+00:00" }, { - "name": "webmozart/assert", - "version": "1.2.0", + "name": "theseer/tokenizer", + "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" } ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } ], - "time": "2016-11-23T20:04:58+00:00" + "time": "2021-07-28T10:34:58+00:00" } ], "aliases": [], @@ -1327,7 +1626,10 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=5.6.0" + "php": ">=5.6.0", + "ext-mbstring": "*", + "ext-dom": "*" }, - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "2.3.0" } diff --git a/vendor/quickbooks/v3-php-sdk/phpunit.xml b/vendor/quickbooks/v3-php-sdk/phpunit.xml index 16f6827..497a2f5 100644 --- a/vendor/quickbooks/v3-php-sdk/phpunit.xml +++ b/vendor/quickbooks/v3-php-sdk/phpunit.xml @@ -7,12 +7,9 @@ - + - - vendor - src/ diff --git a/vendor/quickbooks/v3-php-sdk/src/Core/CoreConstants.php b/vendor/quickbooks/v3-php-sdk/src/Core/CoreConstants.php index 3831778..0e97083 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Core/CoreConstants.php +++ b/vendor/quickbooks/v3-php-sdk/src/Core/CoreConstants.php @@ -7,7 +7,7 @@ class CoreConstants { //Set the default minor version - const DEFAULT_SDK_MINOR_VERSION = "57"; + const DEFAULT_SDK_MINOR_VERSION = "68"; const DEFAULT_LOGGINGLOCATION = "/tmp/IdsLogs"; const PHP_CLASS_PREFIX = 'IPP'; @@ -297,7 +297,7 @@ class CoreConstants * The Request source header value. * @var string REQUESTSOURCEHEADER */ - const USERAGENT = "V3PHPSDK5.4.7"; + const USERAGENT = "V3PHPSDK6.1.2"; public static function getType($string, $return=1) { diff --git a/vendor/quickbooks/v3-php-sdk/src/Core/HttpClients/SyncRestHandler.php b/vendor/quickbooks/v3-php-sdk/src/Core/HttpClients/SyncRestHandler.php index b8a0672..753f39c 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Core/HttpClients/SyncRestHandler.php +++ b/vendor/quickbooks/v3-php-sdk/src/Core/HttpClients/SyncRestHandler.php @@ -134,24 +134,24 @@ public function sendRequest($requestParameters, $requestBody, $specifiedRequestU * The API call to generate OAuth 1 signatures and make API call * * @param String $baseURL The request url without queryParameters - * @param Array $queryParameters A list of query parameters + * @param array $queryParameters A list of query parameters * @param String $HttpMethod POST or GET * @param String $requestUri The Complete HTTP request URI - * @param Array $requestParameters The Complete HTTP request URI + * @param RequestParameters$requestParameters The Complete HTTP request URI * @param String $requestBody The request body for POST request. - * @param Boolean $throwExceptionOnError If throw an exception whent he return http status is not 200. Default is false + * @param Boolean $throwExceptionOnError If throw an exception when the return http status is not 200. Default is false * - * @return Response and HTTP Status code + * @return array|null Response and HTTP Status code */ private function OAuth1APICall($baseURL, $queryParameters, $HttpMethod, $requestUri, $requestParameters, $requestBody, $throwExceptionOnError){ $AuthorizationHeader = $this->getOAuth1AuthorizationHeader($baseURL, $queryParameters, $HttpMethod); $httpHeaders = $this->setCommonHeadersForPHPSDK($AuthorizationHeader, $requestUri, $requestParameters->ContentType, $requestBody); // Log Request Body to a file $this->LogAPIRequestToLog($requestBody, $requestUri, $httpHeaders); - $intuitResponse = $this->httpClientInterface->makeAPICall($requestUri, $HttpMethod, $httpHeaders, $requestBody, null, false); + $intuitResponse = $this->httpClientInterface->makeAPICall($requestUri, $HttpMethod, $httpHeaders, $requestBody, null, true); $faultHandler = $intuitResponse->getFaultHandler(); $this->LogAPIResponseToLog($intuitResponse->getBody(), $requestUri, $intuitResponse->getHeaders()); - //Based on the ducomentation, the fetch expected HTTP/1.1 20X or a redirect. If not, any 3xx, 4xx or 5xx will throw an OAuth Exception + //Based on the documentation, the fetch expected HTTP/1.1 20X or a redirect. If not, any 3xx, 4xx or 5xx will throw an OAuth Exception //for 3xx without direct, it will throw a 503 code and error saying: Invalid protected resource url, unable to generate signature base string if($faultHandler) { if($throwExceptionOnError == true){ @@ -170,9 +170,9 @@ private function OAuth1APICall($baseURL, $queryParameters, $HttpMethod, $request /** * Get OAuth1 Authroization Header based on Query Parameters, BaseURL * @param String $baseURL The baseURL without queryParameters - * @param Array $queryParameters The queryParameters list from the complete URI - * @param String $httpMethod POST or GET - * @return OAuth1 Authorization Header + * @param array $queryParameters The queryParameters list from the complete URI + * @param String $HttpMethod POST or GET + * @return string Authorization Header */ private function getOAuth1AuthorizationHeader($baseURL, $queryParameters, $HttpMethod){ $oauth1 = new OAuth1( @@ -190,12 +190,12 @@ private function getOAuth1AuthorizationHeader($baseURL, $queryParameters, $HttpM * The OAuth 2 API call * * @param String $baseURL The request url without queryParameters - * @param Array $queryParameters A list of query parameters + * @param array $queryParameters A list of query parameters * @param String $HttpMethod POST or GET * @param String $requestUri The Complete HTTP request URI - * @param Array $requestParameters The Complete HTTP request URI + * @param RequestParameters$requestParameters The Complete HTTP request URI * @param String $requestBody The request body for POST request. - * @param Boolean $throwExceptionOnError If throw an exception whent he return http status is not 200. Default is false + * @param Boolean $throwExceptionOnError If throw an exception when the return http status is not 200. Default is false * * @return array|null Response and HTTP Status code */ @@ -216,7 +216,7 @@ private function OAuth2APICall($baseURL, $queryParameters, $HttpMethod, $request $faultHandler = $intuitResponse->getFaultHandler(); $this->LogAPIResponseToLog($intuitResponse->getBody(), $requestUri, $intuitResponse->getHeaders()); - //Based on the ducomentation, the fetch expected HTTP/1.1 20X or a redirect. If not, any 3xx, 4xx or 5xx will throw an OAuth Exception + //Based on the documentation, the fetch expected HTTP/1.1 20X or a redirect. If not, any 3xx, 4xx or 5xx will throw an OAuth Exception //for 3xx without direct, it will throw a 503 code and error saying: Invalid protected resource url, unable to generate signature base string if($faultHandler) { if($throwExceptionOnError == true){ @@ -264,7 +264,7 @@ private function setCommonHeadersForPHPSDK($AuthorizationHeader, $requestUri, $C 'accept' => $this->getAcceptContentType($ContentType), 'connection' => 'close', 'content-type' => $ContentType, - 'content-length'=> strlen($requestBody) + 'content-length'=> strlen(isset($requestBody) ? $requestBody : ''), ); return $httpHeaders; @@ -274,7 +274,7 @@ private function setCommonHeadersForPHPSDK($AuthorizationHeader, $requestUri, $C * Log API Reponse to the Log directory that user specified. * @param String $body The requestBody * @param String $requestUri The URI for this request - * @param Array $httpHeaders The headers for the request + * @param array $httpHeaders The headers for the request */ public function LogAPIResponseToLog($body, $requestUri, $httpHeaders){ $httpHeaders = array_change_key_case($httpHeaders, CASE_LOWER); @@ -290,7 +290,7 @@ public function LogAPIResponseToLog($body, $requestUri, $httpHeaders){ * Log API Request to the Log directory that user specified. * @param String $requestBody The requestBody * @param String $requestUri The URI for this request - * @param Array $httpHeaders The headers for the request + * @param array $httpHeaders The headers for the request */ public function LogAPIRequestToLog($requestBody, $requestUri, $httpHeaders){ $this->RequestLogging->LogPlatformRequests($requestBody, $requestUri, $httpHeaders, true); @@ -406,7 +406,7 @@ private function getBaseURL($url){ * Get the query parameters from the complete URL, used for sign signature for OAuth 1. * * @param String $url The $url for the request - * @return Array a list of query paramters. + * @return array a list of query paramters. */ private function parseURL($url){ $query_str = parse_url($url, PHP_URL_QUERY); @@ -449,7 +449,7 @@ private function getAcceptContentType($value) /** * A helper function to convert Query to Array * @param String $qry The query String - * @return False | Array The result + * @return False | array The result */ private function queryToArray($qry) { diff --git a/vendor/quickbooks/v3-php-sdk/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php b/vendor/quickbooks/v3-php-sdk/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php index 1221b46..eda072d 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php +++ b/vendor/quickbooks/v3-php-sdk/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php @@ -215,7 +215,7 @@ public function getAuthorizationCodeURL(){ 'state' => $this->getState() ); $authorizationRequestUrl = CoreConstants::OAUTH2_AUTHORIZATION_REQUEST_URL; - $authorizationRequestUrl .= '?' . http_build_query($parameters, null, '&', PHP_QUERY_RFC1738); + $authorizationRequestUrl .= '?' . http_build_query($parameters, "", '&', PHP_QUERY_RFC1738); return $authorizationRequestUrl; } @@ -371,7 +371,7 @@ public function getUserInfo($accessToken = null, $env = "production"){ $this->LogAPIResponseToLog($intuitResponse->getBody(), $url, $intuitResponse->getHeaders()); $this->faultHandler = $intuitResponse->getFaultHandler(); if($this->faultHandler) { - throw new ServiceException("Get UrerInfo failed. Body: [" . $this->faultHandler->getResponseBody() . "].", $this->faultHandler->getHttpStatusCode()); + throw new ServiceException("Get UserInfo failed. Body: [" . $this->faultHandler->getResponseBody() . "].", $this->faultHandler->getHttpStatusCode()); }else{ $this->faultHandler = false; } diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPAccountSubTypeEnum.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPAccountSubTypeEnum.php index 1b95427..7a5bd26 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPAccountSubTypeEnum.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPAccountSubTypeEnum.php @@ -8,7 +8,7 @@ * @var IPPAccountSubTypeEnum * @xmlDefinition Product: QBO - Description: Use Tax Roundoff Gain or Loss to track gains or losses that occur as a result of Tax filing roundoff. + Description: Use Rent a room relief - Relief Claimed for relief claimed for rented room for landlords * @xmlb Share Application Money Pending Allotment */ diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPCustomer.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPCustomer.php index 7abc4d3..c0c81ae 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPCustomer.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPCustomer.php @@ -593,6 +593,32 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var string */ public $ClientEntityId; + /** + * @Definition + Product: QBO + Description: Originating source of + the Customer. Valid values are defined in SourceTypeEnum + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName Source + * @var string + */ + public $Source; + /** + * @Definition + Product: QBO + Description: Tax regime of a customer which is required by CFDI4.0 in Mexico. + Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of TaxRegime. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName TaxRegime + * @var string + */ + public $TaxRegime; } // end class IPPCustomer diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPEmployee.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPEmployee.php index 433e6bc..3ea9833 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPEmployee.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPEmployee.php @@ -170,6 +170,16 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPIntuitAnyType */ public $EmployeeEx; + /** + * @Definition Hourly cost rate of the Employee. QBO only. QBD Unsupporetd field. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName CostRate + * @var float + */ + public $CostRate; } // end class IPPEmployee diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPFinancingProductTypeEnum.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPFinancingProductTypeEnum.php new file mode 100644 index 0000000..1b772e5 --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPFinancingProductTypeEnum.php @@ -0,0 +1,45 @@ + $initPropVal) + { + if (property_exists('IPPFinancingProductTypeEnum',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPFinancingProductTypeEnum',$initPropName)) + { + $this->{$initPropName} = $initPropVal; + } + else + { + if ($verbose) + echo "Property does not exist ($initPropName) in class (".get_class($this).")"; + } + } + } + + /** + * @xmlType value + * @var string + */ + public $value; + +} // end class IPPFinancingProductTypeEnum diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPIntuitEntity.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPIntuitEntity.php index 841a526..44e8e9e 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPIntuitEntity.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPIntuitEntity.php @@ -122,7 +122,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @xmlType attribute * @xmlName status - * @var EntityStatusEnum[] + * @var EntityStatusEnum[unbounded] */ public $status; /** diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPInventoryAdjustment.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPInventoryAdjustment.php new file mode 100644 index 0000000..bdd5679 --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPInventoryAdjustment.php @@ -0,0 +1,91 @@ + $initPropVal) + { + if (property_exists('IPPInventoryAdjustment',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPInventoryAdjustment',$initPropName)) + { + $this->{$initPropName} = $initPropVal; + } + else + { + if ($verbose) + echo "Property does not exist ($initPropName) in class (".get_class($this).")"; + } + } + } + + + /** + * @Definition + Product: QBO + Description: When this property is set to true, the "Inventory Adjustment" is treated + as a notice-of-shipment or packing slip. This will cause the accounting engine to book + the revenue from the sale of the items. When this property is set, the SalesPrice property + must be provided. In order for correct accounting to occur SalesPrice (per item) amount + must match the sales amount on the sales transaction - but no validation of this occurs + within the accounting engine. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName ShippingAdjustment + * @var boolean + */ + public $ShippingAdjustment; + /** + * @Definition + Product: QBO + Description: Reference to the + Inventory Adjustment account used to adjust inventory. + This is an expense or opening balance equity account. + The inventory asset account is used from item's definition. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 1 + * @xmlMaxOccurs 1 + * @xmlName AdjustAccountRef + * @var com\intuit\schema\finance\v3\IPPReferenceType + */ + public $AdjustAccountRef; + /** + * @Definition + Product: QBO + Description: Customer Reference + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlMaxOccurs 1 + * @xmlName CustomerRef + * @var com\intuit\schema\finance\v3\IPPReferenceType + */ + public $CustomerRef; + + +} // end class IPPInventoryAdjustment diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPInvoice.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPInvoice.php index d19d168..7a4191f 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPInvoice.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPInvoice.php @@ -141,6 +141,20 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var boolean */ public $AllowOnlineACHPayment; + /** + * @Definition + Product: QBO + Description: Specifies whether + customer is allowed to use eInvoicing(online payment -paypal or + venmo) to pay the Invoice + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName AllowOnlinePayPalPayment + * @var boolean + */ + public $AllowOnlinePayPalPayment; /** * @Definition Product: QBO @@ -167,6 +181,44 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var string */ public $ECloudStatusTimeStamp; + /** + * @Definition + Product: QBO + Description: Use of Invoice of a transaction which is required by CFDI4.0 in Mexico. + Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of cfdiUse. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName CfdiUse + * @var integer + */ + public $CfdiUse; + /** + * @Definition + Product: QBO + Description: Exportation type of a transaction which is required by CFDI4.0 in Mexico. + Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName Exportation + * @var string + */ + public $Exportation; + /** + * @Definition + Product: QBO + Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName GlobalInfo + * @var com\intuit\schema\finance\v3\IPPMXGlobalInfo + */ + public $GlobalInfo; /** * @Definition Product: QBO @@ -295,6 +347,78 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var string */ public $InvoiceLinkExpiryDate; + /** + * @Definition + Product: QBO + Description: Indicates whether the Recurring Invoice eligible for auto payment. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName AutoPayEligible + * @var boolean + */ + public $AutoPayEligible; + /** + * @Definition + Product: QBO + Description: Indicates whether the Non-Recurring Invoice eligible for scheduled payment. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName SchedulePayEligible + * @var boolean + */ + public $SchedulePayEligible; + /** + * @Definition + Product: QBO + Description: Unique identifier for scheduled payment for invoice. Used to indicate if invoice has scheduled payment or not. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName ScheduledPaymentId + * @var string + */ + public $ScheduledPaymentId; + /** + * @Definition + Product: QBO + Description: Internal use only: Indicates whether gratuity is enabled for this invoice. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName GratuityEnabled + * @var boolean + */ + public $GratuityEnabled; + /** + * @Definition + Product: QBO + Description: Internal use only: Indicates invoice financing type. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName FinancingProductType + * @var com\intuit\schema\finance\v3\IPPFinancingProductTypeEnum + */ + public $FinancingProductType; + /** + * @Definition + Product: QBO + Description: Internal use only: Subscription payment setting for a Recurring Invoice + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName SubscriptionPaymentsSetting + * @var com\intuit\schema\finance\v3\IPPSubscriptionPaymentsSettingEnum + */ + public $SubscriptionPaymentsSetting; } // end class IPPInvoice diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPItem.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPItem.php index 1bebe5f..a9e2d68 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPItem.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPItem.php @@ -819,6 +819,33 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPReferenceType */ public $ClassRef; + /** + * @Definition + Product: QBO + Description: Originating source of + the Item. Valid values are defined in SourceTypeEnum + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName Source + * @var string + */ + public $Source; + /** + * @Definition + Product: QBO + Description: Use the DeferredRevenue property to indicate that the goods/services sold + have not yet been delivered to the customer, and therefore not appropriate for the + accounting engine to book as Revenue for accounting. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName DeferredRevenue + * @var boolean + */ + public $DeferredRevenue; } // end class IPPItem diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPItemAdjustmentLineDetail.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPItemAdjustmentLineDetail.php new file mode 100644 index 0000000..1249189 --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPItemAdjustmentLineDetail.php @@ -0,0 +1,110 @@ + $initPropVal) + { + if (property_exists('IPPItemAdjustmentLineDetail',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPItemAdjustmentLineDetail',$initPropName)) + { + $this->{$initPropName} = $initPropVal; + } + else + { + if ($verbose) + echo "Property does not exist ($initPropName) in class (".get_class($this).")"; + } + } + } + + + /** + * @Definition + Product: QBO + Description: Reference to an inventory item. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 1 + * @xmlMaxOccurs 1 + * @xmlName ItemRef + * @var com\intuit\schema\finance\v3\IPPReferenceType + */ + public $ItemRef; + /** + * @Definition + Product: QBO + Description: Specifies the Sales Price (per item) for which the items being disbursed were sold. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName SalesPrice + * @var float + */ + public $SalesPrice; + /** + * @Definition + Product: QBO + Description: Difference in quantity + it will have negative value for reducing quantity + positive value for increasing quantity. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName QtyDiff + * @var float + */ + public $QtyDiff; + /** + * @Definition + Product: QBO + Description: New quantity as of provided + transaction date. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName NewQty + * @var float + */ + public $NewQty; + /** + * @Definition + Product: QBO + Description: Class Reference + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlMaxOccurs 1 + * @xmlName ClassRef + * @var com\intuit\schema\finance\v3\IPPReferenceType + */ + public $ClassRef; + + +} // end class IPPItemAdjustmentLineDetail diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPLine.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPLine.php index 7793026..dd13e63 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPLine.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPLine.php @@ -357,6 +357,18 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPTDSLineDetail */ public $TDSLineDetail; + /** + * @Definition + Product: QBO + Description: Item adjustment line type for the + transaction. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlName ItemAdjustmentLineDetail + * @var com\intuit\schema\finance\v3\IPPItemAdjustmentLineDetail + */ + public $ItemAdjustmentLineDetail; /** * @Definition Product: QBW @@ -384,6 +396,20 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPIntuitAnyType */ public $LineEx; + /** + * @Definition + Product: ALL + Description: Project identifier + References to the project this line + is associated with + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName ProjectRef + * @var com\intuit\schema\finance\v3\IPPReferenceType + */ + public $ProjectRef; } // end class IPPLine diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPMXGlobalInfo.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPMXGlobalInfo.php new file mode 100644 index 0000000..9e31968 --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPMXGlobalInfo.php @@ -0,0 +1,82 @@ + $initPropVal) + { + if (property_exists('IPPMXGlobalInfo',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPMXGlobalInfo',$initPropName)) + { + $this->{$initPropName} = $initPropVal; + } + else + { + if ($verbose) + echo "Property does not exist ($initPropName) in class (".get_class($this).")"; + } + } + } + + + /** + * @Definition + Product: QBO + Description: Periodicity of global invoice data which is required by CFDI4.0 in Mexico. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName Periodicity + * @var string + */ + public $Periodicity; + /** + * @Definition + Product: QBO + Description: Month of global invoice data which is required by CFDI4.0 in Mexico. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName Month + * @var string + */ + public $Month; + /** + * @Definition + Product: QBO + Description: Year of global invoice data which is required by CFDI4.0 in Mexico. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName Year + * @var string + */ + public $Year; + + +} // end class IPPMXGlobalInfo diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPProductAndServicesPrefs.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPProductAndServicesPrefs.php index f58aed0..f277d37 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPProductAndServicesPrefs.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPProductAndServicesPrefs.php @@ -110,6 +110,31 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPUOMFeatureTypeEnum */ public $UOM; + /** + * @Definition + Product:QBO + Description: Indicates if revenue recognition is enabled for the company. True if enabled, false otherwise. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName RevenueRecognition + * @var boolean + */ + public $RevenueRecognition; + /** + * @Definition + Product:QBO + Description: RevenueRecognitionFrequency describes how frequently revenue is recognised. + Possible values are Daily, Weekly, Monthly. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName RevenueRecognitionFrequency + * @var string + */ + public $RevenueRecognitionFrequency; } // end class IPPProductAndServicesPrefs diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPRecurringInfo.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPRecurringInfo.php index fba2c5a..9867aa7 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPRecurringInfo.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPRecurringInfo.php @@ -52,7 +52,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $Name; /** - * @Definition + * @Definition Product: QBO Description: The Recur Type which can be Automated, Reminded, UnScheduled or Manual. @@ -64,7 +64,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $RecurType; /** - * @Definition + * @Definition Product: QBO Description: Indicates whether the Recurring Schedule is enabled. diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPRecurringScheduleInfo.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPRecurringScheduleInfo.php index 3c1e0d1..2735f60 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPRecurringScheduleInfo.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPRecurringScheduleInfo.php @@ -52,7 +52,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $IntervalType; /** - * @Definition + * @Definition Product: QBO Description: The Interval based on the Interval Type @@ -64,7 +64,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $NumInterval; /** - * @Definition + * @Definition Product: QBO Description: The Day of the Month @@ -76,7 +76,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $DayOfMonth; /** - * @Definition + * @Definition Product: QBO Description: The Day of the Week @@ -100,7 +100,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $WeekOfMonth; /** - * @Definition + * @Definition Product: QBO Description: The Month of the Year @@ -112,7 +112,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $MonthOfYear; /** - * @Definition + * @Definition Product: QBO Description: The days before StartDate for a Reminded RecurType @@ -124,7 +124,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $RemindDays; /** - * @Definition + * @Definition Product: QBO Description: The Days before the Scheduled Date @@ -136,7 +136,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $DaysBefore; /** - * @Definition + * @Definition Product: QBO Description: The Max number of Recurring Occurrences @@ -148,7 +148,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $MaxOccurrences; /** - * @Definition + * @Definition Product: QBO Description: The Start Date for the Recurring Schedule @@ -160,7 +160,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $StartDate; /** - * @Definition + * @Definition Product: QBO Description: The End Date for the Recurring Schedule @@ -172,7 +172,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $EndDate; /** - * @Definition + * @Definition Product: QBO Description: The Date when the next Transaction will created. (Read Only) @@ -184,7 +184,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $NextDate; /** - * @Definition + * @Definition Product: QBO Description: The Date when the last Transaction was created.(Read Only) diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPSalesItemLineDetail.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPSalesItemLineDetail.php index 066af08..f39bc3d 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPSalesItemLineDetail.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPSalesItemLineDetail.php @@ -91,6 +91,24 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var float */ public $DiscountAmt; + /** + * @Definition + Product: QBO + Description: Use the DeferredRevenue property to indicate that the goods/services sold + have not yet been delivered to the customer, and therefore not appropriate for the + accounting engine to book as Revenue for accounting. The most typical example would be + inventory items that have not yet been shipped. The accounting engine will credit a + liability account instead of revenue account. Later a follow on transaction must be + entered when the sale is fulfilled, and then the accounting engine will debit the + liability account and credit the revenue account. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName DeferredRevenue + * @var boolean + */ + public $DeferredRevenue; /** * @Definition Product: ALL diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPSalesTransaction.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPSalesTransaction.php index e0ed4ec..7d65f8b 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPSalesTransaction.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPSalesTransaction.php @@ -377,6 +377,21 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var boolean */ public $ApplyTaxAfterDiscount; + /** + * @Definition + Product: QBO + Description: During total tax override (when user specifies TxnTaxDetail.TotalTax), + if this is set to true, system overrides all taxes including the shipping tax, + otherwise (if false or null) only non shipping taxes are overridden and original shipping + tax is added to the total tax. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName ShippingTaxIncludedInTotalTax + * @var boolean + */ + public $ShippingTaxIncludedInTotalTax; /** * @Definition Product: QBW diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPP.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPSourceTypeEnum.php similarity index 77% rename from vendor/quickbooks/v3-php-sdk/src/Data/IPP.php rename to vendor/quickbooks/v3-php-sdk/src/Data/IPPSourceTypeEnum.php index 0db078c..af52a23 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPP.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPSourceTypeEnum.php @@ -4,10 +4,14 @@ /** * @xmlNamespace http://schema.intuit.com/finance/v3 * @xmlType string - * @xmlName IPP - * @var IPP + * @xmlName IPPSourceTypeEnum + * @var IPPSourceTypeEnum + * @xmlDefinition + Product: QBO + Description: Enumeration of external sources that create the entites in QBO + */ -class IPPWrapper +class IPPSourceTypeEnum { /** @@ -23,7 +27,7 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) { foreach($keyValInitializers as $initPropName => $initPropVal) { - if (property_exists('IPPWrapper',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPWrapper',$initPropName)) + if (property_exists('IPPSourceTypeEnum',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPSourceTypeEnum',$initPropName)) { $this->{$initPropName} = $initPropVal; } @@ -41,4 +45,4 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) */ public $value; -} // end class IPPWrapper +} // end class IPPSourceTypeEnum diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPSubscriptionPaymentsSettingEnum.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPSubscriptionPaymentsSettingEnum.php new file mode 100644 index 0000000..0a4233d --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPSubscriptionPaymentsSettingEnum.php @@ -0,0 +1,45 @@ + $initPropVal) + { + if (property_exists('IPPSubscriptionPaymentsSettingEnum',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPSubscriptionPaymentsSettingEnum',$initPropName)) + { + $this->{$initPropName} = $initPropVal; + } + else + { + if ($verbose) + echo "Property does not exist ($initPropName) in class (".get_class($this).")"; + } + } + } + + /** + * @xmlType value + * @var string + */ + public $value; + +} // end class IPPSubscriptionPaymentsSettingEnum diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPTaxRate.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPTaxRate.php index a1e126d..b9b4046 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPTaxRate.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPTaxRate.php @@ -187,6 +187,18 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPIntuitAnyType */ public $TaxRateEx; + /** + * @Definition + Product: QBO + Description: OriginalTaxRate represents the tax rate from which the current tax rate originated + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName OriginalTaxRate + * @var com\intuit\schema\finance\v3\IPPReferenceType + */ + public $OriginalTaxRate; } // end class IPPTaxRate diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPTimeActivity.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPTimeActivity.php index bde671d..e20f5fc 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPTimeActivity.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPTimeActivity.php @@ -156,6 +156,20 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPReferenceType */ public $PayrollItemRef; + /** + * @Definition + Product: ALL + Description: Project identifier + References to the project this line + is associated with + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName ProjectRef + * @var com\intuit\schema\finance\v3\IPPReferenceType + */ + public $ProjectRef; /** * @Definition Billable status of the time recorded @@ -190,6 +204,17 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var float */ public $HourlyRate; + /** + * @Definition Hourly cost rate of the employee or vendor for this + time activity. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName CostRate + * @var float + */ + public $CostRate; /** * @Definition Hours worked. * @xmlType element @@ -209,6 +234,16 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var integer */ public $Minutes; + /** + * @Definition Seconds worked; valid values are 0 - 59. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName Seconds + * @var integer + */ + public $Seconds; /** * @Definition Hours of break taken between start time and end time. @@ -235,6 +270,17 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var integer */ public $BreakMinutes; + /** + * @Definition Seconds of break taken between start time and + end time. Valid values are 0 - 59. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName BreakSeconds + * @var integer + */ + public $BreakSeconds; /** * @Definition Time work started. [b]QuickBooks Notes[/b][br /] diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPTransaction.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPTransaction.php index 447cac8..5961433 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPTransaction.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPTransaction.php @@ -350,6 +350,20 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPRecurringInfo */ public $RecurringInfo; + /** + * @Definition + Product: ALL + Description: Project identifier + References to the project this transaction + is associated with + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName ProjectRef + * @var com\intuit\schema\finance\v3\IPPReferenceType + */ + public $ProjectRef; } // end class IPPTransaction diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPVendor.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPVendor.php index 06f936c..b20e4a0 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Data/IPPVendor.php +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPVendor.php @@ -455,6 +455,29 @@ public function __construct($keyValInitializers=array(), $verbose=FALSE) * @var com\intuit\schema\finance\v3\IPPVendorBankAccountDetail */ public $VendorPaymentBankDetail; + /** + * @Definition + Product: QBO + Description: Originating source of + the Vendor. Valid values are defined in SourceTypeEnum + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName Source + * @var string + */ + public $Source; + /** + * @Definition Hourly cost rate of the Employee. QBO only. QBD Unsupporetd field. + + * @xmlType element + * @xmlNamespace http://schema.intuit.com/finance/v3 + * @xmlMinOccurs 0 + * @xmlName CostRate + * @var float + */ + public $CostRate; } // end class IPPVendor diff --git a/vendor/quickbooks/v3-php-sdk/src/Data/IPPWrapper.php b/vendor/quickbooks/v3-php-sdk/src/Data/IPPWrapper.php new file mode 100644 index 0000000..d9b9e73 --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/src/Data/IPPWrapper.php @@ -0,0 +1,44 @@ + $initPropVal) + { + if (property_exists('IPPWrapper',$initPropName) || property_exists('QuickBooksOnline\API\Data\IPPWrapper',$initPropName)) + { + $this->{$initPropName} = $initPropVal; + } + else + { + if ($verbose) + echo "Property does not exist ($initPropName) in class (".get_class($this).")"; + } + } + } + + /** + * @xmlType value + * @var string + */ + public $value; + +} // end class IPPWrapper diff --git a/vendor/quickbooks/v3-php-sdk/src/Diagnostics/LoggerBase.php b/vendor/quickbooks/v3-php-sdk/src/Diagnostics/LoggerBase.php index 8e433fc..d480dda 100644 --- a/vendor/quickbooks/v3-php-sdk/src/Diagnostics/LoggerBase.php +++ b/vendor/quickbooks/v3-php-sdk/src/Diagnostics/LoggerBase.php @@ -2,10 +2,12 @@ namespace QuickBooksOnline\API\Diagnostics; use QuickBooksOnline\API\Core\CoreConstants; +use AllowDynamicProperties; /** * This file contains an interface for Logging. */ +#[AllowDynamicProperties] class LoggerBase { diff --git a/vendor/quickbooks/v3-php-sdk/src/ReportService/ReportName.php b/vendor/quickbooks/v3-php-sdk/src/ReportService/ReportName.php index 523addc..f6da888 100644 --- a/vendor/quickbooks/v3-php-sdk/src/ReportService/ReportName.php +++ b/vendor/quickbooks/v3-php-sdk/src/ReportService/ReportName.php @@ -30,4 +30,5 @@ class ReportName const JOURNALREPORT = "JournalReport"; const JOURNALREPORTFR = "JournalReportFR"; const TRIALBALANCEFR = "TrialBalanceFR"; + const FECREPORT = "FECReport"; } diff --git a/vendor/quickbooks/v3-php-sdk/src/ReportService/ReportService.php b/vendor/quickbooks/v3-php-sdk/src/ReportService/ReportService.php index 53c702d..dea86d2 100644 --- a/vendor/quickbooks/v3-php-sdk/src/ReportService/ReportService.php +++ b/vendor/quickbooks/v3-php-sdk/src/ReportService/ReportService.php @@ -98,31 +98,34 @@ class ReportService private $subcol_pct_inc = null; private $subcol_pct_exp = null; private $adjusted_gain_loss = null; + private $showrows = null; + private $add_due_date = null; + private $attachmentType = null; public function getAdjustedGainLoss(){ - return $this->adjusted_gain_loss; + return $this->adjusted_gain_loss; } public function setAdjustedGainLoss($adjustedGainLoss){ - return $this->adjusted_gain_loss = $adjustedGainLoss; + return $this->adjusted_gain_loss = $adjustedGainLoss; } public function getPercentIncome(){ - return $this->subcol_pct_inc; + return $this->subcol_pct_inc; } public function getPercentExpense(){ - return $this->subcol_pct_exp; + return $this->subcol_pct_exp; } public function setPercentIncome($percentIncome){ - $this->subcol_pct_inc = $percentIncome; - return $this; + $this->subcol_pct_inc = $percentIncome; + return $this; } public function setPercentExpense($percentExpense){ - $this->subcol_pct_exp = $percentExpense; - return $this; + $this->subcol_pct_exp = $percentExpense; + return $this; } /** * @return null @@ -960,6 +963,63 @@ public function setDocNum($doc_num) return $this; } + /** + * @return null + */ + public function getShowRows() + { + return $this->showrows; + } + + /** + * @param null $showrows + * + * @return $this + */ + public function setShowRows($showrows) + { + $this->showrows = $showrows; + return $this; + } + + /** + * @param null $add_due_date + * + * @return $this + */ + public function setDueDate($add_due_date) + { + $this->add_due_date = $add_due_date; + return $this; + } + + /** + * @return null + */ + public function getDueDate() + { + return $this->add_due_date; + } + + /** + * @param null $attachmentType + * + * @return $this + */ + public function setAttachmentType($attachmentType) + { + $this->attachmentType = $attachmentType; + return $this; + } + + /** + * @return null + */ + public function getAttachmentType() + { + return $this->attachmentType; + } + /** * Returns serializer for response objects * @return IEntitySerializer @@ -1173,13 +1233,13 @@ private function getReportQueryParameters() array_push($uriParameterList, array("printed", $this->getPrinted())); } if (!is_null($this->both_amount)) { - array_push($uriParameterList, array("both_amount", $this->getBothAmount())); + array_push($uriParameterList, array("bothamount", $this->getBothAmount())); } if (!is_null($this->memo)) { array_push($uriParameterList, array("memo", $this->getMemo())); } if (!is_null($this->doc_num)) { - array_push($uriParameterList, array("doc_num", $this->getDocNum())); + array_push($uriParameterList, array("docnum", $this->getDocNum())); } if (!is_null($this->subcol_pct_inc)) { array_push($uriParameterList, array("subcol_pct_inc", $this->getPercentIncome())); @@ -1193,6 +1253,17 @@ private function getReportQueryParameters() array_push($uriParameterList, ["adjusted_gain_loss", $this->getAdjustedGainLoss()]); } + if (!is_null($this->showrows)) { + array_push($uriParameterList, ["showrows", $this->getShowRows()]); + } + + if (!is_null($this->add_due_date)) { + array_push($uriParameterList, ["add_due_date", $this->getDueDate()]); + } + + if (!is_null($this->attachmentType)) { + array_push($uriParameterList, ["attachmentType", $this->getAttachmentType()]); + } foreach ($uriParameterList as $uriParameter) { if (strlen($uriParameterString) > 0) { diff --git a/vendor/quickbooks/v3-php-sdk/src/XSD/Finance.xjb b/vendor/quickbooks/v3-php-sdk/src/XSD/Finance.xjb new file mode 100644 index 0000000..4ba7568 --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/src/XSD/Finance.xjb @@ -0,0 +1,23 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/vendor/quickbooks/v3-php-sdk/src/XSD/Finance.xsd b/vendor/quickbooks/v3-php-sdk/src/XSD/Finance.xsd index 9a410de..1e6ff16 100644 --- a/vendor/quickbooks/v3-php-sdk/src/XSD/Finance.xsd +++ b/vendor/quickbooks/v3-php-sdk/src/XSD/Finance.xsd @@ -203,7 +203,7 @@ - + @@ -214,6 +214,7 @@ + @@ -799,12 +800,27 @@ + + + + Product: QBO + Description: Use Deferred Revenue for payments on services you haven’t provided yet. + + + Product: QBO - Description: Use Healthcare to track expenses you pay for health - insurance or contributions to a health savings account. + Description: Use Healthcare to track premiums you pay for health insurance. + + + + + + + Product: QBO + Description: Use Health Savings Account Contributions to track contributions to a health savings account. @@ -1342,6 +1358,22 @@ + + + + Product: QBO + Description: Use payroll tax expenses to track payroll taxes you paid. + + + + + + + Product: QBO + Description: Use payroll wage expenses to track salaries and wages. + + + @@ -1760,6 +1792,14 @@ + + + + Product: QBO + Description: Use Communications to track communication expenses. + + + @@ -2888,6 +2928,78 @@ + + + + Product: QBO + Description: Use Other Debtors to group Accounts Receivable other than those from customers. + + + + + + + Product: QBO + Description: Use Rent a room relief - Rents Received for rents receivable for UK landlords + + + + + + + Product: QBO + Description: Use UK Taxes withheld for tax withheld from non-resident landlords + + + + + + + Product: QBO + Description: Use Foreign Tax paid for foreign taxes for landlords + + + + + + + Product: QBO + Description: Use Premiums Received for premiums for the Grant of a lease for landlords + + + + + + + Product: QBO + Description: Use Premiums Paid for reverse premiums and inducements for landlords + + + + + + + Product: QBO + Description: Use Finance Costs Restricted for residential property interest charged on finance for landlords + + + + + + + Product: QBO + Description: Use Carried Forward Relief for carried forward residential property interest charged on finance for landlords + + + + + + + Product: QBO + Description: Use Rent a room relief - Relief Claimed for relief claimed for rented room for landlords + + + @@ -3365,6 +3477,7 @@ + @@ -3811,6 +3924,22 @@ + + + Enumeration of financing Product Type applicable to Invoice + + + + + + + + Enumeration of subscription payment setting applicable to Invoice + + + + + @@ -4889,6 +5018,17 @@ + + + + Product: ALL + Description: Project identifier + References to the project this transaction + is associated with + + + @@ -5274,6 +5414,18 @@ + + + + Product: QBO + Description: During total tax override (when user specifies TxnTaxDetail.TotalTax), + if this is set to true, system overrides all taxes including the shipping tax, + otherwise (if false or null) only non shipping taxes are overridden and original shipping + tax is added to the total tax. + + + @@ -5654,6 +5806,17 @@ + + + + Product: QBO + Description: Specifies whether + customer is allowed to use eInvoicing(online payment -paypal or + venmo) to pay the Invoice + + + @@ -5674,6 +5837,35 @@ + + + + Product: QBO + Description: Use of Invoice of a transaction which is required by CFDI4.0 in Mexico. + Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of cfdiUse. + + + + + + + Product: QBO + Description: Exportation type of a transaction which is required by CFDI4.0 in Mexico. + Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation. + + + + + + + Product: QBO + Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico. + + + @@ -5762,10 +5954,95 @@ + + + + Product: QBO + Description: Indicates whether the Recurring Invoice eligible for auto payment. + + + + + + + Product: QBO + Description: Indicates whether the Non-Recurring Invoice eligible for scheduled payment. + + + + + + + Product: QBO + Description: Unique identifier for scheduled payment for invoice. Used to indicate if invoice has scheduled payment or not. + + + + + + + Product: QBO + Description: Internal use only: Indicates whether gratuity is enabled for this invoice. + + + + + + + Product: QBO + Description: Internal use only: Indicates invoice financing type. + + + + + + + Product: QBO + Description: Internal use only: Subscription payment setting for a Recurring Invoice + + + + + + + + Product: QBO + Description: Global invoice data of a transaction which is required by CFDI4.0 in Mexico. + Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of Exportation, Periodicity, and Year. + + + + + + + Product: QBO + Description: Periodicity of global invoice data which is required by CFDI4.0 in Mexico. + + + + + + + Product: QBO + Description: Month of global invoice data which is required by CFDI4.0 in Mexico. + + + + + + + Product: QBO + Description: Year of global invoice data which is required by CFDI4.0 in Mexico. + + + + + + @@ -6296,6 +6573,15 @@ + + + + Product: QBO + Description: Item adjustment line type for the + transaction. + + + @@ -6316,6 +6602,16 @@ + + + + Product: ALL + Description: Project identifier + References to the project this line + is associated with + + + @@ -6912,6 +7208,21 @@ + + + + Product: QBO + Description: Use the DeferredRevenue property to indicate that the goods/services sold + have not yet been delivered to the customer, and therefore not appropriate for the + accounting engine to book as Revenue for accounting. The most typical example would be + inventory items that have not yet been shipped. The accounting engine will credit a + liability account instead of revenue account. Later a follow on transaction must be + entered when the sale is fulfilled, and then the accounting engine will debit the + liability account and credit the revenue account. + + + @@ -7444,6 +7755,15 @@ + + + + Product: QBO + Description: OriginalTaxRate represents the tax rate from which the current tax rate originated + + + @@ -9611,6 +9931,115 @@ + + + + Product: QBO + Description: Contains the line details of an inventory adjustment transaction. + + + + + + + Product: QBO + Description: Reference to an inventory item. + + + + + + + Product: QBO + Description: Specifies the Sales Price (per item) for which the items being disbursed were sold. + + + + + + + + Product: QBO + Description: Difference in quantity + it will have negative value for reducing quantity + positive value for increasing quantity. + + + + + + + Product: QBO + Description: New quantity as of provided + transaction date. + + + + + + + + Product: QBO + Description: Class Reference + + + + + + + + + Product: QBO + Description: The Inventory Adjustment request element + + + + + + + + + Product: QBO + Description: When this property is set to true, the "Inventory Adjustment" is treated + as a notice-of-shipment or packing slip. This will cause the accounting engine to book + the revenue from the sale of the items. When this property is set, the SalesPrice property + must be provided. In order for correct accounting to occur SalesPrice (per item) amount + must match the sales amount on the sales transaction - but no validation of this occurs + within the accounting engine. + + + + + + + Product: QBO + Description: Reference to the + Inventory Adjustment account used to adjust inventory. + This is an expense or opening balance equity account. + The inventory asset account is used from item's definition. + + + + + + + Product: QBO + Description: Customer Reference + + + + + + + @@ -10238,6 +10667,25 @@ + + + + Product: QBO + Description: Originating source of + the Item. Valid values are defined in SourceTypeEnum + + + + + + + Product: QBO + Description: Use the DeferredRevenue property to indicate that the goods/services sold + have not yet been delivered to the customer, and therefore not appropriate for the + accounting engine to book as Revenue for accounting. + + + @@ -11659,6 +12107,17 @@ + + + + Product: ALL + Description: Project identifier + References to the project this line + is associated with + + + @@ -11683,6 +12142,13 @@ + + + Hourly cost rate of the employee or vendor for this + time activity. + + + Hours worked. @@ -11694,6 +12160,12 @@ + + + Seconds worked; valid values are 0 - 59. + + + Hours of break taken between start time and end @@ -11712,6 +12184,13 @@ + + + Seconds of break taken between start time and + end time. Valid values are 0 - 59. + + + @@ -11750,7 +12229,7 @@ Couple of TimeActivity API integrations are already submitting start, end hours with right company/employee time zone offsets. Such integrations will pass this attribute as true to avoid company time zone offsets by TimeActivity API. - + @@ -12514,6 +12993,24 @@ Disabled,SinglePerItem and MultiplePerItem + + + + Product:QBO + Description: Indicates if revenue recognition is enabled for the company. True if enabled, false otherwise. + + + + + + + Product:QBO + Description: RevenueRecognitionFrequency describes how frequently revenue is recognised. + Possible values are Daily, Weekly, Monthly. + + + @@ -13511,28 +14008,28 @@ - + Product: QBO Description: The Interval based on the Interval Type - + - + Product: QBO Description: The Day of the Month - + - + Product: QBO Description: The Day of the Week - + @@ -13540,26 +14037,26 @@ Description: The Week of the Month - + - + Product: QBO Description: The Month of the Year - + - + Product: QBO Description: The days before StartDate for a Reminded RecurType - + - + Product: QBO Description: The Days before the Scheduled Date @@ -13567,44 +14064,44 @@ - + Product: QBO Description: The Max number of Recurring Occurrences - + - + Product: QBO Description: The Start Date for the Recurring Schedule - + - + Product: QBO Description: The End Date for the Recurring Schedule - + - + Product: QBO Description: The Date when the next Transaction will created. (Read Only) - + - + Product: QBO Description: The Date when the last Transaction was created.(Read Only) - + @@ -13624,7 +14121,7 @@ - + Product: QBO Description: The Recur Type which can be Automated, Reminded, UnScheduled or Manual. @@ -13632,7 +14129,7 @@ - + Product: QBO Description: Indicates whether the Recurring Schedule is enabled. @@ -13647,7 +14144,7 @@ - + Product: All @@ -14037,7 +14534,7 @@ has been invoiced - + Total amount of the reimburse charge. @@ -14401,4 +14898,4 @@ - \ No newline at end of file + diff --git a/vendor/quickbooks/v3-php-sdk/src/XSD/IntuitNamesTypes.xsd b/vendor/quickbooks/v3-php-sdk/src/XSD/IntuitNamesTypes.xsd index 29eb168..4476eed 100644 --- a/vendor/quickbooks/v3-php-sdk/src/XSD/IntuitNamesTypes.xsd +++ b/vendor/quickbooks/v3-php-sdk/src/XSD/IntuitNamesTypes.xsd @@ -102,6 +102,17 @@ + + + + Product: QBO + Description: Enumeration of external sources that create the entites in QBO + + + + + + @@ -700,6 +711,24 @@ + + + + Product: QBO + Description: Originating source of + the Customer. Valid values are defined in SourceTypeEnum + + + + + + + Product: QBO + Description: Tax regime of a customer which is required by CFDI4.0 in Mexico. + Visit http://omawww.sat.gob.mx/tramitesyservicios/Paginas/anexo_20_version3-3.htm and find the catalogues that contain the accepted values of TaxRegime. + + + @@ -1013,6 +1042,21 @@ + + + + Product: QBO + Description: Originating source of + the Vendor. Valid values are defined in SourceTypeEnum + + + + + + Hourly cost rate of the Employee. QBO only. QBD Unsupporetd field. + + + @@ -1155,6 +1199,12 @@ Internal use only: extension place holder for Employee. + + + Hourly cost rate of the Employee. QBO only. QBD Unsupporetd field. + + + diff --git a/vendor/quickbooks/v3-php-sdk/src/XSD/IntuitRestServiceDef.xsd b/vendor/quickbooks/v3-php-sdk/src/XSD/IntuitRestServiceDef.xsd index 557c8c9..5715a2b 100644 --- a/vendor/quickbooks/v3-php-sdk/src/XSD/IntuitRestServiceDef.xsd +++ b/vendor/quickbooks/v3-php-sdk/src/XSD/IntuitRestServiceDef.xsd @@ -56,6 +56,7 @@ + @@ -29,6 +30,7 @@ * @author Mike Bevz * @version 0.0.4 */ +#[AllowDynamicProperties] class Php2Xml extends Common { /** diff --git a/vendor/quickbooks/v3-php-sdk/src/xsd2php.php b/vendor/quickbooks/v3-php-sdk/src/xsd2php.php index 5052ec8..229cc8f 100644 --- a/vendor/quickbooks/v3-php-sdk/src/xsd2php.php +++ b/vendor/quickbooks/v3-php-sdk/src/xsd2php.php @@ -3,7 +3,7 @@ require('./config.php'); use QuickBooksOnline\API\XSD2PHP\src\com\mikebevz\xsd2php\Xsd2Php; -$xml = new Xsd2Php('IPP', './XSD/IntuitNamesTypes.xsd', true); +$xml = new Xsd2Php('IPP', './XSD/Finance.xsd', true); $xml->overrideAsSingleNamespace = 'http://schema.intuit.com/finance/v3'; $xml->saveClasses('./Data', true); echo "\n"; diff --git a/vendor/quickbooks/v3-php-sdk/test/Core/HttpClients/SyncRestHandlerTest.php b/vendor/quickbooks/v3-php-sdk/test/Core/HttpClients/SyncRestHandlerTest.php new file mode 100644 index 0000000..e0b5181 --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/test/Core/HttpClients/SyncRestHandlerTest.php @@ -0,0 +1,67 @@ +getMockBuilder(IntuitResponse::class) + ->disableOriginalConstructor() + ->getMock(); + $fakeIntuitResponse->method('getHeaders')->willReturn(['content-type' => 'json']); + $fakeIntuitResponse->method('getFaultHandler')->willReturn(null); + $fakeIntuitResponse->method('getStatusCode')->willReturn($statusCode); + $fakeIntuitResponse->method('getBody')->willReturn($body); + + $fakeHttpClientInterface = $this->getMockBuilder(CurlHttpClient::class) + ->disableOriginalConstructor() + ->getMock(); + $fakeHttpClientInterface->method('makeAPICall')->willReturn($fakeIntuitResponse); + + $fakeOAuth2AccessToken = $this->getMockBuilder(OAuth2AccessToken::class) + ->disableOriginalConstructor() + ->getMock(); + + $fakeIppConfiguration = $this->getMockBuilder(IppConfiguration::class) + ->disableOriginalConstructor() + ->getMock(); + $fakeIppConfiguration->Message = new Message(new Request(), new Response()); + $fakeIppConfiguration->Logger = new Logger(); + $fakeIppConfiguration->OAuthMode = CoreConstants::OAUTH2; + + $fakeServiceContext = $this->getMockBuilder(ServiceContext::class) + ->disableOriginalConstructor() + ->getMock(); + $fakeServiceContext->IppConfiguration = $fakeIppConfiguration; + $fakeServiceContext->requestValidator = $fakeOAuth2AccessToken; + $fakeServiceContext->serviceType = CoreConstants::IntuitServicesTypeQBO; + + $requestParameters = new RequestParameters('', 'GET', CoreConstants::CONTENTTYPE_APPLICATIONJSON, null); + $requestBody = ''; + $specifiedRequestURI = CoreConstants::IPP_BASEURL . "?a=b"; + $throwExceptionOnError = false; + + $syncRestHandler = new SyncRestHandler($fakeServiceContext, $fakeHttpClientInterface); + + $result = $syncRestHandler->sendRequest($requestParameters, $requestBody, $specifiedRequestURI, $throwExceptionOnError); + static::assertEquals([$statusCode, $body], $result); + + } +} diff --git a/vendor/quickbooks/v3-php-sdk/test/Core/OAuth/OAuth2/OAuth2LoginHelperTest.php b/vendor/quickbooks/v3-php-sdk/test/Core/OAuth/OAuth2/OAuth2LoginHelperTest.php new file mode 100644 index 0000000..ea71a09 --- /dev/null +++ b/vendor/quickbooks/v3-php-sdk/test/Core/OAuth/OAuth2/OAuth2LoginHelperTest.php @@ -0,0 +1,156 @@ +expectException(SdkException::class); + } + + $oauth2LoginHelper = new OAuth2LoginHelper($clientId, $clientSecret, $redirectUrl); + + static::assertEquals($redirectUrl, $oauth2LoginHelper->getRedirectURL()); + } + + public function testGetClientSecret() { + $clientId = 'clientId'; + $clientSecret = 'secret'; + $oauth2LoginHelper = new OAuth2LoginHelper($clientId, $clientSecret); + + static::assertEquals($clientSecret, $oauth2LoginHelper->getClientSecret()); + } + + public function testGetLastError() { + $clientId = 'clientId'; + $clientSecret = 'secret'; + $oauth2LoginHelper = new OAuth2LoginHelper($clientId, $clientSecret); + + static::assertFalse($oauth2LoginHelper->getLastError()); + } + + public function testValidateIDToken() { + $clientId = 'clientId'; + $clientSecret = 'secret'; + $oauth2LoginHelper = new OAuth2LoginHelper($clientId, $clientSecret); + + // TODO: add additional cases to test TRUE path + static::assertFalse($oauth2LoginHelper->validateIDToken('a.a.a')); + } + + /** + * @param $valueSet + * @testWith [true] + * [false] + */ + public function testGetAccessToken($valueSet) { + $clientId = 'clientId'; + $clientSecret = 'secret'; + $fakeOAuth2AccessToken = $this->getMockBuilder(OAuth2AccessToken::class) + ->disableOriginalConstructor() + ->getMock(); + $fakeOAuth2AccessToken + ->method('getClientId') + ->willReturn($clientId); + $fakeOAuth2AccessToken + ->method('getClientSecret') + ->willReturn($clientSecret); + + $fakeServiceContext = $this->getMockBuilder(ServiceContext::class) + ->disableOriginalConstructor() + ->getMock(); + $fakeServiceContext->requestValidator = $fakeOAuth2AccessToken; + + if(!$valueSet) { + $fakeServiceContext= null; + $this->expectException(SdkException::class); + } + + $oauth2LoginHelper = new OAuth2LoginHelper($clientId, $clientSecret, null, null, null, $fakeServiceContext); + + static::assertEquals($fakeOAuth2AccessToken, $oauth2LoginHelper->getAccessToken()); + + } + + /** + * @param $scope + * @testWith ["scope"] + * [null] + */ + public function testGetScope($scope) { + $clientId = 'clientId'; + $clientSecret = 'secret'; + + if ($scope == null) { + $this->expectException(SdkException::class); + } + + $oauth2LoginHelper = new OAuth2LoginHelper($clientId, $clientSecret, null, $scope); + + static::assertEquals($scope, $oauth2LoginHelper->getScope()); + } + + public function testGetAuthorizationCodeURL() { + $clientSecret = 'secret'; + + $params = [ + 'client_id' => 'clientId', + 'scope' => 'scope', + 'redirect_uri' => 'redirectURI', + 'response_type' => 'code', + 'state' => 'state', + ]; + + $expectedURL = CoreConstants::OAUTH2_AUTHORIZATION_REQUEST_URL . "?" . http_build_query($params , "", '&', PHP_QUERY_RFC1738); + + $oauth2LoginHelper = new OAuth2LoginHelper($params['client_id'], $clientSecret, $params['redirect_uri'], $params['scope'], $params['state'], null); + $authorizationCodeUrl = $oauth2LoginHelper->getAuthorizationCodeURL(); + + static::assertEquals($expectedURL, $authorizationCodeUrl); + } + + public function testGetClientID() { + $clientId = 'clientId'; + $clientSecret = 'secret'; + $oauth2LoginHelper = new OAuth2LoginHelper($clientId, $clientSecret); + + static::assertEquals($clientId, $oauth2LoginHelper->getClientID()); + } + + /** + * @param $state + * @testWith ["state"] + * [null] + */ + public function testGetState($state) { + $clientId = 'clientId'; + $clientSecret = 'secret'; + + $oauth2LoginHelper = new OAuth2LoginHelper($clientId, $clientSecret, null, null, $state); + + if ($state == null) { + static::assertNotEmpty($oauth2LoginHelper->getState()); + } else { + static::assertEquals($state, $oauth2LoginHelper->getState()); + } + } +} diff --git a/vendor/quickbooks/v3-php-sdk/test/ServiceContextTest.test.php b/vendor/quickbooks/v3-php-sdk/test/ServiceContextTest.test.php index 6d9fa7f..6f43941 100644 --- a/vendor/quickbooks/v3-php-sdk/test/ServiceContextTest.test.php +++ b/vendor/quickbooks/v3-php-sdk/test/ServiceContextTest.test.php @@ -4,7 +4,8 @@ * to contain all DataServiceTest Unit Tests */ - use QuickBooksOnline\API\Core\Http\Serialization\JsonObjectSerializer; +use PHPUnit\Framework\TestCase; +use QuickBooksOnline\API\Core\Http\Serialization\JsonObjectSerializer; use QuickBooksOnline\API\Core\Http\Serialization\SerializationFormat; use QuickBooksOnline\API\Core\Http\Serialization\XmlObjectSerializer; use QuickBooksOnline\API\Data\IPPPayment; @@ -44,7 +45,7 @@ public function initPostRequest($entity, $uri) { * This is a test class for DataServiceTest and is intended * to contain all DataServiceTest Unit Tests */ - class DataServiceQboTest extends \PHPUnit_Framework_TestCase + class DataServiceQboTest extends TestCase { /** @@ -66,21 +67,21 @@ public function testSerializerSetup_XML() { $i = new DataServiceMock($this->getFakeContext(SerializationFormat::Xml,SerializationFormat::Xml)); - $this->assertTrue($i->getResponseSerializer() instanceof XmlObjectSerializer); - $this->assertTrue($i->getRequestSerializer() instanceof XmlObjectSerializer); + static::assertTrue($i->getResponseSerializer() instanceof XmlObjectSerializer); + static::assertTrue($i->getRequestSerializer() instanceof XmlObjectSerializer); } public function testSerializerSetup_JSON() { $i = new DataServiceMock($this->getFakeContext(SerializationFormat::Json,SerializationFormat::Json)); - $this->assertTrue($i->getResponseSerializer() instanceof JsonObjectSerializer); - $this->assertTrue($i->getRequestSerializer() instanceof JsonObjectSerializer); + static::assertTrue($i->getResponseSerializer() instanceof JsonObjectSerializer); + static::assertTrue($i->getRequestSerializer() instanceof JsonObjectSerializer); } public function testMinorVersion() { $i = new DataServiceMock($this->getFakeContext(SerializationFormat::Xml,SerializationFormat::Xml)); - $this->assertEquals("123", $i->getMinorVersion()); + static::assertEquals("123", $i->getMinorVersion()); } @@ -138,13 +139,13 @@ private function getFakeRules() { public function testVerifyChangedSince() { $i = new DataServiceMock($this->getFakeContext(SerializationFormat::Json,SerializationFormat::Json)); - $this->assertEquals(123123, $i->verifyChangedSince(123123)); - $this->assertEquals("123123", $i->verifyChangedSince("123123")); - $this->assertEquals("123123", $i->verifyChangedSince(" 123123")); - $this->assertEquals("123123", $i->verifyChangedSince(" 123123 ")); - $this->assertEquals("123123", $i->verifyChangedSince("\t123123\r\n")); - $this->assertEquals("1076620761", $i->verifyChangedSince("2004-02-12T15:19:21+00:00")); - $this->assertEquals("977436067", $i->verifyChangedSince("Thu, 21 Dec 2000 16:01:07 +0200")); + static::assertEquals(123123, $i->verifyChangedSince(123123)); + static::assertEquals("123123", $i->verifyChangedSince("123123")); + static::assertEquals("123123", $i->verifyChangedSince(" 123123")); + static::assertEquals("123123", $i->verifyChangedSince(" 123123 ")); + static::assertEquals("123123", $i->verifyChangedSince("\t123123\r\n")); + static::assertEquals("1076620761", $i->verifyChangedSince("2004-02-12T15:19:21+00:00")); + static::assertEquals("977436067", $i->verifyChangedSince("Thu, 21 Dec 2000 16:01:07 +0200")); } // /** @@ -155,30 +156,30 @@ public function testVerifyChangedSince_Negative() $i = new DataServiceMock($this->getFakeContext(SerializationFormat::Json,SerializationFormat::Json)); try { $i->verifyChangedSince("1.1"); - $this->fail("SDK expected to fail for value 0xFF"); + static::fail("SDK expected to fail for value 0xFF"); } catch (SdkException $ex) { - $this->assertTrue($ex instanceof SdkException); + static::assertTrue($ex instanceof SdkException); } try { $i->verifyChangedSince("0xFF"); - $this->fail("SDK expected to fail for value 0xFF"); + static::fail("SDK expected to fail for value 0xFF"); } catch (SdkException $ex) { - $this->assertTrue($ex instanceof SdkException); + static::assertTrue($ex instanceof SdkException); } try { $i->verifyChangedSince("abc"); - $this->fail("SDK expected to fail for value \"abc\""); + static::fail("SDK expected to fail for value \"abc\""); } catch (SdkException $ex) { - $this->assertTrue($ex instanceof SdkException); + static::assertTrue($ex instanceof SdkException); } try { $i->verifyChangedSince("0123"); - $this->fail("SDK expected to fail for value \"0123\""); + static::fail("SDK expected to fail for value \"0123\""); } catch(SdkException $ex) { - $this->assertTrue($ex instanceof SdkException); + static::assertTrue($ex instanceof SdkException); } } @@ -187,27 +188,27 @@ public function testAdd_TaxService() { $i = new IPPTaxService(); $dataService = $this->createDataServiceMockWithRestAndSerialization('JsonObjectSerializer', "{\"TaxCode\":{}}"); - $this->assertEquals('{"TaxService":{"TaxCode":{}}}', $dataService->Add($i)); + static::assertEquals('{"TaxService":{"TaxCode":{}}}', $dataService->Add($i)); } public function testAdd_TaxService_Object() { $i = new IPPTaxService(); $dataService = $this->createDataServiceMockWithRestHandler( - $this->createRestHandlerMock($this->returnValue(array(200,"{\"TaxCode\":{\"TaxCode\":\"Fake\"}}")))); + $this->createRestHandlerMock(static::returnValue(array(200, "{\"TaxCode\":{\"TaxCode\":\"Fake\"}}")))); $result = $dataService->Add($i); - $this->assertNotNull($result->TaxService); + static::assertNotNull($result->TaxService); } public function testAdd_TaxService_ObjectNull() { $i = new IPPTaxService(); $dataService = $this->createDataServiceMockWithRestHandler( - $this->createRestHandlerMock($this->returnValue(array(200,"{\"TaxCode\":{}}")))); + $this->createRestHandlerMock(static::returnValue(array(200, "{\"TaxCode\":{}}")))); $result = $dataService->Add($i); - $this->assertNotNull($result->TaxService); + static::assertNotNull($result->TaxService); } public function testVoidPayment() @@ -216,7 +217,7 @@ public function testVoidPayment() $dataService = $this->createDataServiceMockWithRestAndSerialization('JsonObjectSerializer', "{\"Payment\":{\"SyncToken\":\"2\", \"Id\": \"33\"}}"); $result = json_decode($dataService->Void($i)); - $this->assertNotNull($result->Payment); + static::assertNotNull($result->Payment); } public function testInitPostRequest() @@ -226,9 +227,9 @@ public function testInitPostRequest() $i = new DataServiceMock($fakeContext); $request = $i->initPostRequest($entity, "/x/y/z"); - $this->assertEquals("application/xml", $request->ContentType); - $this->assertEquals("/x/y/z", $request->ResourceUri); - $this->assertEquals('POST', $request->HttpVerbType); + static::assertEquals("application/xml", $request->ContentType); + static::assertEquals("/x/y/z", $request->ResourceUri); + static::assertEquals('POST', $request->HttpVerbType); } public function testInitPostRequestJson() @@ -238,9 +239,9 @@ public function testInitPostRequestJson() $i = new DataServiceMock($fakeContext); $request = $i->initPostRequest($entity, "/x/y/z"); - $this->assertEquals("application/json", $request->ContentType); - $this->assertEquals("/x/y/z", $request->ResourceUri); - $this->assertEquals('POST', $request->HttpVerbType); + static::assertEquals("application/json", $request->ContentType); + static::assertEquals("/x/y/z", $request->ResourceUri); + static::assertEquals('POST', $request->HttpVerbType); } public function testInitPostRequestForcedJson() @@ -250,28 +251,26 @@ public function testInitPostRequestForcedJson() $i = new DataServiceMock($fakeContext); $request = $i->initPostRequest($entity, "/x/y/z"); - $this->assertEquals("application/json", $request->ContentType); - $this->assertEquals("/x/y/z", $request->ResourceUri); - $this->assertEquals('POST', $request->HttpVerbType); + static::assertEquals("application/json", $request->ContentType); + static::assertEquals("/x/y/z", $request->ResourceUri); + static::assertEquals('POST', $request->HttpVerbType); } - /** - * @expectedException QuickBooksOnline\API\Exception\IdsException - * @expectedExceptionMessage Property ID is not set - */ public function testGetExportFileNameForPDF_ExceptionNoID() { + $this->expectException(IdsException::class); + $this->expectExceptionMessage('Property ID is not set'); + $fakeContext = $this->getFakeContext(SerializationFormat::Xml,SerializationFormat::Xml); $i = new DataServiceMock($fakeContext); $i->getExportFileNameForPDF(new IPPTaxService(), 'ext'); } - /** - * @expectedException QuickBooksOnline\API\Exception\IdsException - * @expectedExceptionMessage Property ID is empty - */ public function testGetExportFileNameForPDF_ExceptionEmptyId() { + $this->expectException(IdsException::class); + $this->expectExceptionMessage('Property ID is empty'); + $e = new IPPTaxService(); $e->Id = ""; $fakeContext = $this->getFakeContext(SerializationFormat::Xml,SerializationFormat::Xml); @@ -280,24 +279,23 @@ public function testGetExportFileNameForPDF_ExceptionEmptyId() $i->getExportFileNameForPDF($e, 'ext'); } - /** - * @expectedException QuickBooksOnline\API\Exception\IdsException - * @expectedExceptionMessage Argument Null Exception - */ public function testGetExportFileNameForPDF_ExceptionNullEntity() { + + $this->expectException(IdsException::class); + $this->expectExceptionMessage('Argument Null Exception'); + $fakeContext = $this->getFakeContext(SerializationFormat::Xml,SerializationFormat::Xml); $i = new DataServiceMock($fakeContext); $i->getExportFileNameForPDF(null, 'ext'); } - /** - * @expectedException QuickBooksOnline\API\Exception\IdsException - * @expectedExceptionMessage Property ID is not set - */ public function testSendEmail_Exception() { + $this->expectException(IdsException::class); + $this->expectExceptionMessage('Property ID is not set'); + $entity = new IPPSalesReceipt(); $this->invokeSendEmail($entity); } @@ -307,11 +305,11 @@ public function testSendEmail_UsualCase() { $entity = new IPPSalesReceipt(); $entity->Id = "123"; - $result = $this->invokeSendEmail($entity,$this->returnValue(array(200,$this->getSendEmailXMLResponseString())),"fake@fake.com",SerializationFormat::Xml); + $result = $this->invokeSendEmail($entity, static::returnValue(array(200, $this->getSendEmailXMLResponseString())),"fake@fake.com",SerializationFormat::Xml); - $this->assertTrue($result->BillEmail instanceof QuickBooksOnline\API\Data\IPPEmailAddress); - $this->assertEquals("EmailSent",$result->EmailStatus); - $this->assertEquals("fakeadr@test.com",$result->BillEmail->Address); + static::assertTrue($result->BillEmail instanceof QuickBooksOnline\API\Data\IPPEmailAddress); + static::assertEquals("EmailSent",$result->EmailStatus); + static::assertEquals("fakeadr@test.com",$result->BillEmail->Address); } @@ -319,21 +317,21 @@ public function testSendEmail_Parameter() { $entity = new IPPSalesReceipt(); $entity->Id = "123"; - $result = $this->invokeSendEmail($entity,$this->returnValue(array(200,$this->getSendEmailXMLResponseString())),"fake@fake.com",SerializationFormat::Xml); + $result = $this->invokeSendEmail($entity, static::returnValue(array(200, $this->getSendEmailXMLResponseString())),"fake@fake.com",SerializationFormat::Xml); - $this->assertTrue($result->BillEmail instanceof QuickBooksOnline\API\Data\IPPEmailAddress); - $this->assertEquals("EmailSent", $result->EmailStatus); - $this->assertEquals("fakeadr@test.com", $result->BillEmail->Address); + static::assertTrue($result->BillEmail instanceof QuickBooksOnline\API\Data\IPPEmailAddress); + static::assertEquals("EmailSent", $result->EmailStatus); + static::assertEquals("fakeadr@test.com", $result->BillEmail->Address); } public function testSendEmail_JsonParameter() { $entity = new IPPSalesReceipt(); $entity->Id = "123"; - $result = $this->invokeSendEmail($entity,$this->returnValue(array(200,$this->getSendEmailJsonResponseString())),"fake@fake.com",SerializationFormat::Json); + $result = $this->invokeSendEmail($entity, static::returnValue(array(200, $this->getSendEmailJsonResponseString())),"fake@fake.com",SerializationFormat::Json); - $this->assertEquals("EmailSent", $result->SalesReceipt->EmailStatus); - $this->assertEquals("fakeadr@test.com", $result->SalesReceipt->BillEmail->Address); + static::assertEquals("EmailSent", $result->SalesReceipt->EmailStatus); + static::assertEquals("fakeadr@test.com", $result->SalesReceipt->BillEmail->Address); } // /* @@ -345,10 +343,10 @@ public function testSendEmail_Exception_WrongEmail_Negative() $entity->Id = "123"; $entity->BillEmail = new QuickBooksOnline\API\Data\IPPEmailAddress(); $entity->BillEmail->Address = "fake123"; - $result = $this->invokeSendEmail($entity,$this->returnValue(array(200,$this->getSendEmailXMLResponseString())),NULL,SerializationFormat::Xml); - $this->assertTrue($result->BillEmail instanceof QuickBooksOnline\API\Data\IPPEmailAddress); - $this->assertEquals("EmailSent", $result->EmailStatus); - $this->assertEquals("fakeadr@test.com", $result->BillEmail->Address); + $result = $this->invokeSendEmail($entity, static::returnValue(array(200, $this->getSendEmailXMLResponseString())),NULL,SerializationFormat::Xml); + static::assertTrue($result->BillEmail instanceof QuickBooksOnline\API\Data\IPPEmailAddress); + static::assertEquals("EmailSent", $result->EmailStatus); + static::assertEquals("fakeadr@test.com", $result->BillEmail->Address); } public function testSendEmail_Entity() @@ -358,14 +356,14 @@ public function testSendEmail_Entity() $entity->BillEmail = new QuickBooksOnline\API\Data\IPPEmailAddress(); $entity->BillEmail->Address = "fake123@fake.com"; - $restMock = $this->createRestHandlerMock($this->returnValue(null)); + $restMock = $this->createRestHandlerMock(static::returnValue(null)); $mock = $this->createDataServiceMockWithRestHandler($restMock,array('getRequestParameters')); - $mock->expects($this->once()) + $mock->expects(static::once()) ->method('getRequestParameters') ->with( - $this->equalTo("company/123145705986809/salesreceipt/123/send"), - $this->equalTo("POST"), - $this->equalTo("application/octet-stream") + static::equalTo("company/123145705986809/salesreceipt/123/send"), + static::equalTo("POST"), + static::equalTo("application/octet-stream") ); $mock->SendEmail($entity); } @@ -375,14 +373,14 @@ public function testSendEmail_WithParam() $entity = new IPPSalesReceipt(); $entity->Id = "123"; - $restMock = $this->createRestHandlerMock($this->returnValue(null)); + $restMock = $this->createRestHandlerMock(static::returnValue(null)); $mock = $this->createDataServiceMockWithRestHandler($restMock,array('getRequestParameters')); - $mock->expects($this->once()) + $mock->expects(static::once()) ->method('getRequestParameters') ->with( - $this->equalTo("company/123145705986809/salesreceipt/123/send?sendTo=fake123%40fake.com"), - $this->equalTo("POST"), - $this->equalTo("application/octet-stream") + static::equalTo("company/123145705986809/salesreceipt/123/send?sendTo=fake123%40fake.com"), + static::equalTo("POST"), + static::equalTo("application/octet-stream") ); $mock->SendEmail($entity, "fake123@fake.com"); } @@ -403,21 +401,21 @@ private function createDataServiceMockWithRestAndSerialization($serializerMockCl { $i = new IPPTaxService(); $dataService = $this->createDataServiceMockWithRestHandler( - $this->createRestHandlerMock($this->returnValue([200,$httpResponse])), + $this->createRestHandlerMock(static::returnValue([200, $httpResponse])), ['getResponseSerializer', 'sendRequest'] ); $serializerMock = $this->getMockBuilder($serializerMockClassName) ->setMethods(['Deserialize']) ->getMock(); - $serializerMock->method('Deserialize')->will($this->returnArgument(0)); - $dataService->method('getResponseSerializer')->will($this->returnValue($serializerMock)); + $serializerMock->method('Deserialize')->will(static::returnArgument(0)); + $dataService->method('getResponseSerializer')->will(static::returnValue($serializerMock)); return $dataService; } private function createDataServiceMockWithRestHandler($restMock,$methods=array()) { $dataServiceMock = $this->createDataServiceMock(array_merge(array('getRestHandler'),$methods),SerializationFormat::Json); - $dataServiceMock->method('getRestHandler')->will($this->returnValue($restMock)); + $dataServiceMock->method('getRestHandler')->will(static::returnValue($restMock)); return $dataServiceMock; } @@ -435,10 +433,10 @@ private function invokeRestHandlerViaDownloadPDF($attribute, $expected) $entity->Id = 123; $restMock = $this->getMockBuilder('SyncRestHandler')->disableOriginalConstructor()->getMock(); - $restMock->expects($this->once())->method('GetResponse')->with( - $this->attributeEqualTo($attribute,$expected), - $this->isNull(), - $this->isNull() + $restMock->expects(static::once())->method('GetResponse')->with( + static::attributeEqualTo($attribute,$expected), + static::isNull(), + static::isNull() ); $this->createDataServiceMockWithRestHandler($restMock)->DownloadPDF($entity); } @@ -456,11 +454,11 @@ private function createRestHandlerMock($restHandlerValue) private function invokeSendEmail($entity,$restHandlerValue = NULL,$email=NULL,$format=NULL) { if(is_null($restHandlerValue)) { - $restHandlerValue = $this->returnValue(NULL); + $restHandlerValue = static::returnValue(NULL); } $dataServiceMock = $this->createDataServiceMock(array('getRestHandler'),$format); - $dataServiceMock->method('getRestHandler')->will($this->returnValue($this->createRestHandlerMock($restHandlerValue))); + $dataServiceMock->method('getRestHandler')->will(static::returnValue($this->createRestHandlerMock($restHandlerValue))); return $dataServiceMock->SendEmail($entity,$email); } } \ No newline at end of file diff --git a/vendor/quickbooks/v3-php-sdk/views/RateSDK.png b/vendor/quickbooks/v3-php-sdk/views/RateSDK.png new file mode 100644 index 0000000..01b475a Binary files /dev/null and b/vendor/quickbooks/v3-php-sdk/views/RateSDK.png differ diff --git a/vendor/quickbooks/v3-php-sdk/views/SDK.png b/vendor/quickbooks/v3-php-sdk/views/SDK.png deleted file mode 100644 index 1e4fdb2..0000000 Binary files a/vendor/quickbooks/v3-php-sdk/views/SDK.png and /dev/null differ diff --git a/vendor/quickbooks/v3-php-sdk/views/Thumbdown.png b/vendor/quickbooks/v3-php-sdk/views/Thumbdown.png new file mode 100644 index 0000000..726971a Binary files /dev/null and b/vendor/quickbooks/v3-php-sdk/views/Thumbdown.png differ diff --git a/vendor/quickbooks/v3-php-sdk/views/Thumbup.png b/vendor/quickbooks/v3-php-sdk/views/Thumbup.png new file mode 100644 index 0000000..b42beb6 Binary files /dev/null and b/vendor/quickbooks/v3-php-sdk/views/Thumbup.png differ