Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
refactor(XML): Remove XML support
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhilip committed Mar 10, 2019
1 parent c6e9211 commit 169440c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 141 deletions.
5 changes: 0 additions & 5 deletions apps/config/http_base.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
'class' => Rid\Http\Response::class,
// 默认输出格式
'defaultFormat' => Rid\Http\Response::FORMAT_HTML,
// xml
'xml' => [
// 类路径
'class' => Rid\Http\Xml::class,
],
],

// 错误
Expand Down
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@
"ext-pcntl": "*",
"ext-redis": "*",
"ext-iconv": "*",
"ext-libxml": "*",
"ext-swoole": "*",
"ext-openssl": "*",
"ext-mbstring": "*",
"ext-simplexml": "*",
"psr/log": "^1.1",
"robthree/twofactorauth": "^1.6",
"swiftmailer/swiftmailer": "^6.1",
Expand Down
55 changes: 27 additions & 28 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 0 additions & 86 deletions framework/Helpers/XmlHelper.php

This file was deleted.

20 changes: 0 additions & 20 deletions framework/Http/Xml.php

This file was deleted.

0 comments on commit 169440c

Please sign in to comment.