1
0
Fork 0

Update deps

pull/11270/head
Jordi Boggiano 2023-01-13 14:19:18 +01:00
parent 2431b12230
commit 70b1863480
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
3 changed files with 64 additions and 56 deletions

110
composer.lock generated
View File

@ -8,16 +8,16 @@
"packages": [ "packages": [
{ {
"name": "composer/ca-bundle", "name": "composer/ca-bundle",
"version": "1.3.4", "version": "1.3.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/ca-bundle.git", "url": "https://github.com/composer/ca-bundle.git",
"reference": "69098eca243998b53eed7a48d82dedd28b447cd5" "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/69098eca243998b53eed7a48d82dedd28b447cd5", "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd",
"reference": "69098eca243998b53eed7a48d82dedd28b447cd5", "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -64,7 +64,7 @@
"support": { "support": {
"irc": "irc://irc.freenode.org/composer", "irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/ca-bundle/issues", "issues": "https://github.com/composer/ca-bundle/issues",
"source": "https://github.com/composer/ca-bundle/tree/1.3.4" "source": "https://github.com/composer/ca-bundle/tree/1.3.5"
}, },
"funding": [ "funding": [
{ {
@ -80,7 +80,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-12T12:08:29+00:00" "time": "2023-01-11T08:27:00+00:00"
}, },
{ {
"name": "composer/class-map-generator", "name": "composer/class-map-generator",
@ -941,16 +941,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v5.4.16", "version": "v5.4.17",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "8e9b9c8dfb33af6057c94e1b44846bee700dc5ef" "reference": "58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/8e9b9c8dfb33af6057c94e1b44846bee700dc5ef", "url": "https://api.github.com/repos/symfony/console/zipball/58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f",
"reference": "8e9b9c8dfb33af6057c94e1b44846bee700dc5ef", "reference": "58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1020,7 +1020,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v5.4.16" "source": "https://github.com/symfony/console/tree/v5.4.17"
}, },
"funding": [ "funding": [
{ {
@ -1036,7 +1036,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-11-25T14:09:27+00:00" "time": "2022-12-28T14:15:31+00:00"
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
@ -1171,16 +1171,16 @@
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v5.4.11", "version": "v5.4.17",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
"reference": "7872a66f57caffa2916a584db1aa7f12adc76f8c" "reference": "40c08632019838dfb3350f18cf5563b8080055fc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/7872a66f57caffa2916a584db1aa7f12adc76f8c", "url": "https://api.github.com/repos/symfony/finder/zipball/40c08632019838dfb3350f18cf5563b8080055fc",
"reference": "7872a66f57caffa2916a584db1aa7f12adc76f8c", "reference": "40c08632019838dfb3350f18cf5563b8080055fc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1214,7 +1214,7 @@
"description": "Finds files and directories via an intuitive fluent interface", "description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/finder/tree/v5.4.11" "source": "https://github.com/symfony/finder/tree/v5.4.17"
}, },
"funding": [ "funding": [
{ {
@ -1230,7 +1230,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-07-29T07:37:50+00:00" "time": "2022-12-22T10:31:03+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@ -1950,16 +1950,16 @@
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
"version": "v5.4.15", "version": "v5.4.17",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/string.git", "url": "https://github.com/symfony/string.git",
"reference": "571334ce9f687e3e6af72db4d3b2a9431e4fd9ed" "reference": "55733a8664b8853b003e70251c58bc8cb2d82a6b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/571334ce9f687e3e6af72db4d3b2a9431e4fd9ed", "url": "https://api.github.com/repos/symfony/string/zipball/55733a8664b8853b003e70251c58bc8cb2d82a6b",
"reference": "571334ce9f687e3e6af72db4d3b2a9431e4fd9ed", "reference": "55733a8664b8853b003e70251c58bc8cb2d82a6b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2016,7 +2016,7 @@
"utf8" "utf8"
], ],
"support": { "support": {
"source": "https://github.com/symfony/string/tree/v5.4.15" "source": "https://github.com/symfony/string/tree/v5.4.17"
}, },
"funding": [ "funding": [
{ {
@ -2032,22 +2032,22 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-05T15:16:54+00:00" "time": "2022-12-12T15:54:21+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.9.4", "version": "1.9.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "d03bccee595e2146b7c9d174486b84f4dc61b0f2" "reference": "60f3d68481eef216199eae7a2603cd5fe124d464"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/d03bccee595e2146b7c9d174486b84f4dc61b0f2", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/60f3d68481eef216199eae7a2603cd5fe124d464",
"reference": "d03bccee595e2146b7c9d174486b84f4dc61b0f2", "reference": "60f3d68481eef216199eae7a2603cd5fe124d464",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2077,7 +2077,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan/issues", "issues": "https://github.com/phpstan/phpstan/issues",
"source": "https://github.com/phpstan/phpstan/tree/1.9.4" "source": "https://github.com/phpstan/phpstan/tree/1.9.11"
}, },
"funding": [ "funding": [
{ {
@ -2093,7 +2093,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-17T13:33:52+00:00" "time": "2023-01-12T14:04:13+00:00"
}, },
{ {
"name": "phpstan/phpstan-deprecation-rules", "name": "phpstan/phpstan-deprecation-rules",
@ -2145,16 +2145,16 @@
}, },
{ {
"name": "phpstan/phpstan-phpunit", "name": "phpstan/phpstan-phpunit",
"version": "1.3.2", "version": "1.3.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-phpunit.git", "url": "https://github.com/phpstan/phpstan-phpunit.git",
"reference": "cd9c6938f8bbfcb6da3ed5a3c7ea60873825d088" "reference": "54a24bd23e9e80ee918cdc24f909d376c2e273f7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/cd9c6938f8bbfcb6da3ed5a3c7ea60873825d088", "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/54a24bd23e9e80ee918cdc24f909d376c2e273f7",
"reference": "cd9c6938f8bbfcb6da3ed5a3c7ea60873825d088", "reference": "54a24bd23e9e80ee918cdc24f909d376c2e273f7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2191,27 +2191,27 @@
"description": "PHPUnit extensions and rules for PHPStan", "description": "PHPUnit extensions and rules for PHPStan",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan-phpunit/issues", "issues": "https://github.com/phpstan/phpstan-phpunit/issues",
"source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.2" "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.3"
}, },
"time": "2022-12-13T15:08:22+00:00" "time": "2022-12-21T15:25:00+00:00"
}, },
{ {
"name": "phpstan/phpstan-strict-rules", "name": "phpstan/phpstan-strict-rules",
"version": "1.4.4", "version": "1.4.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-strict-rules.git", "url": "https://github.com/phpstan/phpstan-strict-rules.git",
"reference": "23e5f377ee6395a1a04842d3d6ed4bd25e7b44a6" "reference": "361f75b06066f3fdaba87c1f57bdb1ffc28d6f1d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/23e5f377ee6395a1a04842d3d6ed4bd25e7b44a6", "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/361f75b06066f3fdaba87c1f57bdb1ffc28d6f1d",
"reference": "23e5f377ee6395a1a04842d3d6ed4bd25e7b44a6", "reference": "361f75b06066f3fdaba87c1f57bdb1ffc28d6f1d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2 || ^8.0", "php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.8.6" "phpstan/phpstan": "^1.9.7"
}, },
"require-dev": { "require-dev": {
"nikic/php-parser": "^4.13.0", "nikic/php-parser": "^4.13.0",
@ -2239,22 +2239,22 @@
"description": "Extra strict and opinionated rules for PHPStan", "description": "Extra strict and opinionated rules for PHPStan",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan-strict-rules/issues", "issues": "https://github.com/phpstan/phpstan-strict-rules/issues",
"source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.4.4" "source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.4.5"
}, },
"time": "2022-09-21T11:38:17+00:00" "time": "2023-01-11T14:16:29+00:00"
}, },
{ {
"name": "phpstan/phpstan-symfony", "name": "phpstan/phpstan-symfony",
"version": "1.2.18", "version": "1.2.19",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan-symfony.git", "url": "https://github.com/phpstan/phpstan-symfony.git",
"reference": "3178f15a60b62df21ddd202f6a668851eeb138c7" "reference": "dac2474904b092267f0a19dfba8c46b6f21eab6a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/3178f15a60b62df21ddd202f6a668851eeb138c7", "url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/dac2474904b092267f0a19dfba8c46b6f21eab6a",
"reference": "3178f15a60b62df21ddd202f6a668851eeb138c7", "reference": "dac2474904b092267f0a19dfba8c46b6f21eab6a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2310,22 +2310,22 @@
"description": "Symfony Framework extensions and rules for PHPStan", "description": "Symfony Framework extensions and rules for PHPStan",
"support": { "support": {
"issues": "https://github.com/phpstan/phpstan-symfony/issues", "issues": "https://github.com/phpstan/phpstan-symfony/issues",
"source": "https://github.com/phpstan/phpstan-symfony/tree/1.2.18" "source": "https://github.com/phpstan/phpstan-symfony/tree/1.2.19"
}, },
"time": "2022-12-16T09:43:26+00:00" "time": "2022-12-22T20:05:46+00:00"
}, },
{ {
"name": "symfony/phpunit-bridge", "name": "symfony/phpunit-bridge",
"version": "v6.2.0", "version": "v6.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/phpunit-bridge.git", "url": "https://github.com/symfony/phpunit-bridge.git",
"reference": "1bd3b17db6d2ec284efbdc916600e880d6d858df" "reference": "3766b8269d3bac5c214a04ebd6870e71e52bcb60"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/1bd3b17db6d2ec284efbdc916600e880d6d858df", "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/3766b8269d3bac5c214a04ebd6870e71e52bcb60",
"reference": "1bd3b17db6d2ec284efbdc916600e880d6d858df", "reference": "3766b8269d3bac5c214a04ebd6870e71e52bcb60",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2379,7 +2379,7 @@
"description": "Provides utilities for PHPUnit, especially user deprecation notices management", "description": "Provides utilities for PHPUnit, especially user deprecation notices management",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/phpunit-bridge/tree/v6.2.0" "source": "https://github.com/symfony/phpunit-bridge/tree/v6.2.3"
}, },
"funding": [ "funding": [
{ {
@ -2395,7 +2395,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-11-18T19:08:09+00:00" "time": "2022-12-28T14:26:22+00:00"
} }
], ],
"aliases": [], "aliases": [],

View File

@ -13,8 +13,13 @@
namespace Composer\Package\Archiver; namespace Composer\Package\Archiver;
use FilterIterator; use FilterIterator;
use Iterator;
use PharData; use PharData;
use SplFileInfo;
/**
* @phpstan-extends FilterIterator<string, SplFileInfo, Iterator<string, SplFileInfo>>
*/
class ArchivableFilesFilter extends FilterIterator class ArchivableFilesFilter extends FilterIterator
{ {
/** @var string[] */ /** @var string[] */

View File

@ -15,6 +15,8 @@ namespace Composer\Package\Archiver;
use Composer\Pcre\Preg; use Composer\Pcre\Preg;
use Composer\Util\Filesystem; use Composer\Util\Filesystem;
use FilesystemIterator; use FilesystemIterator;
use FilterIterator;
use Iterator;
use Symfony\Component\Finder\Finder; use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo; use Symfony\Component\Finder\SplFileInfo;
@ -25,8 +27,9 @@ use Symfony\Component\Finder\SplFileInfo;
* own exclude rules from composer.json * own exclude rules from composer.json
* *
* @author Nils Adermann <naderman@naderman.de> * @author Nils Adermann <naderman@naderman.de>
* @phpstan-extends FilterIterator<string, SplFileInfo, Iterator<string, SplFileInfo>>
*/ */
class ArchivableFilesFinder extends \FilterIterator class ArchivableFilesFinder extends FilterIterator
{ {
/** /**
* @var Finder * @var Finder