Pārlūkot izejas kodu

:octocat: ext-json can be optional too

codemasher 5 gadi atpakaļ
vecāks
revīzija
133408fe6e
3 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 2 2
      README.md
  2. 0 1
      composer.json
  3. 1 0
      src/Output/QRString.php

+ 2 - 2
README.md

@@ -38,8 +38,8 @@ A documentation created with [phpDocumentor](https://www.phpdoc.org/) can be fou
 
 
 ### Requirements
 ### Requirements
 - PHP 7.4+
 - PHP 7.4+
-  - `ext-json`, `ext-mbstring`
-  - optional: `ext-gd`, `ext-imagick`
+  - `ext-mbstring`
+  - optional: `ext-json`, `ext-gd`, `ext-imagick`
 
 
 ### Installation
 ### Installation
 **requires [composer](https://getcomposer.org)**
 **requires [composer](https://getcomposer.org)**

+ 0 - 1
composer.json

@@ -25,7 +25,6 @@
 	],
 	],
 	"require": {
 	"require": {
 		"php": "^7.4",
 		"php": "^7.4",
-		"ext-json": "*",
 		"ext-mbstring": "*",
 		"ext-mbstring": "*",
 		"chillerlan/php-settings-container": "^1.2"
 		"chillerlan/php-settings-container": "^1.2"
 	},
 	},

+ 1 - 0
src/Output/QRString.php

@@ -10,6 +10,7 @@
  * @license      MIT
  * @license      MIT
  *
  *
  * @noinspection PhpUnusedParameterInspection
  * @noinspection PhpUnusedParameterInspection
+ * @noinspection PhpComposerExtensionStubsInspection
  */
  */
 
 
 namespace chillerlan\QRCode\Output;
 namespace chillerlan\QRCode\Output;