Browse Source

Small fix

split-manual
J. King 3 years ago
parent
commit
104c89cc76
  1. 3
      lib/Data.php
  2. 23
      vendor-bin/phpunit/composer.lock
  3. 12
      vendor-bin/robo/composer.lock

3
lib/Data.php

@ -36,9 +36,10 @@ class Data {
const WHITESPACE = "\t\n\x0c\x0d "; const WHITESPACE = "\t\n\x0c\x0d ";
public function __construct(string $data, string $filePath = 'STDIN', ParseError $errorHandler = null, string $encodingOrContentType = '') { public function __construct(string $data, string $filePath = 'STDIN', ParseError $errorHandler = null, ?string $encodingOrContentType = '') {
$this->errorHandler = $errorHandler ?? new ParseError; $this->errorHandler = $errorHandler ?? new ParseError;
$this->filePath = $filePath; $this->filePath = $filePath;
$encodingOrContentType = (string) $encodingOrContentType;
if ($encoding = Charset::fromBOM($data)) { if ($encoding = Charset::fromBOM($data)) {
// encoding determined from Unicode byte order mark // encoding determined from Unicode byte order mark

23
vendor-bin/phpunit/composer.lock

@ -2041,30 +2041,35 @@
}, },
{ {
"name": "webmozart/assert", "name": "webmozart/assert",
"version": "1.9.1", "version": "1.10.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/webmozarts/assert.git", "url": "https://github.com/webmozarts/assert.git",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25",
"reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^5.3.3 || ^7.0 || ^8.0", "php": "^7.2 || ^8.0",
"symfony/polyfill-ctype": "^1.8" "symfony/polyfill-ctype": "^1.8"
}, },
"conflict": { "conflict": {
"phpstan/phpstan": "<0.12.20", "phpstan/phpstan": "<0.12.20",
"vimeo/psalm": "<3.9.1" "vimeo/psalm": "<4.6.1 || 4.6.2"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.8.36 || ^7.5.13" "phpunit/phpunit": "^8.5.13"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.10-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Webmozart\\Assert\\": "src/" "Webmozart\\Assert\\": "src/"
@ -2088,9 +2093,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/webmozarts/assert/issues", "issues": "https://github.com/webmozarts/assert/issues",
"source": "https://github.com/webmozarts/assert/tree/1.9.1" "source": "https://github.com/webmozarts/assert/tree/1.10.0"
}, },
"time": "2020-07-08T17:02:28+00:00" "time": "2021-03-09T10:59:23+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],

12
vendor-bin/robo/composer.lock

@ -1919,16 +1919,16 @@
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v5.2.4", "version": "v5.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "7d6ae0cce3c33965af681a4355f1c4de326ed277" "reference": "298a08ddda623485208506fcee08817807a251dd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/7d6ae0cce3c33965af681a4355f1c4de326ed277", "url": "https://api.github.com/repos/symfony/yaml/zipball/298a08ddda623485208506fcee08817807a251dd",
"reference": "7d6ae0cce3c33965af681a4355f1c4de326ed277", "reference": "298a08ddda623485208506fcee08817807a251dd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1974,7 +1974,7 @@
"description": "Loads and dumps YAML files", "description": "Loads and dumps YAML files",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/yaml/tree/v5.2.4" "source": "https://github.com/symfony/yaml/tree/v5.2.5"
}, },
"funding": [ "funding": [
{ {
@ -1990,7 +1990,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-02-22T15:48:39+00:00" "time": "2021-03-06T07:59:01+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],

Loading…
Cancel
Save