瀏覽代碼

:octocat:

smiley 1 年之前
父節點
當前提交
5dc99a4838
共有 2 個文件被更改,包括 12 次插入5 次删除
  1. 9 2
      composer.json
  2. 3 3
      phpunit.xml.dist

+ 9 - 2
composer.json

@@ -32,6 +32,12 @@
 			"homepage":"https://github.com/chillerlan/php-qrcode/graphs/contributors"
 		}
 	],
+	"funding": [
+		{
+			"type": "Ko-Fi",
+			"url": "https://ko-fi.com/codemasher"
+		}
+	],
 	"support": {
 		"docs": "https://php-qrcode.readthedocs.io",
 		"issues": "https://github.com/chillerlan/php-qrcode/issues",
@@ -45,6 +51,7 @@
 		"chillerlan/php-settings-container": "^2.1.6 || ^3.2.1"
 	},
 	"require-dev": {
+		"ext-fileinfo": "*",
 		"chillerlan/php-authenticator": "^4.3.1 || ^5.2.1",
 		"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
 		"phan/phan": "^5.4",
@@ -62,12 +69,12 @@
 	},
 	"autoload": {
 		"psr-4": {
-			"chillerlan\\QRCode\\": "src/"
+			"chillerlan\\QRCode\\": "src"
 		}
 	},
 	"autoload-dev": {
 		"psr-4": {
-			"chillerlan\\QRCodeTest\\": "tests/"
+			"chillerlan\\QRCodeTest\\": "tests"
 		}
 	},
 	"scripts": {

+ 3 - 3
phpunit.xml.dist

@@ -8,13 +8,13 @@
 >
 	<testsuites>
 		<testsuite name="php-qrcode test suite">
-			<directory>./tests/</directory>
-			<exclude>./tests/Performance</exclude>
+			<directory>tests</directory>
+			<exclude>tests/Performance</exclude>
 		</testsuite>
 	</testsuites>
 	<coverage processUncoveredFiles="true">
 		<include>
-			<directory>./src</directory>
+			<directory>src</directory>
 		</include>
 		<report>
 			<clover outputFile=".build/coverage/clover.xml"/>