浏览代码

fix vendor

stanley-king 3 年之前
父节点
当前提交
c54ca8fc82
共有 3 个文件被更改,包括 4 次插入15 次删除
  1. 3 3
      .gitmodules
  2. 0 12
      test/TestSpreadsheet.php
  3. 1 0
      vendor/symfony/polyfill-mbstring

+ 3 - 3
.gitmodules

@@ -22,12 +22,12 @@
 [submodule "vendor/psr/simple-cache"]
   path = vendor/psr/simple-cache
   url = https://github.com/php-fig/simple-cache.git
-[submodule "vendor/symfony/polyfill-mbstring"]
-  path = vendor/symfony/polyfill-mbstring
-  url = https://github.com/symfony/polyfill-mbstring.git
 [submodule "vendor/ezyang/htmlpurifier"]
 	path = vendor/ezyang/htmlpurifier
 	url = https://github.com/ezyang/htmlpurifier.git
 [submodule "vendor/phpoffice/phpspreadsheet"]
 	path = vendor/phpoffice/phpspreadsheet
 	url = https://github.com/PHPOffice/PhpSpreadsheet.git
+[submodule "vendor/symfony/polyfill-mbstring"]
+	path = vendor/symfony/polyfill-mbstring
+	url = https://github.com/symfony/polyfill-mbstring.git

+ 0 - 12
test/TestSpreadsheet.php

@@ -10,22 +10,10 @@ require_once(BASE_ROOT_PATH . '/global.php');
 require_once(BASE_CORE_PATH . '/lrlz.php');
 require_once(BASE_ROOT_PATH . '/fooder.php');
 
-Log::record('1',Log::DEBUG);
 require_once(BASE_ROOT_PATH . '/vendor/autoload.php');
-Log::record('2',Log::DEBUG);
 require_once(BASE_HELPER_PATH . '/bank/execl_loader.php');
-Log::record('3',Log::DEBUG);
 require_once(BASE_HELPER_PATH . '/bank/converter.php');
-Log::record('4',Log::DEBUG);
 
-
-//use PhpOffice\PhpSpreadsheet\Spreadsheet;
-//use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
-
-//
-//	Strangely, PHP doesn't have a mb_str_replace multibyte function
-//	As we'll only ever use this function with UTF-8 characters, we can simply "hard-code" the character set
-//
 if ((!function_exists('mb_str_replace')) &&
     (function_exists('mb_substr')) && (function_exists('mb_strlen')) && (function_exists('mb_strpos'))) {
     function mb_str_replace($search, $replace, $subject) {

+ 1 - 0
vendor/symfony/polyfill-mbstring

@@ -0,0 +1 @@
+Subproject commit 0abb51d2f102e00a4eefcf46ba7fec406d245825