diff options
author | Mario <mario@mariovavti.com> | 2020-01-09 13:34:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-01-09 13:34:37 +0000 |
commit | 537a7cf03d6ee86465f8aca761653606741d3658 (patch) | |
tree | 61a961105de3f4f37bf6159e79c77b0780b5f8bc /vendor/ramsey/uuid | |
parent | 662e8f8a4c67e9a7de579ff93f4c36ae2006e186 (diff) | |
download | volse-hubzilla-537a7cf03d6ee86465f8aca761653606741d3658.tar.gz volse-hubzilla-537a7cf03d6ee86465f8aca761653606741d3658.tar.bz2 volse-hubzilla-537a7cf03d6ee86465f8aca761653606741d3658.zip |
composer updates
Diffstat (limited to 'vendor/ramsey/uuid')
-rw-r--r-- | vendor/ramsey/uuid/CHANGELOG.md | 16 | ||||
-rw-r--r-- | vendor/ramsey/uuid/composer.json | 14 | ||||
-rw-r--r-- | vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php | 5 |
3 files changed, 21 insertions, 14 deletions
diff --git a/vendor/ramsey/uuid/CHANGELOG.md b/vendor/ramsey/uuid/CHANGELOG.md index 878e7925e..f2f1548e2 100644 --- a/vendor/ramsey/uuid/CHANGELOG.md +++ b/vendor/ramsey/uuid/CHANGELOG.md @@ -21,12 +21,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Security +## [3.9.2] - 2019-12-17 + +### Fixed + +* Check whether files returned by `/sys/class/net/*/address` are readable + before attempting to read them. This avoids a PHP warning that was being + emitted on hosts that do not grant permission to read these files. + + ## [3.9.1] - 2019-12-01 ### Fixed * Fix `RandomNodeProvider` behavior on 32-bit systems. The `RandomNodeProvider` - was converting a 6-byte string to a a decimal number, which is a 48-bit, + was converting a 6-byte string to a decimal number, which is a 48-bit, unsigned integer. This caused problems on 32-bit systems and has now been resolved. @@ -51,7 +60,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Deprecated -These will be removed in version ramsey/uuid version 4.0.0: +These will be removed in ramsey/uuid version 4.0.0: * `MtRandGenerator`, `OpenSslGenerator`, and `SodiumRandomGenerator` are deprecated in favor of using the default `RandomBytesGenerator`. @@ -582,7 +591,8 @@ versions leading up to this release.* [ramsey/uuid-doctrine]: https://github.com/ramsey/uuid-doctrine [ramsey/uuid-console]: https://github.com/ramsey/uuid-console -[unreleased]: https://github.com/ramsey/uuid/compare/3.9.1...HEAD +[unreleased]: https://github.com/ramsey/uuid/compare/3.9.2...HEAD +[3.9.2]: https://github.com/ramsey/uuid/compare/3.9.1...3.9.2 [3.9.1]: https://github.com/ramsey/uuid/compare/3.9.0...3.9.1 [3.9.0]: https://github.com/ramsey/uuid/compare/3.8.0...3.9.0 [3.8.0]: https://github.com/ramsey/uuid/compare/3.7.3...3.8.0 diff --git a/vendor/ramsey/uuid/composer.json b/vendor/ramsey/uuid/composer.json index 5319644fe..81da625ca 100644 --- a/vendor/ramsey/uuid/composer.json +++ b/vendor/ramsey/uuid/composer.json @@ -21,7 +21,7 @@ } ], "require": { - "php": "^5.4 | ^7", + "php": "^5.4 | ^7 | ^8", "ext-json": "*", "paragonie/random_compat": "^1 | ^2 | 9.99.99", "symfony/polyfill-ctype": "^1.8" @@ -30,13 +30,13 @@ "codeception/aspect-mock": "^1 | ^2", "doctrine/annotations": "^1.2", "goaop/framework": "1.0.0-alpha.2 | ^1 | ^2.1", - "jakub-onderka/php-parallel-lint": "^0.9.0", - "mockery/mockery": "^0.9.9", + "jakub-onderka/php-parallel-lint": "^1", + "mockery/mockery": "^0.9.11 | ^1", "moontoast/math": "^1.1", "paragonie/random-lib": "^2", "php-mock/php-mock-phpunit": "^0.3 | ^1.1", "phpunit/phpunit": "^4.8 | ^5.4 | ^6.5", - "squizlabs/php_codesniffer": "^2.3" + "squizlabs/php_codesniffer": "^3.5" }, "suggest": { "ext-ctype": "Provides support for PHP Ctype functions", @@ -76,17 +76,11 @@ "lint": "parallel-lint src tests", "phpcs": "phpcs src tests --standard=psr2 -sp --colors", "phpunit": "phpunit --verbose --colors=always", - "phpunit-ci": "phpunit --verbose --coverage-clover build/logs/clover.xml", "phpunit-coverage": "phpunit --verbose --colors=always --coverage-html build/coverage", "test": [ "@lint", "@phpcs", "@phpunit" - ], - "test-ci": [ - "@lint", - "@phpcs", - "@phpunit-ci" ] }, "support": { diff --git a/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php b/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php index e3c080199..57015133a 100644 --- a/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php +++ b/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php @@ -102,8 +102,11 @@ class SystemNodeProvider implements NodeProviderInterface return false; } + $macs = []; array_walk($addressPaths, function ($addressPath) use (&$macs) { - $macs[] = file_get_contents($addressPath); + if (is_readable($addressPath)) { + $macs[] = file_get_contents($addressPath); + } }); $macs = array_map('trim', $macs); |