亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

mac下thinkphp5.0單元測試如何安裝擴展

發布時間:2020-07-26 07:38:58 來源:網絡 閱讀:1953 作者:phpervip 欄目:web開發


安裝擴展

首先安裝ThinkPHP5的單元測試擴展,進入命令行,切換到應用根目錄下面后,執行:


composer require topthink/think-testing


如果沒安裝composer就會報錯。看下面:


===

以下都要×××,不然連接不上,下面就有幾行是因為沒連上報的錯。

  1. 首先要安裝composer

  2. php -r "readfile('https://getcomposer.org/installer');" | php

   3.chmod +x composer


4.再進行下一步。

macdeMacBook-Pro:tp5 mac$ composer require topthink/think-testing
Using version ^1.0 for topthink/think-testing
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info

Package operations: 27 installs, 0 updates, 0 removals
  - Installing topthink/think-installer (v1.0.11): Downloading (100%)         
  - Installing topthink/framework (v5.0.7): Downloading (100%)         
  - Installing symfony/polyfill-mbstring (v1.3.0): Downloading (35%)          
Downloading (100%)         
  - Installing symfony/dom-crawler (v2.8.18): Downloading (100%)         
  - Installing symfony/yaml (v3.2.5): Downloading (100%)         
  - Installing sebastian/version (1.0.6): Downloading (100%)         
  - Installing sebastian/global-state (1.1.1): Downloading (failed)       
Downloading (100%)         
  - Installing sebastian/recursion-context (1.0.5): Downloading (100%)         
  - Installing sebastian/exporter (1.2.2): Downloading (failed)       
Downloading (100%)         
  - Installing sebastian/environment (1.3.8): Downloading (100%)         
  - Installing sebastian/diff (1.4.1): Downloading (100%)         
  - Installing sebastian/comparator (1.2.4): Downloading (100%)         
  - Installing doctrine/instantiator (1.0.5): Downloading (100%)         
  - Installing phpunit/php-text-template (1.2.1): Downloading (100%)         
  - Installing phpunit/phpunit-mock-objects (2.3.8): Downloading (95%)          
Downloading (100%)         
  - Installing phpunit/php-timer (1.0.9): Downloading (100%)         
  - Installing phpunit/php-file-iterator (1.4.2): Downloading (100%)         
  - Installing phpunit/php-token-stream (1.4.11): Downloading (100%)         
  - Installing phpunit/php-code-coverage (2.2.4): Downloading (100%)         
  - Installing webmozart/assert (1.2.0): Downloading (100%)         
  - Installing phpdocumentor/reflection-common (1.0): Downloading (100%)         
  - Installing phpdocumentor/type-resolver (0.2.1): Downloading (100%)         
  - Installing phpdocumentor/reflection-docblock (3.1.1): Downloading (100%)         
  - Installing phpspec/prophecy (v1.7.0): Downloading (100%)         
  - Installing phpunit/phpunit (4.8.35): Downloading (100%)         
  - Installing topthink/think-helper (v1.0.5): Downloading (100%)         
  - Installing topthink/think-testing (v1.0.6): Downloading (100%)         
    Invalid zip file, retrying...
  - Installing topthink/think-testing (v1.0.6): Downloading (100%)         
symfony/dom-crawler suggests installing symfony/css-selector ()
symfony/yaml suggests installing symfony/console (For validating YAML files using the lint command)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files

macdeMacBook-Pro:tp5 mac$

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

澄迈县| 明星| 广西| 德保县| 延川县| 聊城市| 丽水市| 库车县| 汨罗市| 扶余县| 新闻| 上杭县| 乐东| 海兴县| 古田县| 那坡县| 怀宁县| 鱼台县| 台中县| 林西县| 固镇县| 东台市| 泰兴市| 五原县| 张家川| 公安县| 延津县| 霍山县| 玛纳斯县| 汤阴县| 岑溪市| 东源县| 葫芦岛市| 延边| 长垣县| 阳信县| 定襄县| 惠东县| 应用必备| 汉阴县| 丽水市|