Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
1daafb817d3ebfefbeef90fad185ca78a5652382
242
2022-03-26 14:40:20+01:00
0
['61be15804036e736200cf5af39bfbaad4acd45ee']
ValidatingArrayLoader: only validate source/dist properties if they are set (#10658)
[{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -352,10 +352,10 @@ public function load(array $config, string $class = \'Composer\\Package\\CompletePa\n if ($srcT...
PHP
f459b9bf6161416b5bbae7b27dbd4bebafdea375
281
2022-03-26 14:41:55+01:00
-3,600
['1daafb817d3ebfefbeef90fad185ca78a5652382']
Avoid updating phpstan in 7.2 build
[{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,7 +9,7 @@ on:\n - \'doc/**\'\n \n env:\n- COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"\n+ COMPOSER_FLAGS: "--ansi --no-interaction --prefer-di...
PHP
37627f10d0500a11aa94f3981b85c4cd6fdefbd5
242
2022-03-26 14:42:57+01:00
0
['f459b9bf6161416b5bbae7b27dbd4bebafdea375']
RemoteFilesystem: fix result length check (#10656)
[{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -526,7 +526,7 @@ protected function getRemoteContents(string $originUrl, string $fileUrl, $contex\n } catch (\\Throwable $e) {\n }\n \n- ...
PHP
1fff47bfc76b173eeceefd05e44858ea7c0993ae
242
2022-03-29 12:28:33+02:00
-3,600
['37627f10d0500a11aa94f3981b85c4cd6fdefbd5']
SplFileInfo: getRealPath can return false in ArchivableFilesFinder (#10665)
[{'old_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'new_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -58,7 +58,7 @@ public function __construct(string $sources, array $excludes, bool $ignoreFilter\n $this->finder = new ...
PHP
9f8ee0e40a97ba20961b53ff9302281da7255819
242
2022-03-29 12:37:07+02:00
-3,600
['1fff47bfc76b173eeceefd05e44858ea7c0993ae']
ArrayLoader: fix integer index of branch alias (#10660)
[{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -421,6 +421,8 @@ public function getBranchAlias(array $config): ?string\n \n if (isset($config['extra']['branch-alias']) && \\is_array($config...
PHP
eb0aaa7472870898d3405ebe24108838caa80848
242
2022-03-29 12:44:25+02:00
-3,600
['44c1ff717df039a3d08ea08192bca33716ad7381']
Bitbucket: handle missing authentication response from API returning 404 status code (#10657)
[{'old_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -390,7 +390,7 @@ protected function fetchWithOAuthCredentials($url, $fetchingRepoData = false)\n } catch (TransportException $e)...
PHP
854aab5f0393f39f0dc83500fee3516ccea9cc7f
242
2022-03-29 12:46:51+02:00
-3,600
['9f8ee0e40a97ba20961b53ff9302281da7255819']
ArrayLoader: handle links where target is invalid numeric package name (#10663)
[{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -360,7 +360,7 @@ private function configureCachedLinks(array &$linkCache, PackageInterface $packa\n * @param string $source ...
PHP
6bd75d5738d60937633a17738c9876da9c37f3f2
281
2022-03-29 14:03:05+02:00
-7,200
['854aab5f0393f39f0dc83500fee3516ccea9cc7f']
Update phpstan & baseline (2158, 104)
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1824,20 +1824,20 @@\n "packages-dev": [\n {\n "name": "phpstan/phpstan",\n- "version": "1.4.10",\n+ "version": "1.5.2",\n "source": {\n ...
PHP
0708eb45e5801ef2682f2af8635237eb5f025ddb
281
2022-03-29 14:07:04+02:00
-7,200
['6bd75d5738d60937633a17738c9876da9c37f3f2']
Fix type error when PATH env is not set, fixes #10662
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -576,7 +576,7 @@ private function ensureBinDirIsInPath(): void\n $binDir = $this->composer->getConfig()->get('bin-dir');\n i...
PHP
dca0a655976ca6414d98214564369a781db82094
281
2022-03-29 15:57:04+02:00
-7,200
['eb0aaa7472870898d3405ebe24108838caa80848']
Add source/dist keys to root schema, fixes #10655
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -132,6 +132,12 @@\n }\n }\n },\n+ "source": {\n+ "$ref": "#/definitions/source"\n+ },\n+ "dist": {\n+ "$ref":...
PHP
2dbe66ad203460453c49f7011e539a806dfde9a8
281
2022-03-29 18:57:30+02:00
-7,200
['dca0a655976ca6414d98214564369a781db82094']
Fix deletion of corrupt 0-bytes zip archives from the cache, fixes #10580 (#10666)
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -120,7 +120,9 @@ public function install(PackageInterface $package, $path, $output = true)\n }\n \n return $promise->then(function...
PHP
30671fb9040a06d2369ade29e8fcae3b380c9b8e
281
2022-03-29 20:37:38+02:00
-7,200
['2dbe66ad203460453c49f7011e539a806dfde9a8']
Add warning when using 7z <21.01 on linux/osx, fixes #10535
[{'old_path': 'src/Composer/Downloader/ZipDownloader.php', 'new_path': 'src/Composer/Downloader/ZipDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,6 +13,7 @@\n namespace Composer\\Downloader;\n \n use Composer\\Package\\PackageInterface;\n+use Composer\\Pcre\\Preg;\n use Composer\\Util\\IniHelper...
PHP
906692cd049b9c372e91f9433337962a5253b260
281
2022-03-29 21:58:53+02:00
-7,200
['039701656ff06046fc148b4a3b23849f3b907e7f']
Allow null eventName in EventDispatcher::dispatch
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -91,12 +91,12 @@ public function setRunScripts(bool $runScripts = true): self\n /**\n * Dispatch an event\n *\n- * @param ...
PHP
d1fa5d1edeb049585175577c5dea13da66d56cdf
281
2022-03-29 22:16:19+02:00
-7,200
['cfb34416ec7c7c0a32f8afa2971ff0e159212f2b']
Make eventName required if no $event is passed in
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -91,14 +91,17 @@ public function setRunScripts(bool $runScripts = true): self\n /**\n * Dispatch an event\n *\n- * @param ...
PHP
af3e67e7458f4da460ecb394e724413e78d2169e
281
2022-03-30 10:34:38+02:00
-7,200
['d1fa5d1edeb049585175577c5dea13da66d56cdf']
Always show a stack trace for \Error & LogicException throwables even if output is not verbose
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,6 +16,7 @@\n use Composer\\Util\\Filesystem;\n use Composer\\Util\\Platform;\n use Composer\\Util\\Silencer;\n+use LogicException;\n use Symfony\\Component\\Con...
PHP
ccfbc16ac6378711920d0db64c8ed415bf2adfb1
345
2022-03-30 11:58:30+02:00
-7,200
['02931cd531dc9d35b422938393c788b6fbcbef73']
fix phpdoc type (#10669)
[{'old_path': 'tests/Composer/Test/Mock/ProcessExecutorMock.php', 'new_path': 'tests/Composer/Test/Mock/ProcessExecutorMock.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -66,7 +66,7 @@ public function __construct(MockBuilder $processMockBuilder)\n */\n public function expects(array $expectations, boo...
PHP
2bd524fa9b14fd360a60ac8327bbc791869bb064
281
2022-03-30 15:40:13+02:00
-7,200
['ccfbc16ac6378711920d0db64c8ed415bf2adfb1']
Fix handling of missing HOME env, fixes #10670
[{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -374,9 +374,7 @@ public function get(string $key, int $flags = 0)\n return (int) $this->config['cache-ttl'];\n \n case 'home':\n- $val = Preg::repl...
PHP
b46dba29ce425a2d012c7d38a355c4cd1252f4a0
281
2022-03-30 16:16:38+02:00
-7,200
['dca5e4598959ede7747fa629bf7675c18ddeee44']
Allow addListener to work with strings, fixes #10672
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -395,12 +395,12 @@ protected function executeEventPhpScript(string $className, string $methodName,\n * Add a listener for a particular ...
PHP
a71985ce01953c596503f3f8537240d915c4fe5b
281
2022-03-30 16:25:38+02:00
-7,200
['b46dba29ce425a2d012c7d38a355c4cd1252f4a0']
Update baseline (2150, 103)
[{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -70,11 +70,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Config.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#1 \\\\$string of function rtrim expects string, string...
PHP
c3484ea882d457422dcb94de539052359e997a52
281
2022-03-30 16:34:59+02:00
-7,200
['a71985ce01953c596503f3f8537240d915c4fe5b']
Avoid endless loop when input looks interactive but isnt, fixes #10648
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -713,8 +713,16 @@ private function isPluginAllowed(string $package, bool $isGlobalPlugin): bool\n $composer = $isGlobalPlugin && $this->globalComp...
PHP
f1ff4553d3ad74fa02ac352ec7e89e871ba5f006
281
2022-03-30 17:55:47+02:00
-7,200
['c3484ea882d457422dcb94de539052359e997a52']
Fix handling of true return value for loadRootServerFile, fixes #10675
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -650,7 +650,10 @@ private function getProviderNames(): array\n $this->loadRootServerFile();\n \n if (null === $this->providerLis...
PHP
146e036b58ffe502bb553c828c349bde24e5be85
281
2022-03-30 18:09:40+02:00
-7,200
['bf01905663c18efd0374ebf6c7e097da7a6e61da']
Fix parsing of openssl versions with odd suffixes, refs #10631
[{'old_path': 'src/Composer/Platform/Version.php', 'new_path': 'src/Composer/Platform/Version.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -28,7 +28,7 @@ public static function parseOpenssl(string $opensslVersion, ?bool &$isFips): ?st\n {\n $isFips = false;\n \n- if (!Preg::isMatch('/^(?<v...
PHP
f1e3ba74abf39791f0dc9b7e0c6492b40685e1d8
281
2022-03-30 18:10:07+02:00
-7,200
['146e036b58ffe502bb553c828c349bde24e5be85']
Allow passing null to $prettyVersion to handle gracefully cases where a version could not be parsed upstream, refs #10631
[{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -659,15 +659,18 @@ private function buildPackageName(string $name): string\n \n /**\n * @param string $name\n- * @param string...
PHP
147c6a2f7eaba86daefbd2cff2e111168ffa1187
242
2022-03-31 13:29:19+02:00
-3,600
['12b2c2c3a48db45cd9076116f20b27e24ee56ae0']
Bitbucket: when OAuth consumer authentication fails mention that the `This is a private consumer` needs to be enabled (#10678)
[{'old_path': 'src/Composer/Util/Bitbucket.php', 'new_path': 'src/Composer/Util/Bitbucket.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -112,9 +112,10 @@ private function requestAccessToken(): bool\n } catch (TransportException $e) {\n if ($e->getCode() === 400) {\n $this->...
PHP
2b99d069b22557cf87f3caacfb50251e3cf6c2ee
281
2022-03-31 14:42:08+02:00
-7,200
['90571a8c9d09a11d27d0526ab6c875540a801344']
Remove dev-master=>dev-main alias from #10372 as it does not work/is missing when reloading from lock file and extracting dev deps, refs #10651
[{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -198,7 +198,6 @@ protected function initialize()\n $package['dist']['reference'] = trim($output);\n }\n \n- $need...
PHP
986a260d1cc3ab8d8ac7cd51303e4ad48c56f989
389
2022-03-31 17:12:31+02:00
36,000
['40425795f703962a65afa190ffd12b4fbc66cd98']
Correction the function getComposerInformation in SvnDriver.php. (#10681) Sometimes the getBaseComposerInformation had an exception so we write in the cache a string value but the funtion want to return null or Array value. Now we write a empty string value if it happened
[{'old_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'new_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -148,7 +148,7 @@ public function getComposerInformation(string $identifier): ?array\n throw $e;\n }\n ...
PHP
29513c15da7115874ea247fe281ccd48c768b2f5
281
2022-03-31 17:26:35+02:00
-7,200
['986a260d1cc3ab8d8ac7cd51303e4ad48c56f989']
Tweak cache behavior for SvnDriver & co to ensure null returns, refs #10681
[{'old_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'new_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -148,7 +148,7 @@ public function getComposerInformation(string $identifier): ?array\n throw $e;\n }\n ...
PHP
03b7882ac231d19e9373ed33a8e71d7bb5b280c1
207
2022-04-01 09:46:12+02:00
-7,200
['29513c15da7115874ea247fe281ccd48c768b2f5']
restore --version output to pre-2.3 (#10684) Symfony Console 2.8 used to print 'version ' in between name and version, and Composer 2.3 still does for -dev snapshots, so we're going back to the old formatting for consistency (and anyone out there who parses the version output of Composer) Fixes #10683
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -557,19 +557,20 @@ protected function getDefaultCommands(): array\n \n public function getLongVersion(): string\n {\n+ $branchAliasString = '';\n ...
PHP
cbda47634eabe097f63651cc1ae1dbf7b4eb3fad
281
2022-04-01 11:15:57+02:00
-7,200
['2b99d069b22557cf87f3caacfb50251e3cf6c2ee']
Add missing bitbucket-oauth from composer schema
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -498,6 +498,24 @@\n "type": "string"\n }\n },\n+ "bitbucket-oauth": {\n+ "type": "object",\n+ ...
PHP
8e93566c18b1b8b0de32aff64a2204f19f1105f8
281
2022-04-01 11:23:59+02:00
-7,200
['10287fcea3b9e51cc3e288c1f0d6f67e81432c82']
Validate config schema before loading it, fixes #10685
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -40,6 +40,7 @@\n use Composer\\Json\\JsonValidationException;\n use Composer\\Repository\\InstalledRepositoryInterface;\n use Seld\\JsonLint\\JsonParser;\n+use UnexpectedValueException;\n ...
PHP
9a42f69a9973b7a8123f53b317fd0d9e28bed927
281
2022-04-01 11:27:13+02:00
-7,200
['17de5f78a3841ab58ff2b12f104a7e3a8a589272']
Make test more resilient on slow windows CI
[{'old_path': 'tests/Composer/Test/Util/ProcessExecutorTest.php', 'new_path': 'tests/Composer/Test/Util/ProcessExecutorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -128,8 +128,9 @@ public function testExecuteAsyncCancel(): void\n $this->assertEquals(1, $process->countActiveJobs());\n $pr...
PHP
27a449eaf759b83db331056bd3556fa43c87aa78
281
2022-04-01 11:34:03+02:00
-7,200
['9a42f69a9973b7a8123f53b317fd0d9e28bed927']
Move duplicate key parsing from bootstrap to validate/diagnose to reduce bootstrap time a bit
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -316,13 +316,6 @@ public function createComposer(IOInterface $io, $localConfig = null, bool $disab\n $message = $e->getMessage() . ':' . PHP_EOL . $errors;\n ...
PHP
ef12e42bdb04dcc564ab7c957e47341570a14a0c
242
2022-04-01 17:13:22+02:00
-3,600
['be4b70ce79b34762acf1647e63108fdcca7f758b']
GitDriver: try to fetch default branch from remote (#10687) The initial clone determined what the default branch of the cache git repository was. Changing it on the remote didn't have any impact on the local data. However, cloning it on a different machine would then store a different default branch on that machine. T...
[{'old_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,6 +13,7 @@\n namespace Composer\\Repository\\Vcs;\n \n use Composer\\Pcre\\Preg;\n+use Composer\\Util\\Platform;\n use Composer\\Util\\ProcessExecutor...
PHP
ecec0d00fc0e6b7162fb188cc8331b7bb673b8d1
281
2022-04-01 21:20:21+02:00
-7,200
['cbda47634eabe097f63651cc1ae1dbf7b4eb3fad']
Fix generation of autoload rules in a dir that is missing to ensure it does not break (#10688)
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -162,6 +162,7 @@ public function setPlatformRequirementFilter(PlatformRequirementFilterInterface\n * @param string $suffix\n * @return int\n...
PHP
956d44c339a836f6a649dd49c06cdbd030c36712
281
2022-04-01 21:53:41+02:00
-7,200
['b7d9beaa434d965ccafd29e512baebc43ac2d148']
Add --2.2 flag to self-update for 2.2 LTS as well as EOL marker support
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -59,6 +59,7 @@ protected function configure()\n new InputOption('snapshot', null, InputOption::VALUE_NONE, 'Force an update to the snaps...
PHP
96f087a2732cc99e3298560c4a2c02a4bf2e239b
281
2022-04-02 12:45:27+02:00
-7,200
['09855016021511370af5be06db6f89032ccbc26c']
Remove unnecessary realpath which can fail, closes #10694
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -185,7 +185,7 @@ protected function initialize(InputInterface $input, OutputInterface $output)\n \n $authConfigFile = $input->getOption('global')\n ...
PHP
d7f07339595d12bb9ac945b1c74fc832b7710f3c
281
2022-04-02 13:04:27+02:00
-7,200
['1cc23e1a8bc257218e837e34b7430bb797c54521']
Detect exec failures in compile script, refs #10693
[{'old_path': 'bin/compile', 'new_path': 'bin/compile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,16 +3,28 @@\n \n $cwd = getcwd();\n chdir(__DIR__.\'/../\');\n-$ts = rtrim(shell_exec(\'git log -n1 --pretty=%ct HEAD\'));\n+$ts = rtrim(exec(\'git log -n1 --pretty=%ct HEAD\'));\n if (!is_numeric($ts)) {\n ...
PHP
106149d102bb6bc93a985b267ffc92b29935071d
281
2022-04-06 21:35:26+02:00
-7,200
['b03e9e414ed85865ad596de5accb0debd08aeaf7']
Fix a bunch of type errors in SelfUpdateCommand, fixes #10696, closes #10704
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -100,7 +100,7 @@ class_exists(\'Composer\\Downloader\\FilesystemException\');\n \n // switch channel if requested\n $requestedChannel = ...
PHP
c2598790f4b9e59f2ac20f91a3505584cb79f5fd
528
2022-04-06 21:46:57+02:00
-10,800
['106149d102bb6bc93a985b267ffc92b29935071d']
Fix run-script not setting Path correctly on Windows (#10700)
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -571,7 +571,11 @@ protected function popEvent(): ?string\n private function ensureBinDirIsInPath(): void\n {\n $pathEnv = 'P...
PHP
2ef9e14c2f7ecfb5fdc9bcdd3e4fc5291cbebcac
281
2022-04-06 21:48:30+02:00
-7,200
['c2598790f4b9e59f2ac20f91a3505584cb79f5fd']
Update baseline (2086, 104)
[{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,10 @@\n parameters:\n \tignoreErrors:\n+\t\t-\n+\t\t\tmessage: "#^Casting to string something that\'s already string\\\\.$#"\n+\t\t\tcount: 1\n+\t\t\tpath: ../src/Composer/Autolo...
PHP
e0cce2bfb00c8c828f2a70a8beb4db4fc7f60888
281
2022-04-06 22:07:16+02:00
-7,200
['2ef9e14c2f7ecfb5fdc9bcdd3e4fc5291cbebcac']
Allow autoload to run on 5.6 still, add early exits when running composer or autoload.php with outdated PHP versions, fixes #10714, refs #10709
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,6 +5,11 @@ if (PHP_SAPI !== \'cli\' && PHP_SAPI !== \'phpdbg\') {\n echo \'Warning: Composer should be invoked via the CLI version of PHP, not the \'.PHP_SAPI.\' SAPI\'.PHP_EOL;\n }\n \n+if (PHP_VERSION_ID...
PHP
eb36025d372453affb5a5a6e4d7b7d6fd67440f2
281
2022-04-06 22:23:47+02:00
-7,200
['e0cce2bfb00c8c828f2a70a8beb4db4fc7f60888']
Fix type error in ArchiverInterface::supports(), fixes #10702
[{'old_path': 'src/Composer/Package/Archiver/ArchiverInterface.php', 'new_path': 'src/Composer/Package/Archiver/ArchiverInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -36,9 +36,9 @@ public function archive(string $sources, string $target, string $format, array $\n * Format supported by the archi...
PHP
58e135181d5b11b3d20a5bccc994ad5f396b7209
364
2022-04-07 13:17:28+02:00
18,000
['eb36025d372453affb5a5a6e4d7b7d6fd67440f2']
Restore the ability to list the scripts in the 'run-script' command without providing a script (#10710)
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5893,6 +5893,11 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../tests/Composer/Test/CacheTest.php\n \n+\t\t-\n+\t\t\tmessage: "#^Dynamic call to static method Composer\\\\\\\\Test\\\\\\\\TestC...
PHP
0efb557afc331fb9c0f6895cd8d54e7019dbc32b
281
2022-04-07 14:05:05+02:00
-7,200
['58e135181d5b11b3d20a5bccc994ad5f396b7209']
Fix type errors in interactive package selection, fixes #10712
[{'old_path': 'src/Composer/Command/PackageDiscoveryTrait.php', 'new_path': 'src/Composer/Command/PackageDiscoveryTrait.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -186,7 +186,7 @@ final protected function determineRequirements(InputInterface $input, OutputInte\n $io->writeError($choices...
PHP
849bc51ce7318f9c9b4e020f2dcbaf4fd68b064a
281
2022-04-07 15:19:22+02:00
-7,200
['0efb557afc331fb9c0f6895cd8d54e7019dbc32b']
Fix ProcessExecutor bootstrapping, fixes #10703
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -235,7 +235,7 @@ public function installProject(IOInterface $io, Config $config, InputInterface $\n }\n }\n \n- $proces...
PHP
9bfd05942039f1adbed2f8d49a3da3fe7a7aaa32
281
2022-04-07 15:56:23+02:00
-7,200
['d7f07339595d12bb9ac945b1c74fc832b7710f3c']
Fix curl downloader to retry in case of DNS resolution failure, fixes #10716
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -356,7 +356,7 @@ public function tick()\n if (\n (!isset($job['options']['http']['method']) || $job['options']...
PHP
499fc29e796c9abb854dd84a3aee562bd449e6e2
281
2022-04-07 16:12:25+02:00
-7,200
['35995c2d870217356bd2ad2aabccdaa353e6c4aa']
Update baseline (2086, 104)
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -130,11 +130,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Autoload/AutoloadGenerator.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#2 \\\\$excluded of method Composer\\\\\\...
PHP
939c998bafcbace3cf85ae7820a8f0654e73b7c9
501
2022-04-12 22:30:41+02:00
-7,200
['9bfd05942039f1adbed2f8d49a3da3fe7a7aaa32']
validate lock-file if configured (#10715, --check-lock) if no lock-file is configured, turn lock file validation errors into warnings (implicit --no-check-lock) unless those are explicitly promoted via the new --check-lock option. - `{"config": {"lock": false}}` is an implicit `--no-check-lock` for composer validat...
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2375,6 +2375,11 @@ parameters:\n \t\t\tcount: 2\n \t\t\tpath: ../src/Composer/Command/ValidateCommand.php\n \n+\t\t-\n+\t\t\tmessage: "#^Only booleans are allowed in &&, mixed given on the righ...
PHP
866d2a49b2fa0cd2489cd3bbcc5e8e2cbc240321
242
2022-04-13 12:11:25+02:00
-3,600
['54063964a7eba4fac568894e39a0df3a0a27fa50']
GitDriver: try to fetch default branch form remote using auth (#10701)
[{'old_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -94,15 +94,10 @@ public function getRootIdentifier(): string\n if (null === $this->rootIdentifier) {\n $this->rootIdentifier = 'master...
PHP
d916ac1af30c0a534e5c9f4e900a938709598dfb
281
2022-04-13 12:16:21+02:00
-7,200
['866d2a49b2fa0cd2489cd3bbcc5e8e2cbc240321']
Fix docs for path repo reference option, closes #10718
[{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -758,8 +758,8 @@ variables are parsed in both Windows and Linux/Mac notations. For example\n You can configure the way the package's dist reference (which appears in\n the composer.lock file) ...
PHP
6c3958ec86dbde09a3552a85271718e8b35c1397
242
2022-04-13 12:21:08+02:00
-3,600
['d916ac1af30c0a534e5c9f4e900a938709598dfb']
Add warning if host is accessed via verify_peer or verify_peer_name disabled (#10722)
[{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -107,6 +107,8 @@ class Config\n private $useEnvironment;\n /** @var array<string, true> */\n private $warnedHosts = array();\n+ /** @var array<string, true> */\n+ private $...
PHP
a5e35f911bfc58607f1d2762182b3bea01a263b0
242
2022-04-13 14:08:24+02:00
-3,600
['6c3958ec86dbde09a3552a85271718e8b35c1397']
GitDriver: fix test for remote identifier on windows (#10727)
[{'old_path': 'tests/Composer/Test/Repository/Vcs/GitDriverTest.php', 'new_path': 'tests/Composer/Test/Repository/Vcs/GitDriverTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -77,6 +77,10 @@ public function testGetRootIdentifierFromRemote(): void\n $process = $this->getProcessExecutorMock();\n ...
PHP
bb0edce0950bfc0eea1b464405991a5e8b7e257d
281
2022-04-13 14:52:13+02:00
-7,200
['9bfd05942039f1adbed2f8d49a3da3fe7a7aaa32']
Fixed lock file being used when lock:false is in config, refs #10715 (#10726)
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -396,7 +396,7 @@ in the Composer home, cache, and data directories.\n ## lock\n \n Defaults to `true`. If set to `false`, Composer will not create a `composer.lock`\n-file.\n+file and will ignore it if on...
PHP
0a8dfe6ef76014e7d202368503b0346c72552da7
281
2022-04-13 15:17:07+02:00
-7,200
['bb0edce0950bfc0eea1b464405991a5e8b7e257d']
Clarify that autoloader-suffix should be a non-empty-string, fixes #10720 (#10725)
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -315,8 +315,8 @@ with other autoloaders.\n \n ## autoloader-suffix\n \n-Defaults to `null`. String to be used as a suffix for the generated Composer\n-autoloader. When null a random one will be generated....
PHP
78d505083247e961432b0d7b8ef17fd6ff6172db
242
2022-04-14 10:47:28+02:00
-3,600
['4cb0382aa8b7e40e4d1d7434363aed657d5844ee']
Docs: clarify caret contraint with ^0.0.x constraint (#10728)
[{'old_path': 'doc/articles/versions.md', 'new_path': 'doc/articles/versions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -181,7 +181,7 @@ The `^` operator behaves very similarly, but it sticks closer to semantic\n versioning, and will always allow non-breaking updates. For example `^1.2.3`\n is equivalent to...
PHP
1f6f4a786e764813be85b2da2594f2be5153d6a0
242
2022-04-14 10:53:26+02:00
-3,600
['78d505083247e961432b0d7b8ef17fd6ff6172db']
BitbucketDriver: remove unnecessary HTTP call to fetch the root identifier (#10729)
[{'old_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -48,6 +48,8 @@ class GitBitbucketDriver extends VcsDriver\n private $website = '';\n /** @var string */\n private $cloneHttp...
PHP
20d11bfdfb8a3580f219edb7501fada0f69335ff
281
2022-04-14 11:25:44+02:00
-7,200
['b0b364af199d5fdffe3901b4cfa99074ba6ebcd2']
Display the stored channel when choosing a specific channel in self-update, fixes #10719
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -104,7 +104,7 @@ class_exists('Composer\\Downloader\\FilesystemException');\n foreach (Versions::$channels as $channel) {\n if ($inp...
PHP
b1828ef653486132b44f64fb131da0ca7fc72c1f
242
2022-04-14 16:53:18+02:00
-3,600
['2d153f23711e9499a5c2b57eacefecd2c687a88f']
ComposerRepository: add a warning if the packages key doesn't match the package name (#10735)
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -105,6 +105,8 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito\n private $hasPartialPackages = false;\n ...
PHP
f728b0b007cc5cd87c531493adbd94ae32a7cc4e
238
2022-04-26 16:51:30+02:00
-7,200
['b1828ef653486132b44f64fb131da0ca7fc72c1f']
clarify `config.platform` short notation (#10741)
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -223,7 +223,8 @@ production env or define your target platform in the config. Example: `{"php":\n This will make sure that no package requiring more than PHP 7.0.3 can be installed\n regardless of the act...
PHP
c36a9350bd6e81ca3ba3bbb49c72d6860489c393
345
2022-04-27 21:10:06+02:00
-7,200
['f728b0b007cc5cd87c531493adbd94ae32a7cc4e']
Fix TypeError in ConfigCommand (#10753) * Fix TypeError in ConfigCommand * Update ConfigCommand.php
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -214,7 +214,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int\n {\n // Open file in editor\n if (true ===...
PHP
5a54e0eb7ac1945d9acf702f07b2df47a2978e7e
281
2022-04-27 21:18:32+02:00
-7,200
['c36a9350bd6e81ca3ba3bbb49c72d6860489c393']
Use new fixed compact table format
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,7 +32,7 @@\n "psr/log": "^1.0 || ^2.0 || ^3.0",\n "seld/jsonlint": "^1.4",\n "seld/phar-utils": "^1.2",\n- "symfony/console": "^5.4.1 || ^6.0",\n+ "symfony/console": "^...
PHP
a0cc388952aecd2608afe6322d20b8b8674ebe70
281
2022-04-27 21:23:13+02:00
-7,200
['5a54e0eb7ac1945d9acf702f07b2df47a2978e7e']
Fix init command failing due to missing --ignore-platform-req[s] flags, fixes #10739
[{'old_path': 'src/Composer/Command/PackageDiscoveryTrait.php', 'new_path': 'src/Composer/Command/PackageDiscoveryTrait.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -271,7 +271,11 @@ final protected function determineRequirements(InputInterface $input, OutputInte\n private function findBestVersionAndName...
PHP
cac2d076b1d92be641ddb6a0476a37ddd57f4ee9
281
2022-04-27 21:35:55+02:00
-7,200
['a0cc388952aecd2608afe6322d20b8b8674ebe70']
Fix corrupt caches for svn driver, fixes #10751
[{'old_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'new_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -137,6 +137,13 @@ public function getComposerInformation(string $identifier): ?array\n {\n if (!isset($this->infoCache[$identifier])) {\n ...
PHP
f435618cb3dfb6024030c6192ec46fffe941195f
281
2022-04-27 21:54:54+02:00
-7,200
['cac2d076b1d92be641ddb6a0476a37ddd57f4ee9']
Update phpstan baseline (2086, 104)
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -400,11 +400,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Command/ConfigCommand.php\n \n-\t\t-\n-\t\t\tmessage: "#^Only booleans are allowed in a negated boolean, string given...
PHP
b8b84c2c354c5f7eaaf208b207da979624f1a4bb
272
2022-04-28 09:03:46+02:00
-10,800
['e918b6001b4b2bdb6b5f8bfb53c62c11a87eb6de']
#10738 - Allow config unset for unrecognized keys (#10756) * Allow config unset for unrecognized keys * Move config key removal after all other checks Because key removal is done without matching the key in the recognized composer.json schema, leaving the key removal before other check would have stopped the exe...
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -634,11 +634,6 @@ function ($vals) {\n if ($input->getOption('global') && (isset($uniqueProps[$settingKey]) || isset($multiProps[$settingKey]) || strpos...
PHP
732bdbde4bbedbeca3f26306251576d99632479f
281
2022-04-28 21:21:20+02:00
-7,200
['b8b84c2c354c5f7eaaf208b207da979624f1a4bb']
Fix missing validation of local auth file before loading it
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -331,6 +331,7 @@ public function createComposer(IOInterface $io, $localConfig = null, bool $disab\n $localAuthFile = new JsonFile(dirname(realpath($composerFile)) . '/auth.json...
PHP
3b4a3d63bf7ccc2189d6a81228c453fcc358c732
479
2022-04-28 21:16:16+01:00
-3,600
['20d11bfdfb8a3580f219edb7501fada0f69335ff']
GitLab: prevent invalid loop during composer install with invalid credentials
[{'old_path': 'src/Composer/Util/AuthHelper.php', 'new_path': 'src/Composer/Util/AuthHelper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -137,6 +137,7 @@ public function promptAuthIfNeeded($url, $origin, $statusCode, $reason = null, $\n $message = "\\n".\'Could not fetch \'.$url.\', enter your \'...
PHP
89721ab32203c41a9904e83921e543c550aae89f
479
2022-04-28 21:17:05+01:00
-3,600
['3b4a3d63bf7ccc2189d6a81228c453fcc358c732']
GitLab: detect invalid token setup and attempt to automatically resolve the issue for the user
[{'old_path': 'src/Composer/Util/GitLab.php', 'new_path': 'src/Composer/Util/GitLab.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -92,7 +92,14 @@ public function authorizeOAuth($originUrl)\n if (isset($token)) {\n $username = is_array($token) && array_key_exists("username", $token) ? $toke...
PHP
d40c3a89c010b7ed1123de6a6e6b25f98138ea82
479
2022-04-28 21:37:45+01:00
-3,600
['89721ab32203c41a9904e83921e543c550aae89f']
GitLab: add warning in case GitLab authentication is misconfigured
[{'old_path': 'tests/Composer/Test/Util/AuthHelperTest.php', 'new_path': 'tests/Composer/Test/Util/AuthHelperTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -474,6 +474,9 @@ public function testStoreAuthWithPromptNoAnswer()\n $this->authHelper->storeAuth($origin, $storeAuth);\n }\n \n+ /**\n...
PHP
474d0dc82dfeaa8ac09a87224e5aa037ab964493
281
2022-04-29 09:04:02+02:00
-7,200
['bd6403a6bef36fdbefdb287dc7e26286d5e06e5e']
Extract phpstan extension config into its own file
[{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -4,6 +4,7 @@ includes:\n - ../vendor/phpstan/phpstan-strict-rules/rules.neon\n - ../vendor/phpstan/phpstan-symfony/extension.neon\n - ../vendor/phpstan/phpstan-symfony/rules.neon\n+ -...
PHP
06ef742a6608d61cb5769d0754c76abac194fc40
281
2022-04-29 10:30:04+02:00
-7,200
['6b7ae1e05a955b68caa47f17a5d63fd8b3f79472']
Update phpstan, fix InstalledVersions key ordering to be more logical/consistent
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1825,16 +1825,16 @@\n "packages-dev": [\n {\n "name": "phpstan/phpstan",\n- "version": "1.6.2",\n+ "version": "1.6.3",\n "source": {\n ...
PHP
f8eed283476ade852f743e0e0aea37952d3708c2
281
2022-04-29 11:25:23+02:00
-7,200
['d5a8d2be22157b14f1683e3085ffe5ac895ba403']
Update baseline (2030, 104)
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,11 +10,6 @@ parameters:\n \t\t\tcount: 2\n \t\t\tpath: ../src/Composer/Autoload/AutoloadGenerator.php\n \n-\t\t-\n-\t\t\tmessage: "#^Casting to bool something that\'s already bool\\\\.$#"\n-...
PHP
1f75af6f89fef058bbc373d439144b7c3b43c099
281
2022-04-29 13:40:17+02:00
-7,200
['928e19e63720947dc4189d587f6b20a47ac64a00']
Move comment where it belongs
[{'old_path': 'src/Composer/SelfUpdate/Versions.php', 'new_path': 'src/Composer/SelfUpdate/Versions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -79,9 +79,9 @@ public function setChannel(string $channel, IOInterface $io = null): void\n $channelFile = $this->config->get('home').'/update-channel';\n ...
PHP
da322643d6b107157b5cc2faf67c118016814871
281
2022-04-29 14:50:58+02:00
-7,200
['1f75af6f89fef058bbc373d439144b7c3b43c099']
Fix retry to add a small pause between retries after the second one, refs #10716
[{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -256,7 +256,7 @@ parameters:\n \t\t\tpath: ../src/Composer/Util/Http/CurlDownloader.php\n \n \t\t-\n-\t\t\tmessage: "#^Property Composer\\\\\\\\Util\\\\\\\\Http\\\\\\\\CurlDownloader\\\\...
PHP
f1f013edde6528e58a47dfd94af527f5b9af801c
281
2022-04-29 15:02:24+02:00
-7,200
['da322643d6b107157b5cc2faf67c118016814871']
Downgrade naming errors to warnings again in package links to avoid BC issues with tags on packagist
[{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -258,9 +258,9 @@ public function load(array $config, string $class = 'Composer\\Package\\CompletePa\n cont...
PHP
c27dca83ef21bd44c41c1a60dd2e7ab1afa70a13
398
2022-05-08 10:39:36+02:00
-7,200
['1cdc43d9deb59bf80fc3802f81fd12b649a2dc11']
Fix deprecated syntax since PHP 8.2 (#10766)
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -889,7 +889,7 @@ protected function getPlatformCheck(array $packageMap, $checkPlatform, array $de\n // platform_check.php @generated by Composer\n \n ...
PHP
1d0fa9349563565452474d131d33dc23317febb1
281
2022-05-11 09:42:13+02:00
-7,200
['c27dca83ef21bd44c41c1a60dd2e7ab1afa70a13']
Fix lock:false still outputting lock file changes
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,11 +12,6 @@ parameters:\n \n \t\t-\n \t\t\tmessage: "#^Casting to bool something that\'s already bool\\\\.$#"\n-\t\t\tcount: 6\n-\t\t\tpath: ../src/Composer/Autoload/AutoloadGenerator.php\n-...
PHP
1b81b540252c3cff9a5a995636580a2e3c103ab1
281
2022-05-11 10:16:26+02:00
-7,200
['efbc0ddb786734c8b26e005343ccf9c057856816']
Fix type issue in require command abort
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -117,9 +117,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n {\n if (function_exists('pcntl_async_signals') && fu...
PHP
aeb204bb1dd284127cc3b18f0b237eb88063dacc
281
2022-05-11 13:06:59+02:00
-7,200
['1d0fa9349563565452474d131d33dc23317febb1']
Fix race condition where multiple http requests requiring auth end up failing, fixes #10763
[{'old_path': 'src/Composer/Util/AuthHelper.php', 'new_path': 'src/Composer/Util/AuthHelper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -79,11 +79,12 @@ function ($value) {\n * @param int $statusCode HTTP status code that triggered this call\n * @param string|null $reason a message/d...
PHP
ebfdae888363b983d692af23b618d6e882c3825c
281
2022-05-11 13:52:49+02:00
-7,200
['6af9fb63f51a507f0adc6ab0a1481c2f804d92bb']
Fix unsetting of existing props, fixes #10767, refs #10756
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -634,6 +634,11 @@ function ($vals) {\n if ($input->getOption('global') && (isset($uniqueProps[$settingKey]) || isset($multiProps[$settingKey]) || strpos...
PHP
fdab6657c799e5e5f499f400b7f6595d93f1e5f7
281
2022-05-11 16:08:39+02:00
-7,200
['ebfdae888363b983d692af23b618d6e882c3825c']
Add command testing utilities to TestCase, add tests for ConfigCommand
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -305,7 +305,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int\n }\n \n if (is_array($value)) {\n- ...
PHP
6ac4de19d719745918d6feedf93830fcea99c34e
281
2022-05-11 16:44:43+02:00
-7,200
['fdab6657c799e5e5f499f400b7f6595d93f1e5f7']
Fix ApplicationTest interacting with other tests
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -80,6 +80,10 @@ protected function configure(): void\n */\n protected function execute(InputInterface $input, OutputInterface $output): int\n ...
PHP
df9721d21b3a1600d9c68d2b804ab20e8b57bc75
281
2022-05-11 16:52:58+02:00
-7,200
['fb486b43e442e98e94009a1e7b3d78fef8654a51']
Skip broken test on windows
[{'old_path': 'tests/Composer/Test/ApplicationTest.php', 'new_path': 'tests/Composer/Test/ApplicationTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -59,6 +59,10 @@ public function testDevWarning(): void\n */\n public function testDevWarningSuppressedForSelfUpdate(): void\n {\n+ if (Pla...
PHP
b171d5531d84b10dbd4eec3f5c664924e3702cad
262
2022-05-11 19:17:58+02:00
-7,200
['df9721d21b3a1600d9c68d2b804ab20e8b57bc75']
CurlDownloader: Always cast Content-Type header value to string when passing to strtolower() (#10768)
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -626,7 +626,7 @@ private function failResponse(array $job, Response $response, string $errorMessa\n }\n \n $details = '';\n- if (in...
PHP
bc1fd3c8b725ca6bfecb7d9b0d78fe605e639089
166
2022-05-12 10:24:53+02:00
-7,200
['b171d5531d84b10dbd4eec3f5c664924e3702cad']
Move navigation arrows to the bottom (#10769) Probably by merging other PR the arrows were not at the bottom.
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1168,8 +1168,6 @@ fully offline with `1`.\n If set to `1`, outputs information about events being dispatched, which can be\n useful for plugin authors to identify what is firing when exactly.\n \n-&larr; [Libr...
PHP
3366271d736c3b1f3991688dad1fd95f0efe6fa0
281
2022-05-12 10:34:27+02:00
-7,200
['bc1fd3c8b725ca6bfecb7d9b0d78fe605e639089']
Fix outdated list when no new version can be matched, refs #10770
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -472,7 +472,11 @@ protected function execute(InputInterface $input, OutputInterface $output)\n if ($writeLatest && $latestPackage) {\n ...
PHP
8c7ab194c6a7c47ff5455376234a870b1d62e815
281
2022-05-12 10:34:28+02:00
-7,200
['3366271d736c3b1f3991688dad1fd95f0efe6fa0']
Fix coverage config for complete test suite
[{'old_path': 'tests/complete.phpunit.xml', 'new_path': 'tests/complete.phpunit.xml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,10 +31,10 @@\n \n <coverage>\n <include>\n- <directory>./src/Composer/</directory>\n+ <directory>../src/Composer/</directory>\n </include>...
PHP
96314b483c9f7083355f387bdb20b83e35091c6b
281
2022-05-12 14:39:49+02:00
-7,200
['8c7ab194c6a7c47ff5455376234a870b1d62e815']
Update target version to 2.4
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -62,7 +62,7 @@\n },\n "extra": {\n "branch-alias": {\n- "dev-main": "2.3-dev"\n+ "dev-main": "2.4-dev"\n }\n },\n "autoload": {\n'}, {'old_path': 'src/Compo...
PHP
ed7d8219addbc9d1abe7ae6224a035d57530dea4
296
2022-05-12 15:00:38+02:00
-7,200
['fe6be142b1a84a1e935b8953be18626336a2bf36']
Backport bash completion suggestion definition from symfony/console 6.1
[{'old_path': 'src/Composer/Command/ArchiveCommand.php', 'new_path': 'src/Composer/Command/ArchiveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,11 +27,9 @@\n use Composer\\Util\\Loop;\n use Composer\\Util\\Platform;\n use Composer\\Util\\ProcessExecutor;\n-use Symfony\\Component\\Console\\Completi...
PHP
2837585e47d4192fa3931aa09e9810bdab6487db
303
2022-05-12 21:13:55+02:00
-3,600
['aeb204bb1dd284127cc3b18f0b237eb88063dacc']
Fix cmd splitting paths on commas (#10775)
[{'old_path': 'src/Composer/Util/ProcessExecutor.php', 'new_path': 'src/Composer/Util/ProcessExecutor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -490,7 +490,8 @@ private static function escapeArgument($argument)\n // New lines break cmd.exe command parsing\n $argument = strtr($argument, "\\...
PHP
ce45d15bb5dfec0baa444a56ec0a8aacf070f063
281
2022-05-12 22:52:25+02:00
-7,200
['3f848cdb9ae937d74169ffab8107bb2c21a76d35']
Skip schema validation when running completion for increased bootstrap performance
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -704,6 +704,10 @@ private static function getUserDir(): string\n */\n private static function validateJsonSchema(?IOInterface $io, $fileOrData, int $schema = JsonFile::LAX_SCHEMA,...
PHP
1162629a172dcfb5c6bdede132dc1bf69b1b3b09
281
2022-05-12 22:52:25+02:00
-7,200
['ce45d15bb5dfec0baa444a56ec0a8aacf070f063']
Try and add completion for global subcommands
[{'old_path': 'src/Composer/Command/GlobalCommand.php', 'new_path': 'src/Composer/Command/GlobalCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,6 +37,14 @@ public function complete(CompletionInput $input, CompletionSuggestions $suggesti\n return $command->isHidden() ? null : $command...
PHP
3b2745a00d025fc1ec0e830f1552fe40ce57ba79
281
2022-05-12 22:52:26+02:00
-7,200
['1162629a172dcfb5c6bdede132dc1bf69b1b3b09']
Improve package suggestions, show only vendors by default when showing all available packages, add support for -p/-a in show command
[{'old_path': 'src/Composer/Command/CompletionTrait.php', 'new_path': 'src/Composer/Command/CompletionTrait.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,7 +13,9 @@\n namespace Composer\\Command;\n \n use Composer\\Composer;\n+use Composer\\Package\\BasePackage;\n use Composer\\Package\\PackageInterface;\...
PHP
0089a69c57621fa79dc7d4948a364dde3791736e
281
2022-05-12 22:52:26+02:00
-7,200
['3b2745a00d025fc1ec0e830f1552fe40ce57ba79']
Avoid outputting network errors or others while loading suggestions
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -466,7 +466,7 @@ public function getComposer(bool $required = true, ?bool $disablePlugins = null,\n \n if (null === $this->composer) {\n try {\n...
PHP
6aa7e15373e1d0bd2bb060e09f360e07b6004fd6
281
2022-05-12 23:11:22+02:00
-7,200
['0089a69c57621fa79dc7d4948a364dde3791736e']
Fixes to global completion, working in some cases now
[{'old_path': 'src/Composer/Command/GlobalCommand.php', 'new_path': 'src/Composer/Command/GlobalCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -36,12 +36,16 @@ public function complete(CompletionInput $input, CompletionSuggestions $suggesti\n $suggestions->suggestValues(array_filter(array_m...
PHP
55dc80862ea81748df77153fdf14f861759c68b3
281
2022-05-13 09:25:01+02:00
-7,200
['6aa7e15373e1d0bd2bb060e09f360e07b6004fd6']
Improve sorting of vendor results for available packages
[{'old_path': 'src/Composer/Command/CompletionTrait.php', 'new_path': 'src/Composer/Command/CompletionTrait.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -126,14 +126,31 @@ private function suggestAvailablePackage(int $max = 99): \\Closure\n $vendors = false;\n }\n \n- $...
PHP
b52053893c35aaaee0ce07a155d8c00717e06d1f
281
2022-05-13 10:48:27+02:00
-7,200
['55dc80862ea81748df77153fdf14f861759c68b3']
Fix type errors and tests
[{'old_path': 'src/Composer/Command/CompletionTrait.php', 'new_path': 'src/Composer/Command/CompletionTrait.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -66,7 +66,7 @@ private function suggestInstalledPackage(bool $includePlatformPackages = false):\n if ($locker->isLocked()) {\n ...
PHP
eac83aad5c05c0ca359e6b8381e6fcdeef22180b
281
2022-05-13 10:48:28+02:00
-7,200
['b52053893c35aaaee0ce07a155d8c00717e06d1f']
Avoid running cache GC within completion processes
[{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -248,6 +248,10 @@ public function gcIsNecessary()\n return false;\n }\n \n+ if (Platform::isInputCompletionProcess()) {\n+ return false;\n+ }\n+\n ...
PHP
d99e059aa37a51376125f65c26b360d461df01a5
281
2022-05-13 13:58:02+02:00
-7,200
['eac83aad5c05c0ca359e6b8381e6fcdeef22180b']
Add bash completions to docs
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,6 +13,12 @@ php composer.phar dump\n ```\n calls `composer dump-autoload`.\n \n+## Bash Completions\n+\n+To install bash completions you can run `composer completion bash > completion.bash` (put the file\n+...
PHP
72f4e9ba63238946cd8053d9633335a0e0787157
281
2022-05-13 13:58:37+02:00
-7,200
['d99e059aa37a51376125f65c26b360d461df01a5']
Remove package name completion from install command as it is not a recommended use case
[{'old_path': 'src/Composer/Command/InstallCommand.php', 'new_path': 'src/Composer/Command/InstallCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -58,7 +58,7 @@ protected function configure()\n new InputOption('apcu-autoloader-prefix', null, InputOption::VALUE_REQUIRED, 'Use a custom pre...
PHP