Commit 8bcf4677 authored by pengfei's avatar pengfei

Merge branch 'feature_optimize_order_create_refund' into pindan_activity_list_optimize

# Conflicts:
#	composer.json
#	composer.lock
#	vendor/composer/installed.json
#	vendor/composer/installed.php
parents fc87f3c9 3568ab33
...@@ -19,6 +19,7 @@ class GoodsException extends BaseException ...@@ -19,6 +19,7 @@ class GoodsException extends BaseException
const LABEL_PRINTER_ALREADY_EXIST = 53; const LABEL_PRINTER_ALREADY_EXIST = 53;
const PRINTER_BIND_ERROR = 54; const PRINTER_BIND_ERROR = 54;
const PRINTER_SN_ERROR = 55; const PRINTER_SN_ERROR = 55;
const PARAMS_NULL_ERROR = 56;
protected $cus = [ protected $cus = [
0 => '商品创建失败,请稍后重试', 0 => '商品创建失败,请稍后重试',
...@@ -77,5 +78,6 @@ class GoodsException extends BaseException ...@@ -77,5 +78,6 @@ class GoodsException extends BaseException
self::LABEL_PRINTER_ALREADY_EXIST => '标签打印机已被%s绑定', self::LABEL_PRINTER_ALREADY_EXIST => '标签打印机已被%s绑定',
self::PRINTER_BIND_ERROR => '打印机绑定失败:%s', self::PRINTER_BIND_ERROR => '打印机绑定失败:%s',
self::PRINTER_SN_ERROR => '打印机sn号码有误', self::PRINTER_SN_ERROR => '打印机sn号码有误',
self:: PARAMS_NULL_ERROR => '参数不能为空',
]; ];
} }
\ No newline at end of file
...@@ -314,7 +314,7 @@ class GoodsController extends Base ...@@ -314,7 +314,7 @@ class GoodsController extends Base
*/ */
public function refundAction() public function refundAction()
{ {
(new RefundGoodsValidate())->validate(); //(new RefundGoodsValidate())->validate();
$params = $this->params; $params = $this->params;
$res = GoodsService::refundGoods($params); $res = GoodsService::refundGoods($params);
$this->success(["result" => $res]); $this->success(["result" => $res]);
...@@ -349,4 +349,15 @@ class GoodsController extends Base ...@@ -349,4 +349,15 @@ class GoodsController extends Base
$res = GoodsSnapshotsService::goodsSnapshots($this->params); $res = GoodsSnapshotsService::goodsSnapshots($this->params);
$this->success(["result" => $res]); $this->success(["result" => $res]);
} }
/**
* 下单时获取商品数据 sku and spu
* @throws Exception
*/
public function place_order_goods_listAction()
{
$params = $this->params;
$data = GoodsService::getPlaceOrderGoodsList($params);
$this->success(["result" => $data]);
}
} }
\ No newline at end of file
...@@ -1936,18 +1936,26 @@ class GoodsService ...@@ -1936,18 +1936,26 @@ class GoodsService
* @return bool * @return bool
* @throws GoodsException * @throws GoodsException
*/ */
public static function refundGoods($params) public static function refundGoods($dataJson)
{ {
$goodsSukParams = GoodsSkuId::getGoodsSkuIdParams($params["goods_sku_id"]); if (empty($dataJson)){
if (!empty($goodsSukParams)) { throw new GoodsException(["cus" => GoodsException::PARAMS_NULL_ERROR]);
if (isset($goodsSukParams["table_tag"]) && ($goodsSukParams["table_tag"] == GoodsSkuId::TABLE_TAG_PINDAN }
|| $goodsSukParams["category_1_id"] == "00")) { foreach ($dataJson as $params){
return MarketingPindanGoodsService::refundGoods($params); $goodsSukParams = GoodsSkuId::getGoodsSkuIdParams($params["goods_sku_id"]);
if (!empty($goodsSukParams)) {
if (isset($goodsSukParams["table_tag"]) && ($goodsSukParams["table_tag"] == GoodsSkuId::TABLE_TAG_PINDAN
|| $goodsSukParams["category_1_id"] == "00")) {
$refundGoodsData[] = $params;
}
} else {
throw new GoodsException(["cus" => 41]);
} }
} else {
throw new GoodsException(["cus" => 41]);
} }
return true; if (empty($refundGoodsData)){
return true;
}
return MarketingPindanGoodsService::refundGoods($refundGoodsData);
} }
/** /**
...@@ -1974,4 +1982,69 @@ class GoodsService ...@@ -1974,4 +1982,69 @@ class GoodsService
} }
return $data; return $data;
} }
/**
* 下单时获取商品数据
* @param array $params
* @return array
*/
public static function getPlaceOrderGoodsList($params)
{
if (!$goodsSkuList = self::getPlaceOrderGoodsSkuList($params)) {
return [];
}
$goodsSpuList = self::getGoodsSpuList(['goods_spu_id' => array_column($goodsSkuList, 'goods_spu_id')]);
$goodsSpuList = array_column($goodsSpuList, null, 'goods_spu_id');
$goodsSkuData = [];
foreach ($goodsSkuList as $goodsInfo) {
if (!empty($goodsSpuList[$goodsInfo['goods_spu_id']])) {
$goodsSpuInfo = $goodsSpuList[$goodsInfo['goods_spu_id']];
$goodsSkuData[] = [
'goods_sku_id' => $goodsInfo['goods_sku_id'],
'goods_spu_id' => $goodsInfo['goods_spu_id'],
'goods_version' => $goodsInfo['goods_version'],
'price' => $goodsInfo['price'],
'clear_price' => $goodsInfo['clear_price'],
'rule_limit' => $goodsInfo['rule_limit'],
'online_status' => $goodsInfo['online_status'],
'inventory_rest' => $goodsInfo['inventory_rest'],
'rule_refund' => $goodsSpuInfo['rule_refund'],
'goods_sale_type' => $goodsSpuInfo['goods_sale_type'],
'goods_type' => $goodsSpuInfo['goods_type'],
'shop_id' => $goodsSpuInfo['shop_id'],
'life_account_id' => $goodsSpuInfo['life_account_id']
];
}
}
return $goodsSkuData;
}
/**
* 下单时获取商品sku数据
* @param array $params
* @return array
*/
public static function getPlaceOrderGoodsSkuList($params)
{
if (empty($params['goods_sku_id'])) {
return [];
}
$goodsSkuIdList = [];
foreach ($params['goods_sku_id'] as $goodsSkuId) {
$goodsParams = GoodsSkuId::getGoodsSkuIdParams($goodsSkuId);
$goodsSkuIdList[$goodsParams['goods_type']][] = $goodsSkuId;
}
$goodsSkuList = [];
foreach ($goodsSkuIdList as $goodsType => $goodsSkuIds) {
// 现在只有两种类型 实体,虚拟 ($goodsType == '' 虚拟商品)
if (empty($goodsType) || $goodsType == GoodsSpu::TYPE_VIRTUAL) {
$goodsData = self::generalGetGoodsSkuList(['goods_sku_id' => $goodsSkuIds]);
} else {
$goodsData = self::generalGetPindanGoodsSkuList(['goods_sku_id' => $goodsSkuIds]);
}
$goodsSkuList = array_merge($goodsSkuList, $goodsData);
}
return $goodsSkuList;
}
} }
\ No newline at end of file
...@@ -471,55 +471,55 @@ class MarketingPindanGoodsService ...@@ -471,55 +471,55 @@ class MarketingPindanGoodsService
} }
/** /**
* 退款拼单商品,库存调整 * 退款拼单商品,库存调整 (批量退库存)
* @param $params * @param $params
* @return bool * @return bool
* @throws GoodsException * @throws GoodsException
*/ */
public static function refundGoods($params) public static function refundGoods($dataJson)
{ {
$sku = PindanGoodsSku::get("*", ["goods_sku_id" => $params["goods_sku_id"]]); if (empty($dataJson)){
if (empty($sku)) { throw new GoodsException(["cus" => GoodsException::PARAMS_NULL_ERROR]);
throw new GoodsException(["cus" => 15]);
} }
PindanGoodsSku::beginTransaction(); PindanGoodsSku::beginTransaction();
foreach ($dataJson as $params){
$records = GoodsRefundRecord::getRecordMaster([ $sku = PindanGoodsSku::get("*", ["goods_sku_id" => $params["goods_sku_id"]]);
"goods_sku_id" => $params["goods_sku_id"], if (empty($sku)) {
"order_item_id" => $params["order_item_id"], throw new GoodsException(["cus" => 15]);
"operator_result" => GoodsRefundRecord::OPERATOR_RESULT_SUCCESS }
]); $records = GoodsRefundRecord::getRecordMaster([
if (empty($records)) {
GoodsRefundRecord::save([
"goods_sku_id" => $params["goods_sku_id"], "goods_sku_id" => $params["goods_sku_id"],
"order_id" => $params["order_id"],
"order_item_id" => $params["order_item_id"], "order_item_id" => $params["order_item_id"],
"num" => $params["num"],
"operator_result" => GoodsRefundRecord::OPERATOR_RESULT_SUCCESS "operator_result" => GoodsRefundRecord::OPERATOR_RESULT_SUCCESS
]); ]);
if (empty($records)) {
$row = PindanGoodsSku::save([
"total_amount_sold[-]" => $params["num"],
"total_amount_order[-]" => $params["num"],
"inventory_rest[+]" => $params["num"],
], ["goods_sku_id" => $sku["goods_sku_id"], "total_amount_sold[>=]" => $params["num"], "total_amount_order[>=]" => $params["num"]]);
FileLog::info('goods_refund_log', 'json decode error raw:' . json_encode($params));
if ($row < 1){
PindanGoodsSku::rollback();
GoodsRefundRecord::save([ GoodsRefundRecord::save([
"goods_sku_id" => $params["goods_sku_id"], "goods_sku_id" => $params["goods_sku_id"],
"order_id" => $params["order_id"], "order_id" => $params["order_id"],
"order_item_id" => $params["order_item_id"], "order_item_id" => $params["order_item_id"],
"num" => $params["num"], "num" => $params["num"],
"operator_result" => GoodsRefundRecord::OPERATOR_RESULT_FAILURE "operator_result" => GoodsRefundRecord::OPERATOR_RESULT_SUCCESS
]); ]);
throw new GoodsException(["cus" => 0]);
$row = PindanGoodsSku::save([
"total_amount_sold[-]" => $params["num"],
"total_amount_order[-]" => $params["num"],
"inventory_rest[+]" => $params["num"],
], ["goods_sku_id" => $sku["goods_sku_id"], "total_amount_sold[>=]" => $params["num"], "total_amount_order[>=]" => $params["num"]]);
FileLog::info('goods_refund_log', 'json decode error raw:' . json_encode($params));
if ($row < 1){
PindanGoodsSku::rollback();
GoodsRefundRecord::save([
"goods_sku_id" => $params["goods_sku_id"],
"order_id" => $params["order_id"],
"order_item_id" => $params["order_item_id"],
"num" => $params["num"],
"operator_result" => GoodsRefundRecord::OPERATOR_RESULT_FAILURE
]);
throw new GoodsException(["cus" => 0]);
}
} }
} }
if (!PindanGoodsSku::commit()) { if (!PindanGoodsSku::commit()) {
PindanGoodsSku::rollback(); PindanGoodsSku::rollback();
throw new GoodsException(["cus" => 0]); throw new GoodsException(["cus" => 0]);
......
...@@ -5,6 +5,7 @@ namespace App\Services\tcc; ...@@ -5,6 +5,7 @@ namespace App\Services\tcc;
use Api\PhpUtils\Common\GoodsSkuId; use Api\PhpUtils\Common\GoodsSkuId;
use Api\PhpUtils\Log\FileLog; use Api\PhpUtils\Log\FileLog;
use App\Exception\custom\GoodsException; use App\Exception\custom\GoodsException;
use App\Exception\BaseException;
use App\Models\goods\mysql\GoodsSku; use App\Models\goods\mysql\GoodsSku;
use App\Models\goods\mysql\PindanGoodsSku; use App\Models\goods\mysql\PindanGoodsSku;
use App\Models\goods\mysql\Tcc; use App\Models\goods\mysql\Tcc;
...@@ -75,7 +76,7 @@ class Tcc2Service ...@@ -75,7 +76,7 @@ class Tcc2Service
$goodsSkuId = $item["goods_sku_id"]; $goodsSkuId = $item["goods_sku_id"];
$num = $item["num"]; $num = $item["num"];
$sku = GoodsSku::getRecord(["goods_sku_id" => $goodsSkuId] $sku = GoodsSku::getRecord(["goods_sku_id" => $goodsSkuId]
, ["goods_sku_id", "inventory_rest", "inventory_lock", "online_status"]); , ["goods_sku_id", "inventory_rest", "inventory_lock", "online_status","goods_name"]);
if ($sku["online_status"] == GoodsSku::ONLINE_STATUS_ONLINE) { if ($sku["online_status"] == GoodsSku::ONLINE_STATUS_ONLINE) {
//条件加上乐观锁 //条件加上乐观锁
$rowCount = GoodsSku::save([ $rowCount = GoodsSku::save([
...@@ -84,11 +85,13 @@ class Tcc2Service ...@@ -84,11 +85,13 @@ class Tcc2Service
], ["goods_sku_id" => $goodsSkuId, "inventory_rest[>=]" => $num]); ], ["goods_sku_id" => $goodsSkuId, "inventory_rest[>=]" => $num]);
if ($rowCount <= 0) { if ($rowCount <= 0) {
GoodsSku::rollback(); GoodsSku::rollback();
throw new GoodsException(["cus" => 24]); $msg = $sku['goods_name'] . '商品库存不足';
throw new BaseException(['code' => '400000024', 'msg' => $msg]);
} }
} else { } else {
GoodsSku::rollback(); GoodsSku::rollback();
throw new GoodsException(["cus" => 43]); $msg = $sku['goods_name'] . '商品非上架状态';
throw new BaseException(['code' => '400000043', 'msg' => $msg]);
} }
} }
Tcc::save([ Tcc::save([
...@@ -122,7 +125,7 @@ class Tcc2Service ...@@ -122,7 +125,7 @@ class Tcc2Service
$goodsSkuId = $item["goods_sku_id"]; $goodsSkuId = $item["goods_sku_id"];
$num = $item["num"]; $num = $item["num"];
$sku = PindanGoodsSku::getRecord(["goods_sku_id" => $goodsSkuId] $sku = PindanGoodsSku::getRecord(["goods_sku_id" => $goodsSkuId]
, ["goods_sku_id", "inventory_rest", "inventory_lock", "online_status"]); , ["goods_sku_id", "inventory_rest", "inventory_lock", "online_status","goods_name"]);
if ($sku["online_status"] == PindanGoodsSku::ONLINE_STATUS_ONLINE) { if ($sku["online_status"] == PindanGoodsSku::ONLINE_STATUS_ONLINE) {
//条件加上乐观锁 //条件加上乐观锁
$rowCount = PindanGoodsSku::save([ $rowCount = PindanGoodsSku::save([
...@@ -131,11 +134,13 @@ class Tcc2Service ...@@ -131,11 +134,13 @@ class Tcc2Service
], ["goods_sku_id" => $goodsSkuId, "inventory_rest[>=]" => $num]); ], ["goods_sku_id" => $goodsSkuId, "inventory_rest[>=]" => $num]);
if ($rowCount <= 0) { if ($rowCount <= 0) {
PindanGoodsSku::rollback(); PindanGoodsSku::rollback();
throw new GoodsException(["cus" => 24]); $msg = $sku['goods_name'] . '商品库存不足';
throw new BaseException(['code' => '400000024', 'msg' => $msg]);
} }
} else { } else {
PindanGoodsSku::rollback(); PindanGoodsSku::rollback();
throw new GoodsException(["cus" => 43]); $msg = $sku['goods_name'] . '商品非上架状态';
throw new BaseException(['code' => '400000043', 'msg' => $msg]);
} }
} }
Tcc::save([ Tcc::save([
......
<?php <?php
namespace App\Services\user\Weixin\Weixin;
use App\Libraries\Http; namespace App\Services\user\Weixin;
/** /**
* Created by PhpStorm. * Created by PhpStorm.
* User: shixing
* Date: 2018/9/12 * Date: 2018/9/12
* Time: 10:48 * Time: 10:48
*/ */
......
...@@ -38,7 +38,7 @@ class JwUser ...@@ -38,7 +38,7 @@ class JwUser
$params = ["mobilePhone" => $params['mobile']]; $params = ["mobilePhone" => $params['mobile']];
$begin = microtime(true); $begin = microtime(true);
$user_info = (new Request())->get($url, $params); $user_info = (new Request())->get($url, $params, 5000);
$end = microtime(true); $end = microtime(true);
$total_time = round(($end - $begin), 4) * 1000; $total_time = round(($end - $begin), 4) * 1000;
if (!empty($user_info['response'])) { if (!empty($user_info['response'])) {
...@@ -71,7 +71,7 @@ class JwUser ...@@ -71,7 +71,7 @@ class JwUser
$params = ["userId" => $params['user_id']]; $params = ["userId" => $params['user_id']];
$begin = microtime(true); $begin = microtime(true);
$user_info = (new Request())->post($url, $params); $user_info = (new Request())->post($url, $params, 5000);
$end = microtime(true); $end = microtime(true);
$total_time = round(($end - $begin), 4) * 1000; $total_time = round(($end - $begin), 4) * 1000;
if (!empty($user_info['response'])) { if (!empty($user_info['response'])) {
...@@ -102,7 +102,7 @@ class JwUser ...@@ -102,7 +102,7 @@ class JwUser
$params = ["userIds" => $params['user_id']]; $params = ["userIds" => $params['user_id']];
$begin = microtime(true); $begin = microtime(true);
$user_info = (new Request())->post($url, $params); $user_info = (new Request())->post($url, $params, 5000);
$end = microtime(true); $end = microtime(true);
$total_time = round(($end - $begin), 4) * 1000; $total_time = round(($end - $begin), 4) * 1000;
if (!empty($user_info['response'])) { if (!empty($user_info['response'])) {
...@@ -133,7 +133,7 @@ class JwUser ...@@ -133,7 +133,7 @@ class JwUser
} }
$params = []; $params = [];
//$city_list = (new TimeOut())->runGet($url, $params); //$city_list = (new TimeOut())->runGet($url, $params);
$city_list = (new Request())->get($url, $params); $city_list = (new Request())->get($url, $params, 5000);
FileLog::info('jw_user_getAllCityTree', json_encode($city_list)); FileLog::info('jw_user_getAllCityTree', json_encode($city_list));
if (!$city_list) { if (!$city_list) {
throw new CodeSpecialException("timeout"); throw new CodeSpecialException("timeout");
......
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php'; require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit147d97defc074a277015f080b27e01c6::getLoader(); return ComposerAutoloaderInite9c1cf708c572b30ccbaa1adb865583e::getLoader();
...@@ -338,7 +338,7 @@ class ClassLoader ...@@ -338,7 +338,7 @@ class ClassLoader
* Loads the given class or interface. * Loads the given class or interface.
* *
* @param string $class The name of the class * @param string $class The name of the class
* @return true|null True if loaded, null otherwise * @return bool|null True if loaded, null otherwise
*/ */
public function loadClass($class) public function loadClass($class)
{ {
...@@ -347,8 +347,6 @@ class ClassLoader ...@@ -347,8 +347,6 @@ class ClassLoader
return true; return true;
} }
return null;
} }
/** /**
......
<?php <?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer; namespace Composer;
use Composer\Autoload\ClassLoader; use Composer\Autoload\ClassLoader;
use Composer\Semver\VersionParser; use Composer\Semver\VersionParser;
/**
* This class is copied in every Composer installed project and available to all
*
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
*
* To require it's presence, you can require `composer-runtime-api ^2.0`
*/
class InstalledVersions class InstalledVersions
{ {
private static $installed; private static $installed = array (
private static $canGetVendors; 'root' =>
private static $installedByVendor = array(); array (
'pretty_version' => 'dev-develop',
/** 'version' => 'dev-develop',
* Returns a list of all package names which are present, either by being installed, replaced or provided 'aliases' =>
* array (
* @return string[] ),
* @psalm-return list<string> 'reference' => 'e57aa42ccab85ef592670fe44526010029dd6359',
*/ 'name' => 'yidian/yaf_demo',
public static function getInstalledPackages() ),
{ 'versions' =>
$packages = array(); array (
foreach (self::getInstalled() as $installed) { 'api/php_services' =>
$packages[] = array_keys($installed['versions']); array (
} 'pretty_version' => '1.0.17',
'version' => '1.0.17.0',
if (1 === \count($packages)) { 'aliases' =>
return $packages[0]; array (
} ),
'reference' => '5b7bce9db15629dd3b1bcca0d066e2e1f1fae404',
return array_keys(array_flip(\call_user_func_array('array_merge', $packages))); ),
} 'api/php_utils' =>
array (
/** 'pretty_version' => 'v1.0.17',
* Returns a list of all package names with a specific type e.g. 'library' 'version' => '1.0.17.0',
* 'aliases' =>
* @param string $type array (
* @return string[] ),
* @psalm-return list<string> 'reference' => 'aa70ccdd545f3e421eaf717274954990f1805b87',
*/ ),
public static function getInstalledPackagesByType($type) 'bacon/bacon-qr-code' =>
{ array (
$packagesByType = array(); 'pretty_version' => '2.0.4',
'version' => '2.0.4.0',
foreach (self::getInstalled() as $installed) { 'aliases' =>
foreach ($installed['versions'] as $name => $package) { array (
if (isset($package['type']) && $package['type'] === $type) { ),
$packagesByType[] = $name; 'reference' => 'f73543ac4e1def05f1a70bcd1525c8a157a1ad09',
} ),
} 'dasprid/enum' =>
} array (
'pretty_version' => '1.0.3',
return $packagesByType; 'version' => '1.0.3.0',
} 'aliases' =>
array (
/** ),
* Checks whether the given package is installed 'reference' => '5abf82f213618696dda8e3bf6f64dd042d8542b2',
* ),
* This also returns true if the package name is provided or replaced by another package 'elasticsearch/elasticsearch' =>
* array (
* @param string $packageName 'pretty_version' => '7.11.x-dev',
* @param bool $includeDevRequirements 'version' => '7.11.9999999.9999999-dev',
* @return bool 'aliases' =>
*/ array (
public static function isInstalled($packageName, $includeDevRequirements = true) ),
{ 'reference' => '8d08050fef9d89004702b1428b8c1f7f4f6162cf',
foreach (self::getInstalled() as $installed) { ),
if (isset($installed['versions'][$packageName])) { 'endroid/qr-code' =>
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); array (
} 'pretty_version' => '3.9.6',
} 'version' => '3.9.6.0',
'aliases' =>
return false; array (
} ),
'reference' => '9cdd4f5d609bfc8811ca4a62b4d23eb16976242f',
/** ),
* Checks whether the given package satisfies a version constraint 'ezimuel/guzzlestreams' =>
* array (
* e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: 'pretty_version' => 'dev-master',
* 'version' => 'dev-master',
* Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') 'aliases' =>
* array (
* @param VersionParser $parser Install composer/semver to have access to this class and functionality 0 => '3.0.x-dev',
* @param string $packageName ),
* @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package 'reference' => 'abe3791d231167f14eb80d413420d1eab91163a8',
* @return bool ),
*/ 'ezimuel/ringphp' =>
public static function satisfies(VersionParser $parser, $packageName, $constraint) array (
{ 'pretty_version' => 'dev-master',
$constraint = $parser->parseConstraints($constraint); 'version' => 'dev-master',
$provided = $parser->parseConstraints(self::getVersionRanges($packageName)); 'aliases' =>
array (
return $provided->matches($constraint); 0 => '1.1.x-dev',
} ),
'reference' => '0b78f89d8e0bb9e380046c31adfa40347e9f663b',
/** ),
* Returns a version constraint representing all the range(s) which are installed for a given package 'guzzlehttp/guzzle' =>
* array (
* It is easier to use this via isInstalled() with the $constraint argument if you need to check 'pretty_version' => '6.3.0',
* whether a given version of a package is installed, and not just whether it exists 'version' => '6.3.0.0',
* 'aliases' =>
* @param string $packageName array (
* @return string Version constraint usable with composer/semver ),
*/ 'reference' => 'f4db5a78a5ea468d4831de7f0bf9d9415e348699',
public static function getVersionRanges($packageName) ),
{ 'guzzlehttp/promises' =>
foreach (self::getInstalled() as $installed) { array (
if (!isset($installed['versions'][$packageName])) { 'pretty_version' => 'dev-master',
continue; 'version' => 'dev-master',
} 'aliases' =>
array (
$ranges = array(); 0 => '1.4.x-dev',
if (isset($installed['versions'][$packageName]['pretty_version'])) { ),
$ranges[] = $installed['versions'][$packageName]['pretty_version']; 'reference' => 'c1dd809c8f51a477701052f4b9e5b4bb5c1061aa',
} ),
if (array_key_exists('aliases', $installed['versions'][$packageName])) { 'guzzlehttp/psr7' =>
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']); array (
} 'pretty_version' => '1.x-dev',
if (array_key_exists('replaced', $installed['versions'][$packageName])) { 'version' => '1.9999999.9999999.9999999-dev',
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']); 'aliases' =>
} array (
if (array_key_exists('provided', $installed['versions'][$packageName])) { ),
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']); 'reference' => '9d006741ba865a45adccfac45d8e1053086a5a3f',
} ),
'khanamiryan/qrcode-detector-decoder' =>
return implode(' || ', $ranges); array (
} 'pretty_version' => '1.0.5.2',
'version' => '1.0.5.2',
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); 'aliases' =>
} array (
),
/** 'reference' => '04fdd58d86a387065f707dc6d3cc304c719910c1',
* @param string $packageName ),
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present 'mongodb/mongodb' =>
*/ array (
public static function getVersion($packageName) 'pretty_version' => '1.4.3',
{ 'version' => '1.4.3.0',
foreach (self::getInstalled() as $installed) { 'aliases' =>
if (!isset($installed['versions'][$packageName])) { array (
continue; ),
} 'reference' => '18fca8cc8d0c2cc07f76605760d20632bb3dab96',
),
if (!isset($installed['versions'][$packageName]['version'])) { 'myclabs/php-enum' =>
return null; array (
} 'pretty_version' => '1.7.7',
'version' => '1.7.7.0',
return $installed['versions'][$packageName]['version']; 'aliases' =>
} array (
),
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); 'reference' => 'd178027d1e679832db9f38248fcc7200647dc2b7',
} ),
'perftools/php-profiler' =>
/** array (
* @param string $packageName 'pretty_version' => '0.18.0',
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present 'version' => '0.18.0.0',
*/ 'aliases' =>
public static function getPrettyVersion($packageName) array (
{ ),
foreach (self::getInstalled() as $installed) { 'reference' => '794c435f615ab9ca4347e386b4d8c6524fe9e3ae',
if (!isset($installed['versions'][$packageName])) { ),
continue; 'psr/http-message' =>
} array (
'pretty_version' => 'dev-master',
if (!isset($installed['versions'][$packageName]['pretty_version'])) { 'version' => 'dev-master',
return null; 'aliases' =>
} array (
0 => '1.0.x-dev',
return $installed['versions'][$packageName]['pretty_version']; ),
} 'reference' => 'efd67d1dc14a7ef4fc4e518e7dee91c271d524e4',
),
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); 'psr/http-message-implementation' =>
} array (
'provided' =>
/** array (
* @param string $packageName 0 => '1.0',
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference ),
*/ ),
public static function getReference($packageName) 'psr/log' =>
{ array (
foreach (self::getInstalled() as $installed) { 'pretty_version' => '1.1.4',
if (!isset($installed['versions'][$packageName])) { 'version' => '1.1.4.0',
continue; 'aliases' =>
} array (
),
if (!isset($installed['versions'][$packageName]['reference'])) { 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11',
return null; ),
} 'ralouphie/getallheaders' =>
array (
return $installed['versions'][$packageName]['reference']; 'pretty_version' => '3.0.3',
} 'version' => '3.0.3.0',
'aliases' =>
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); array (
} ),
'reference' => '120b605dfeb996808c31b6477290a714d356e822',
/** ),
* @param string $packageName 'react/promise' =>
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. array (
*/ 'pretty_version' => '2.x-dev',
public static function getInstallPath($packageName) 'version' => '2.9999999.9999999.9999999-dev',
{ 'aliases' =>
foreach (self::getInstalled() as $installed) { array (
if (!isset($installed['versions'][$packageName])) { ),
continue; 'reference' => 'a9752a861e21c0fe0b380c9f9e55beddc0ed7d31',
} ),
'symfony/deprecation-contracts' =>
return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; array (
} 'pretty_version' => 'dev-main',
'version' => 'dev-main',
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); 'aliases' =>
} array (
0 => '2.5.x-dev',
/** ),
* @return array 'reference' => '6f981ee24cf69ee7ce9736146d1c57c2780598a8',
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string} ),
*/ 'symfony/options-resolver' =>
public static function getRootPackage() array (
{ 'pretty_version' => '5.4.x-dev',
$installed = self::getInstalled(); 'version' => '5.4.9999999.9999999-dev',
'aliases' =>
return $installed[0]['root']; array (
} ),
'reference' => 'cd63dbab0428a47f8576e4e58148aeae2e32e91c',
/** ),
* Returns the raw installed.php data for custom implementations 'symfony/polyfill-ctype' =>
* array (
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. 'pretty_version' => 'dev-main',
* @return array[] 'version' => 'dev-main',
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} 'aliases' =>
*/ array (
public static function getRawData() 0 => '1.23.x-dev',
{ ),
@trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED); 'reference' => 'f24ae462b1d60c333df104f0b81ec7d0e12f6e9f',
),
if (null === self::$installed) { 'symfony/polyfill-intl-grapheme' =>
// only require the installed.php file if this file is loaded from its dumped location, array (
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 'pretty_version' => 'dev-main',
if (substr(__DIR__, -8, 1) !== 'C') { 'version' => 'dev-main',
self::$installed = include __DIR__ . '/installed.php'; 'aliases' =>
} else { array (
self::$installed = array(); 0 => '1.23.x-dev',
} ),
} 'reference' => '16880ba9c5ebe3642d1995ab866db29270b36535',
),
return self::$installed; 'symfony/polyfill-intl-normalizer' =>
} array (
'pretty_version' => 'dev-main',
/** 'version' => 'dev-main',
* Returns the raw data of all installed.php which are currently loaded for custom implementations 'aliases' =>
* array (
* @return array[] 0 => '1.23.x-dev',
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}> ),
*/ 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8',
public static function getAllRawData() ),
{ 'symfony/polyfill-mbstring' =>
return self::getInstalled(); array (
} 'pretty_version' => 'dev-main',
'version' => 'dev-main',
/** 'aliases' =>
* Lets you reload the static array from another file array (
* 0 => '1.23.x-dev',
* This is only useful for complex integrations in which a project needs to use ),
* this class but then also needs to execute another project's autoloader in process, 'reference' => '344e456152e22a1bce3048c6c311059ea14bde47',
* and wants to ensure both projects have access to their version of installed.php. ),
* 'symfony/polyfill-php73' =>
* A typical case would be PHPUnit, where it would need to make sure it reads all array (
* the data it needs from this class, then call reload() with 'pretty_version' => 'dev-main',
* `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure 'version' => 'dev-main',
* the project in which it runs can then also use this class safely, without 'aliases' =>
* interference between PHPUnit's dependencies and the project's dependencies. array (
* 0 => '1.23.x-dev',
* @param array[] $data A vendor/composer/installed.php data set ),
* @return void 'reference' => 'cc5db0e22b3cb4111010e48785a97f670b350ca5',
* ),
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>} $data 'symfony/polyfill-php80' =>
*/ array (
public static function reload($data) 'pretty_version' => 'dev-main',
{ 'version' => 'dev-main',
self::$installed = $data; 'aliases' =>
self::$installedByVendor = array(); array (
} 0 => '1.23.x-dev',
),
/** 'reference' => '57b712b08eddb97c762a8caa32c84e037892d2e9',
* @return array[] ),
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string}>}> 'symfony/property-access' =>
*/ array (
private static function getInstalled() 'pretty_version' => '5.4.x-dev',
{ 'version' => '5.4.9999999.9999999-dev',
if (null === self::$canGetVendors) { 'aliases' =>
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); array (
} ),
'reference' => 'bd3efa2a2d856d167dde8e7b883c65119064b7f5',
$installed = array(); ),
'symfony/property-info' =>
if (self::$canGetVendors) { array (
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 'pretty_version' => '5.4.x-dev',
if (isset(self::$installedByVendor[$vendorDir])) { 'version' => '5.4.9999999.9999999-dev',
$installed[] = self::$installedByVendor[$vendorDir]; 'aliases' =>
} elseif (is_file($vendorDir.'/composer/installed.php')) { array (
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; ),
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 'reference' => '903f3f3f6a360bc4739f8390e5031acc70d9cd9f',
self::$installed = $installed[count($installed) - 1]; ),
} 'symfony/string' =>
} array (
} 'pretty_version' => '5.4.x-dev',
} 'version' => '5.4.9999999.9999999-dev',
'aliases' =>
if (null === self::$installed) { array (
// 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 'reference' => '412eda2039ad5466f823c3696c0c309e6c140086',
if (substr(__DIR__, -8, 1) !== 'C') { ),
self::$installed = require __DIR__ . '/installed.php'; 'yidian/yaf_demo' =>
} else { array (
self::$installed = array(); 'pretty_version' => 'dev-develop',
} 'version' => 'dev-develop',
} 'aliases' =>
$installed[] = self::$installed; array (
),
return $installed; 'reference' => 'e57aa42ccab85ef592670fe44526010029dd6359',
} ),
),
);
private static $canGetVendors;
private static $installedByVendor = array();
public static function getInstalledPackages()
{
$packages = array();
foreach (self::getInstalled() as $installed) {
$packages[] = array_keys($installed['versions']);
}
if (1 === \count($packages)) {
return $packages[0];
}
return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
}
public static function isInstalled($packageName)
{
foreach (self::getInstalled() as $installed) {
if (isset($installed['versions'][$packageName])) {
return true;
}
}
return false;
}
public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
return $provided->matches($constraint);
}
public static function getVersionRanges($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
$ranges = array();
if (isset($installed['versions'][$packageName]['pretty_version'])) {
$ranges[] = $installed['versions'][$packageName]['pretty_version'];
}
if (array_key_exists('aliases', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
}
if (array_key_exists('replaced', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
}
if (array_key_exists('provided', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
}
return implode(' || ', $ranges);
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
public static function getVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['version'])) {
return null;
}
return $installed['versions'][$packageName]['version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
public static function getPrettyVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['pretty_version'])) {
return null;
}
return $installed['versions'][$packageName]['pretty_version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
public static function getReference($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['reference'])) {
return null;
}
return $installed['versions'][$packageName]['reference'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
public static function getRootPackage()
{
$installed = self::getInstalled();
return $installed[0]['root'];
}
public static function getRawData()
{
return self::$installed;
}
public static function reload($data)
{
self::$installed = $data;
self::$installedByVendor = array();
}
private static function getInstalled()
{
if (null === self::$canGetVendors) {
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
}
$installed = array();
if (self::$canGetVendors) {
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
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';
}
}
}
$installed[] = self::$installed;
return $installed;
}
} }
...@@ -165,6 +165,7 @@ return array( ...@@ -165,6 +165,7 @@ return array(
'App\\Services\\tcc\\TccService' => $baseDir . '/application/services/tcc/TccService.php', 'App\\Services\\tcc\\TccService' => $baseDir . '/application/services/tcc/TccService.php',
'App\\Services\\user\\UserService' => $baseDir . '/application/services/user/UserService.php', 'App\\Services\\user\\UserService' => $baseDir . '/application/services/user/UserService.php',
'App\\Services\\user\\Weixin\\ErrorCode' => $baseDir . '/application/services/user/Weixin/ErrorCode.php', 'App\\Services\\user\\Weixin\\ErrorCode' => $baseDir . '/application/services/user/Weixin/ErrorCode.php',
'App\\Services\\user\\Weixin\\Weixin' => $baseDir . '/application/services/user/Weixin/Weixin.php',
'App\\Services\\user\\Weixin\\WxBizDataCrypt' => $baseDir . '/application/services/user/Weixin/WxBizDataCrypt.php', 'App\\Services\\user\\Weixin\\WxBizDataCrypt' => $baseDir . '/application/services/user/Weixin/WxBizDataCrypt.php',
'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', 'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'BaconQrCode\\Common\\BitArray' => $vendorDir . '/bacon/bacon-qr-code/src/Common/BitArray.php', 'BaconQrCode\\Common\\BitArray' => $vendorDir . '/bacon/bacon-qr-code/src/Common/BitArray.php',
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit147d97defc074a277015f080b27e01c6 class ComposerAutoloaderInite9c1cf708c572b30ccbaa1adb865583e
{ {
private static $loader; private static $loader;
...@@ -24,15 +24,15 @@ class ComposerAutoloaderInit147d97defc074a277015f080b27e01c6 ...@@ -24,15 +24,15 @@ class ComposerAutoloaderInit147d97defc074a277015f080b27e01c6
require __DIR__ . '/platform_check.php'; require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInit147d97defc074a277015f080b27e01c6', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInite9c1cf708c572b30ccbaa1adb865583e', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit147d97defc074a277015f080b27e01c6', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInite9c1cf708c572b30ccbaa1adb865583e', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) { if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php'; require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit147d97defc074a277015f080b27e01c6::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInite9c1cf708c572b30ccbaa1adb865583e::getInitializer($loader));
} else { } else {
$map = require __DIR__ . '/autoload_namespaces.php'; $map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
...@@ -53,19 +53,19 @@ class ComposerAutoloaderInit147d97defc074a277015f080b27e01c6 ...@@ -53,19 +53,19 @@ class ComposerAutoloaderInit147d97defc074a277015f080b27e01c6
$loader->register(true); $loader->register(true);
if ($useStaticLoader) { if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit147d97defc074a277015f080b27e01c6::$files; $includeFiles = Composer\Autoload\ComposerStaticInite9c1cf708c572b30ccbaa1adb865583e::$files;
} else { } else {
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
} }
foreach ($includeFiles as $fileIdentifier => $file) { foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire147d97defc074a277015f080b27e01c6($fileIdentifier, $file); composerRequiree9c1cf708c572b30ccbaa1adb865583e($fileIdentifier, $file);
} }
return $loader; return $loader;
} }
} }
function composerRequire147d97defc074a277015f080b27e01c6($fileIdentifier, $file) function composerRequiree9c1cf708c572b30ccbaa1adb865583e($fileIdentifier, $file)
{ {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file; require $file;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
namespace Composer\Autoload; namespace Composer\Autoload;
class ComposerStaticInit147d97defc074a277015f080b27e01c6 class ComposerStaticInite9c1cf708c572b30ccbaa1adb865583e
{ {
public static $files = array ( public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
...@@ -394,6 +394,7 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6 ...@@ -394,6 +394,7 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6
'App\\Services\\tcc\\TccService' => __DIR__ . '/../..' . '/application/services/tcc/TccService.php', 'App\\Services\\tcc\\TccService' => __DIR__ . '/../..' . '/application/services/tcc/TccService.php',
'App\\Services\\user\\UserService' => __DIR__ . '/../..' . '/application/services/user/UserService.php', 'App\\Services\\user\\UserService' => __DIR__ . '/../..' . '/application/services/user/UserService.php',
'App\\Services\\user\\Weixin\\ErrorCode' => __DIR__ . '/../..' . '/application/services/user/Weixin/ErrorCode.php', 'App\\Services\\user\\Weixin\\ErrorCode' => __DIR__ . '/../..' . '/application/services/user/Weixin/ErrorCode.php',
'App\\Services\\user\\Weixin\\Weixin' => __DIR__ . '/../..' . '/application/services/user/Weixin/Weixin.php',
'App\\Services\\user\\Weixin\\WxBizDataCrypt' => __DIR__ . '/../..' . '/application/services/user/Weixin/WxBizDataCrypt.php', 'App\\Services\\user\\Weixin\\WxBizDataCrypt' => __DIR__ . '/../..' . '/application/services/user/Weixin/WxBizDataCrypt.php',
'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'BaconQrCode\\Common\\BitArray' => __DIR__ . '/..' . '/bacon/bacon-qr-code/src/Common/BitArray.php', 'BaconQrCode\\Common\\BitArray' => __DIR__ . '/..' . '/bacon/bacon-qr-code/src/Common/BitArray.php',
...@@ -1315,9 +1316,9 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6 ...@@ -1315,9 +1316,9 @@ class ComposerStaticInit147d97defc074a277015f080b27e01c6
public static function getInitializer(ClassLoader $loader) public static function getInitializer(ClassLoader $loader)
{ {
return \Closure::bind(function () use ($loader) { return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit147d97defc074a277015f080b27e01c6::$prefixLengthsPsr4; $loader->prefixLengthsPsr4 = ComposerStaticInite9c1cf708c572b30ccbaa1adb865583e::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit147d97defc074a277015f080b27e01c6::$prefixDirsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInite9c1cf708c572b30ccbaa1adb865583e::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit147d97defc074a277015f080b27e01c6::$classMap; $loader->classMap = ComposerStaticInite9c1cf708c572b30ccbaa1adb865583e::$classMap;
}, null, ClassLoader::class); }, null, ClassLoader::class);
} }
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
/* /*
* This file has been auto-generated by the Symfony String Component for internal use. * This file has been auto-generated by the Symfony String Component for internal use.
* *
* Unicode version: 13.0.0 * Unicode version: 14.0.0
* Date: 2020-03-12T08:04:33+00:00 * Date: 2021-09-17T09:20:30+02:00
*/ */
return [ return [
...@@ -450,10 +450,6 @@ return [ ...@@ -450,10 +450,6 @@ return [
], ],
[ [
19968, 19968,
40956,
],
[
40957,
40959, 40959,
], ],
[ [
...@@ -840,13 +836,25 @@ return [ ...@@ -840,13 +836,25 @@ return [
101632, 101632,
101640, 101640,
], ],
[
110576,
110579,
],
[
110581,
110587,
],
[
110589,
110590,
],
[ [
110592, 110592,
110847, 110847,
], ],
[ [
110848, 110848,
110878, 110882,
], ],
[ [
110928, 110928,
...@@ -996,6 +1004,10 @@ return [ ...@@ -996,6 +1004,10 @@ return [
128725, 128725,
128727, 128727,
], ],
[
128733,
128735,
],
[ [
128747, 128747,
128748, 128748,
...@@ -1008,6 +1020,10 @@ return [ ...@@ -1008,6 +1020,10 @@ return [
128992, 128992,
129003, 129003,
], ],
[
129008,
129008,
],
[ [
129292, 129292,
129338, 129338,
...@@ -1018,14 +1034,6 @@ return [ ...@@ -1018,14 +1034,6 @@ return [
], ],
[ [
129351, 129351,
129400,
],
[
129402,
129483,
],
[
129485,
129535, 129535,
], ],
[ [
...@@ -1034,7 +1042,7 @@ return [ ...@@ -1034,7 +1042,7 @@ return [
], ],
[ [
129656, 129656,
129658, 129660,
], ],
[ [
129664, 129664,
...@@ -1042,34 +1050,42 @@ return [ ...@@ -1042,34 +1050,42 @@ return [
], ],
[ [
129680, 129680,
129704, 129708,
], ],
[ [
129712, 129712,
129718, 129722,
], ],
[ [
129728, 129728,
129730, 129733,
], ],
[ [
129744, 129744,
129750, 129753,
],
[
129760,
129767,
],
[
129776,
129782,
], ],
[ [
131072, 131072,
173789, 173791,
], ],
[ [
173790, 173792,
173823, 173823,
], ],
[ [
173824, 173824,
177972, 177976,
], ],
[ [
177973, 177977,
177983, 177983,
], ],
[ [
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
/* /*
* This file has been auto-generated by the Symfony String Component for internal use. * This file has been auto-generated by the Symfony String Component for internal use.
* *
* Unicode version: 13.0.0 * Unicode version: 14.0.0
* Date: 2020-03-12T08:04:34+00:00 * Date: 2021-09-17T09:20:30+02:00
*/ */
return [ return [
...@@ -109,7 +109,11 @@ return [ ...@@ -109,7 +109,11 @@ return [
2139, 2139,
], ],
[ [
2259, 2200,
2207,
],
[
2250,
2273, 2273,
], ],
[ [
...@@ -272,6 +276,10 @@ return [ ...@@ -272,6 +276,10 @@ return [
3076, 3076,
3076, 3076,
], ],
[
3132,
3132,
],
[ [
3134, 3134,
3136, 3136,
...@@ -470,7 +478,7 @@ return [ ...@@ -470,7 +478,7 @@ return [
], ],
[ [
5938, 5938,
5940, 5939,
], ],
[ [
5970, 5970,
...@@ -504,6 +512,10 @@ return [ ...@@ -504,6 +512,10 @@ return [
6155, 6155,
6157, 6157,
], ],
[
6159,
6159,
],
[ [
6277, 6277,
6278, 6278,
...@@ -574,7 +586,7 @@ return [ ...@@ -574,7 +586,7 @@ return [
], ],
[ [
6847, 6847,
6848, 6862,
], ],
[ [
6912, 6912,
...@@ -666,10 +678,6 @@ return [ ...@@ -666,10 +678,6 @@ return [
], ],
[ [
7616, 7616,
7673,
],
[
7675,
7679, 7679,
], ],
[ [
...@@ -916,6 +924,10 @@ return [ ...@@ -916,6 +924,10 @@ return [
69446, 69446,
69456, 69456,
], ],
[
69506,
69509,
],
[ [
69633, 69633,
69633, 69633,
...@@ -924,6 +936,14 @@ return [ ...@@ -924,6 +936,14 @@ return [
69688, 69688,
69702, 69702,
], ],
[
69744,
69744,
],
[
69747,
69748,
],
[ [
69759, 69759,
69761, 69761,
...@@ -936,6 +956,10 @@ return [ ...@@ -936,6 +956,10 @@ return [
69817, 69817,
69818, 69818,
], ],
[
69826,
69826,
],
[ [
69888, 69888,
69890, 69890,
...@@ -1252,6 +1276,14 @@ return [ ...@@ -1252,6 +1276,14 @@ return [
113821, 113821,
113822, 113822,
], ],
[
118528,
118573,
],
[
118576,
118598,
],
[ [
119143, 119143,
119145, 119145,
...@@ -1320,6 +1352,10 @@ return [ ...@@ -1320,6 +1352,10 @@ return [
123184, 123184,
123190, 123190,
], ],
[
123566,
123566,
],
[ [
123628, 123628,
123631, 123631,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment