浏览代码

Wesmiler 人人车 初始化项目 0816

APPLE 3 年之前
父节点
当前提交
fecec405d1
共有 2 个文件被更改,包括 27 次插入49 次删除
  1. 0 49
      vendor/lcobucci/jwt/composer.json
  2. 27 0
      vendor/qeq66/jwt/phpunit.xml.dist

+ 0 - 49
vendor/lcobucci/jwt/composer.json

@@ -1,49 +0,0 @@
-{
-    "name": "lcobucci/jwt",
-    "description": "A simple library to work with JSON Web Token and JSON Web Signature",
-    "type": "library",
-    "authors": [
-        {
-            "name": "Luís Otávio Cobucci Oblonczyk",
-            "email": "lcobucci@gmail.com",
-            "role": "Developer"
-        }
-    ],
-    "keywords": [
-        "JWT",
-        "JWS"
-    ],
-    "license": [
-        "BSD-3-Clause"
-    ],
-    "require": {
-        "php": "^5.6 || ^7.0",
-        "ext-mbstring": "*",
-        "ext-openssl": "*"
-    },
-    "require-dev": {
-        "phpunit/phpunit": "^5.7 || ^7.3",
-        "squizlabs/php_codesniffer": "~2.3",
-        "phpmd/phpmd": "~2.2",
-        "phpunit/php-invoker": "~1.1",
-        "mikey179/vfsstream": "~1.5"
-    },
-    "autoload": {
-        "psr-4": {
-            "Lcobucci\\JWT\\": "src"
-        }
-    },
-    "autoload-dev": {
-        "psr-4": {
-            "Lcobucci\\JWT\\": [
-                "test/unit",
-                "test/functional"
-            ]
-        }
-    },
-    "extra": {
-        "branch-alias": {
-            "dev-master": "3.1-dev"
-        }
-    }
-}

+ 27 - 0
vendor/qeq66/jwt/phpunit.xml.dist

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
+    colors="true"
+    verbose="true"
+    beStrictAboutOutputDuringTests="true"
+    beStrictAboutTodoAnnotatedTests="true"
+    beStrictAboutChangesToGlobalState="true"
+    beStrictAboutCoversAnnotation="true"
+    beStrictAboutResourceUsageDuringSmallTests="true"
+    beStrictAboutTestsThatDoNotTestAnything="true"
+    forceCoversAnnotation="true">
+	<testsuites>
+		<testsuite name="Unit Test Suite">
+			<directory>test/unit</directory>
+		</testsuite>
+		<testsuite name="Integration Test Suite">
+			<directory>test/functional</directory>
+		</testsuite>
+	</testsuites>
+
+    <filter>
+        <whitelist processUncoveredFilesFromWhitelist="true">
+            <directory suffix=".php">src</directory>
+        </whitelist>
+    </filter>
+</phpunit>