Composer data update
This commit is contained in:
8
www/vendor/phpunit/php-file-iterator/.psalm/baseline.xml
vendored
Normal file
8
www/vendor/phpunit/php-file-iterator/.psalm/baseline.xml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<files psalm-version="4.x-dev@">
|
||||
<file src="src/Iterator.php">
|
||||
<UndefinedInterfaceMethod occurrences="1">
|
||||
<code>current</code>
|
||||
</UndefinedInterfaceMethod>
|
||||
</file>
|
||||
</files>
|
||||
16
www/vendor/phpunit/php-file-iterator/.psalm/config.xml
vendored
Normal file
16
www/vendor/phpunit/php-file-iterator/.psalm/config.xml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<psalm
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="https://getpsalm.org/schema/config"
|
||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||
resolveFromConfigFile="false"
|
||||
totallyTyped="false"
|
||||
errorBaseline=".psalm/baseline.xml"
|
||||
>
|
||||
<projectFiles>
|
||||
<directory name="src" />
|
||||
<ignoreFiles>
|
||||
<directory name="vendor" />
|
||||
</ignoreFiles>
|
||||
</projectFiles>
|
||||
</psalm>
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [3.0.6] - 2021-12-02
|
||||
|
||||
### Changed
|
||||
|
||||
* [#73](https://github.com/sebastianbergmann/php-file-iterator/pull/73): Micro performance improvements on parsing paths
|
||||
|
||||
## [3.0.5] - 2020-09-28
|
||||
|
||||
### Changed
|
||||
@@ -38,6 +44,28 @@ All notable changes to this project will be documented in this file. This projec
|
||||
|
||||
* This component is no longer supported on PHP 7.1 and PHP 7.2
|
||||
|
||||
## [2.0.5] - 2021-12-02
|
||||
|
||||
### Changed
|
||||
|
||||
* [#73](https://github.com/sebastianbergmann/php-file-iterator/pull/73): Micro performance improvements on parsing paths
|
||||
|
||||
### Fixed
|
||||
|
||||
* [#74](https://github.com/sebastianbergmann/php-file-iterator/pull/74): Document return type of `SebastianBergmann\FileIterator\Iterator::accept()` so that Symfony's `DebugClassLoader` does not trigger a deprecation warning
|
||||
|
||||
## [2.0.4] - 2021-07-19
|
||||
|
||||
### Changed
|
||||
|
||||
* Added `ReturnTypeWillChange` attribute to `SebastianBergmann\FileIterator\Iterator::accept()` because the return type of `\FilterIterator::accept()` will change in PHP 8.1
|
||||
|
||||
## [2.0.3] - 2020-11-30
|
||||
|
||||
### Changed
|
||||
|
||||
* Changed PHP version constraint in `composer.json` from `^7.1` to `>=7.1`
|
||||
|
||||
## [2.0.2] - 2018-09-13
|
||||
|
||||
### Fixed
|
||||
@@ -96,15 +124,19 @@ No changes
|
||||
|
||||
* [#23](https://github.com/sebastianbergmann/php-file-iterator/pull/23): Added support for wildcards (glob) in exclude
|
||||
|
||||
[3.0.6]: https://github.com/sebastianbergmann/php-file-iterator/compare/3.0.5...3.0.6
|
||||
[3.0.5]: https://github.com/sebastianbergmann/php-file-iterator/compare/3.0.4...3.0.5
|
||||
[3.0.4]: https://github.com/sebastianbergmann/php-file-iterator/compare/3.0.3...3.0.4
|
||||
[3.0.3]: https://github.com/sebastianbergmann/php-file-iterator/compare/3.0.2...3.0.3
|
||||
[3.0.2]: https://github.com/sebastianbergmann/php-file-iterator/compare/3.0.1...3.0.2
|
||||
[3.0.1]: https://github.com/sebastianbergmann/php-file-iterator/compare/3.0.0...3.0.1
|
||||
[3.0.0]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.2...3.0.0
|
||||
[3.0.0]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.5...3.0.0
|
||||
[2.0.5]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.4...2.0.5
|
||||
[2.0.4]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.3...2.0.4
|
||||
[2.0.3]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.2...2.0.3
|
||||
[2.0.2]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.1...2.0.2
|
||||
[2.0.1]: https://github.com/sebastianbergmann/php-file-iterator/compare/2.0.0...2.0.1
|
||||
[2.0.0]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4...2.0.0
|
||||
[2.0.0]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4.5...2.0.0
|
||||
[1.4.5]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4.4...1.4.5
|
||||
[1.4.4]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4.3...1.4.4
|
||||
[1.4.3]: https://github.com/sebastianbergmann/php-file-iterator/compare/1.4.2...1.4.3
|
||||
|
||||
2
www/vendor/phpunit/php-file-iterator/LICENSE
vendored
2
www/vendor/phpunit/php-file-iterator/LICENSE
vendored
@@ -1,6 +1,6 @@
|
||||
php-file-iterator
|
||||
|
||||
Copyright (c) 2009-2020, Sebastian Bergmann <sebastian@phpunit.de>.
|
||||
Copyright (c) 2009-2021, Sebastian Bergmann <sebastian@phpunit.de>.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -76,16 +76,16 @@ class Factory
|
||||
|
||||
protected function getPathsAfterResolvingWildcards(array $paths): array
|
||||
{
|
||||
$_paths = [];
|
||||
$_paths = [[]];
|
||||
|
||||
foreach ($paths as $path) {
|
||||
if ($locals = glob($path, GLOB_ONLYDIR)) {
|
||||
$_paths = array_merge($_paths, array_map('\realpath', $locals));
|
||||
$_paths[] = array_map('\realpath', $locals);
|
||||
} else {
|
||||
$_paths[] = realpath($path);
|
||||
$_paths[] = [realpath($path)];
|
||||
}
|
||||
}
|
||||
|
||||
return array_filter($_paths);
|
||||
return array_filter(array_merge(...$_paths));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user