Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
e83e92b2ae79b25a5d009bfc72a843a13dff5ab2
14
2021-05-20 21:14:30+02:00
-7,200
['32b70142d97212a9e6c15e98b3a52fc64422cdd4']
Ignore platform requirements like "ext-*" and "php" when validating the lock file as they don't get locked
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n use Composer\\Package\\Loader\\ValidatingArrayLoader;\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n+use Com...
PHP
b6c9d3412506dbfefb727649af50c8a4fca08b84
300
2021-05-21 14:33:09+02:00
-3,600
['31cc1028500986ae371548d86720400acead8fbb']
Add install-path and type to installedVersions.php and installed.php, add method to get installed packages by type Issue https://github.com/composer/composer/issues/9648
[{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,10 +24,15 @@\n */\n class InstalledVersions\n {\n- private static $installed;\n+ private static $installed = array();\n private static $canGetVendors;\n ...
PHP
8335b49cf0b62d3ea205d3797e1720058d9c2ab4
281
2021-05-21 14:33:09+02:00
-7,200
['b6c9d3412506dbfefb727649af50c8a4fca08b84']
Rename dev-requirement to dev_requirement for consistency
[{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -88,7 +88,7 @@ public static function isInstalled($packageName, $includeDevRequirements = true)\n {\n foreach (self::getInstalled() as $installed) {\n ...
PHP
5a69a1e483a4f344c03539153856172b65f8846f
281
2021-05-21 14:33:10+02:00
-7,200
['8335b49cf0b62d3ea205d3797e1720058d9c2ab4']
Add InstalledVersions::getInstallPath($package) getter, and update phpdoc types
[{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -214,9 +214,26 @@ public static function getReference($packageName)\n throw new \\OutOfBoundsException(\'Package "\' . $packageName . \'" is not installed\');\n...
PHP
518b44a810adcc3e15f2824c59b1e134fadd727e
281
2021-05-21 14:33:10+02:00
-7,200
['5a69a1e483a4f344c03539153856172b65f8846f']
Clean up dump code to avoid reimplementing var export, and remove DIRECTORY_SEPARATOR
[{'old_path': 'src/Composer/Repository/FilesystemRepository.php', 'new_path': 'src/Composer/Repository/FilesystemRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -130,20 +130,21 @@ public function write($devMode, InstallationManager $installationManager)\n \n if ($this->dumpVersions) {\n ...
PHP
3fe4f84a76966f5c522e7d87fd676000d79347ea
281
2021-05-21 14:33:10+02:00
-7,200
['518b44a810adcc3e15f2824c59b1e134fadd727e']
Fix handling of metapackages with null paths, and handling of paths which do not have a shortest-path and require an absolute path to be addressed
[{'old_path': 'src/Composer/Repository/FilesystemRepository.php', 'new_path': 'src/Composer/Repository/FilesystemRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -159,8 +159,13 @@ private function dumpToPhpCode(array $array = array(), $level = 0)\n } else {\n $lines...
PHP
82cffa17d306fe6b8a50166613f31000a9cf9ffa
281
2021-05-21 14:34:51+02:00
-7,200
['3fe4f84a76966f5c522e7d87fd676000d79347ea']
Undo addition of initializeInstalled and remove inline copy of the data from the class
[{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,15 +24,10 @@\n */\n class InstalledVersions\n {\n- private static $installed = array();\n+ private static $installed;\n private static $canGetVendors;\n ...
PHP
284ec95712d397d8d46fcfffc245ad87f3abebe9
281
2021-05-21 14:34:51+02:00
-7,200
['82cffa17d306fe6b8a50166613f31000a9cf9ffa']
Document new methods and update the composer-runtime-api version to 2.1
[{'old_path': 'doc/07-runtime.md', 'new_path': 'doc/07-runtime.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,6 +27,14 @@ The main use cases for this class are the following:\n \\Composer\\InstalledVersions::isInstalled('psr/log-implementation'); // returns bool\n ```\n \n+As of Composer 2.1, you may also c...
PHP
7d19930ca65fac63396d34a8a0e2c4b26d812445
281
2021-05-21 15:00:48+02:00
-7,200
['16279d328e8509cb566eb12811b6fef0298809da']
Fix minimum-stability validation to match what VersionParser::normalizeStability does, closes #9904
[{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -276,7 +276,7 @@ public function load(array $config, $class = 'Composer\\Package\\CompletePackage')\n }\n \n if ($...
PHP
fee22972eacb394fed3ab3fcca0535d9c5ada799
281
2021-05-21 16:44:05+02:00
-7,200
['7d19930ca65fac63396d34a8a0e2c4b26d812445']
Update basic docs on install/update, fixes #9754
[{'old_path': 'doc/01-basic-usage.md', 'new_path': 'doc/01-basic-usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,14 +20,14 @@ to find the file at the top of your VCS repository.\n \n ### The `require` key\n \n-The first (and often only) thing you specify in `composer.json` is the\n+The first thing you ...
PHP
ce19bcd992a71d599bb1b214b64f47888dd62bad
303
2021-05-21 16:47:29+02:00
-3,600
['fee22972eacb394fed3ab3fcca0535d9c5ada799']
Upgrade to xdebug-handler 2 (#9832) This adds support for Xdebug3 modes and changes the default behaviour from always restarting if Xdebug is loaded, to only restarting if Xdebug is active. Xdebug is considered active if it is loaded, and for Xdebug3, if it is running in a mode other than `xdebug.mode=off`.
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,7 +14,7 @@ use Composer\\XdebugHandler\\XdebugHandler;\n error_reporting(-1);\n \n // Restart without Xdebug\n-$xdebug = new XdebugHandler('Composer', '--ansi');\n+$xdebug = new XdebugHandler('Composer');\n $...
PHP
8874ca0e5a58c585a10a5092059d40e24d0818c8
281
2021-05-21 16:58:34+02:00
-7,200
['17f6363ea93f640a2acc1abfc5be09403e5a1905']
Fix regression introduced in dd54f295fe859dd76e330994d54a86570f0dc89d
[{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -464,7 +464,7 @@ private function waitOnPromises(array $promises)\n if ($progress) {\n $progress->clear();\n // ...
PHP
44e65915731448a1f89fc7adf34805b6d2564890
281
2021-05-24 16:57:33+02:00
-7,200
['da3d5e31439cab4123f2157ae9e1b8240d455746']
Improve error reporting for exts overridden by platform config, fixes #9876
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -181,26 +181,16 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n {\n // handle php/hhvm\n if ...
PHP
7888d3fb97abb4f7e161a9b2578c4b10fe866108
281
2021-05-24 21:44:56+02:00
-7,200
['44e65915731448a1f89fc7adf34805b6d2564890']
Align result descriptions to make search output more readable, fixes #9455
[{'old_path': 'src/Composer/Command/BaseCommand.php', 'new_path': 'src/Composer/Command/BaseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,10 +21,12 @@\n use Composer\\Plugin\\PreCommandRunEvent;\n use Composer\\Package\\Version\\VersionParser;\n use Composer\\Plugin\\PluginEvents;\n+use Composer\\...
PHP
6ac5b4660762dd7d1c68505ba4d79797a17803e7
281
2021-05-24 22:19:07+02:00
-7,200
['7888d3fb97abb4f7e161a9b2578c4b10fe866108']
Add legend for outdated and show --latest commands, fixes #9716
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -475,6 +475,24 @@ protected function execute(InputInterface $input, OutputInterface $output)\n if ('json' === $format) {\n $io->write(JsonFile::...
PHP
500efbe233d82526f5a52d1ee9d51081f97ad7f1
281
2021-05-25 22:30:15+02:00
-7,200
['084fff2014f4dc955e8e66a78a219f4de582fa82']
Add a reinstall command, fixes #3112
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -313,6 +313,53 @@ uninstalled.\n * **--apcu-autoloader-prefix:** Use a custom prefix for the APCu autoloader cache.\n Implicitly enables `--apcu-autoloader`.\n \n+## reinstall\n+\n+The `reinstall` command loo...
PHP
387e504437e422d6e369964a3eaa73ec25b0d9c1
281
2021-05-25 22:39:55+02:00
-7,200
['084fff2014f4dc955e8e66a78a219f4de582fa82']
Undeprecated dump-autoload --no-dev even though it is mostly not needed anymore, refs #9714
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -816,8 +816,8 @@ performance.\n * **--apcu:** Use APCu to cache found/not-found classes.\n * **--apcu-prefix:** Use a custom prefix for the APCu autoloader cache.\n Implicitly enables `--apcu`.\n-* **--no-dev...
PHP
cbef7b91724a05413c3a0c1d1f25bb5c011ae3d5
281
2021-05-25 22:47:53+02:00
-7,200
['8a3f4a84000485734b6e3e269480a8a1a8ab55a8']
Detect and output a better hint for dependencies on the root package, fixes #9837
[{'old_path': 'doc/articles/troubleshooting.md', 'new_path': 'doc/articles/troubleshooting.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,32 +47,39 @@ This is a list of common pitfalls on using Composer, and how to avoid them.\n In this case add the `--with-dependencies` argument **or** add all dependenc...
PHP
0dce0f80f12543304fb0f1f755fb7bf9dbecfc9e
281
2021-05-25 23:05:44+02:00
-7,200
['21c70c260689f9b6e8e1de8c1eb7b17f5e3b3ec3']
Also hint for errors when the root package does not match the constraint
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -294,6 +294,13 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n }\n }\n \n+ ...
PHP
c8de960018b78c07e22aeaee76fb121f5faa3256
281
2021-05-26 14:01:04+02:00
-7,200
['0dce0f80f12543304fb0f1f755fb7bf9dbecfc9e']
Throw when repo consistency is in question
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -889,6 +889,13 @@ private function findBestVersionAndNameForPackage(InputInterface $input, $name,\n // Check for similar names/typos\n $simi...
PHP
dd625669e8b41b179dc5d73d2967490629075b0f
159
2021-05-27 23:05:53+02:00
21,600
['c8de960018b78c07e22aeaee76fb121f5faa3256']
Introduce gitlab-protocol option to force the gitlab repos to use https or git protocol (#9401)
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -86,6 +86,11 @@ of their API. Composer may prompt for credentials when needed, but these can als\n manually set. Read more on how to get an OAuth token for GitHub and cli syntax\n [here](articles/authenti...
PHP
759897e7e855fcac6654c89f40a4283c3d2df1fe
211
2021-05-27 23:07:23+02:00
-25,200
['dd625669e8b41b179dc5d73d2967490629075b0f']
Update cache dir on macOS to follow OS guidelines (now $HOME/Library/Caches/Composer) (#9898) Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -213,9 +213,10 @@ versions. See also [COMPOSER_HOME](03-cli.md#composer-home).\n ## cache-dir\n \n Defaults to `C:\\Users\\<user>\\AppData\\Local\\Composer` on Windows,\n-`$XDG_CACHE_HOME/composer` on uni...
PHP
c257395a6d4de581add275ec51a4f1c420c570a1
281
2021-05-31 16:46:49+02:00
-7,200
['c8de960018b78c07e22aeaee76fb121f5faa3256']
Add support for mirror-style placeholders for the dist url, fixes #9661
[{'old_path': 'src/Composer/Package/Package.php', 'new_path': 'src/Composer/Package/Package.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -623,6 +623,11 @@ protected function getUrls($url, $mirrors, $ref, $type, $urlType)\n if (!$url) {\n return array();\n }\n+\n+ if ($urlTy...
PHP
5737a34e53b62f910d3166b910eab7dc358ba4bb
281
2021-05-31 17:09:19+02:00
-7,200
['500efbe233d82526f5a52d1ee9d51081f97ad7f1']
Sort package installs using Transaction
[{'old_path': 'src/Composer/Command/ReinstallCommand.php', 'new_path': 'src/Composer/Command/ReinstallCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\DependencyResolver\\Operation\\InstallOperation;\n use Composer\\DependencyResolver\\Operation\\UninstallOperation;\n+us...
PHP
4dbdae3ada097967eab51f3f1f88dbc25c98597d
281
2021-05-31 17:18:47+02:00
-7,200
['5737a34e53b62f910d3166b910eab7dc358ba4bb']
Sort uninstalls in reverse order from installs
[{'old_path': 'src/Composer/Command/ReinstallCommand.php', 'new_path': 'src/Composer/Command/ReinstallCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,7 @@\n use Composer\\DependencyResolver\\Operation\\InstallOperation;\n use Composer\\DependencyResolver\\Operation\\UninstallOperation;\n use C...
PHP
2eaf81c8138e76393e0aa89d345dde70b72d75d7
281
2021-06-01 14:02:51+02:00
-7,200
['69dc607408c965b03b46591ab353600cad66afb8']
Fix a few issues in lock file validation - handle packages present but in wrong version - handle provide/replace correctly - do not validate if lock file is missing refs #9899
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n use Composer\\Package\\Loader\\ValidatingArrayLoader;\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n+use Com...
PHP
90d72ca68655e09c0a56d2867736a08c692affb9
281
2021-06-01 14:03:19+02:00
-7,200
['2eaf81c8138e76393e0aa89d345dde70b72d75d7']
Tweak validate command output to be slightly more readable, less colorful
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -168,37 +168,63 @@ private function outputResult($io, $name, &$errors, &$warnings, $checkPublish =\n if ($errors) {\n $io->writeError('<...
PHP
a23f8a3d6c3fde2cbbe3b4459201437c54617d0c
281
2021-06-01 16:05:53+02:00
-7,200
['9a5c5aec3525435636af9932ed4e1cd5079ddf67']
Add gitlab-protocol to config command and schema
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -143,6 +143,10 @@\n "type": "string"\n }\n },\n+ "gitlab-protocol": {\n+ "enum": ["git", "http...
PHP
93a5b27631b432d2bc3d7fc1dd5ec64b3418c1ec
281
2021-06-01 16:59:35+02:00
-7,200
['c257395a6d4de581add275ec51a4f1c420c570a1']
Add prettyVersion to URL placeholders
[{'old_path': 'src/Composer/Package/Package.php', 'new_path': 'src/Composer/Package/Package.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -625,14 +625,14 @@ protected function getUrls($url, $mirrors, $ref, $type, $urlType)\n }\n \n if ($urlType === 'dist' && false !== strpos($url, '%')) {\n- ...
PHP
b751156e1cdc798fc8b0ec06af7cae8ac3e8a22a
281
2021-06-02 10:00:01+02:00
-7,200
['a23f8a3d6c3fde2cbbe3b4459201437c54617d0c']
Prevent cache gc from happening during test suite runs, and add output so it is clear why it is blocking for a bit
[{'old_path': 'phpunit.xml.dist', 'new_path': 'phpunit.xml.dist', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n >\n <php>\n <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>\n+ <env name="COMPOSER_TEST_SUITE" value="1"/>\n </php>\n <testsuites>\n <testsuite n...
PHP
1f37d1c1d57fb709833fa80d6aa0c514f638bf8a
281
2021-06-02 10:08:13+02:00
-7,200
['b751156e1cdc798fc8b0ec06af7cae8ac3e8a22a']
Add better error reporting for cases where a package conflicts with a replace and not directly a package, fixes #9834
[{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -211,7 +211,40 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n $package1 = $this->deduplicateDefaultBra...
PHP
c90cd6f640110f9b03694decb995019b7d817e15
281
2021-06-02 10:11:42+02:00
-7,200
['35bfa453ccb1e2e95aa8f6c1577b603f181830cc']
Clarify what is checked when with platofrm check, fixes #9307
[{'old_path': 'doc/07-runtime.md', 'new_path': 'doc/07-runtime.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -146,6 +146,10 @@ risk runtime errors when your code executes, you can disable this by setting the\n [`platform-check`](06-config.md#platform-check) config option to `false`.\n \n If you want the check ...
PHP
d864c5743a0be8a70ad32c33be8bd4db5cc4350d
281
2021-06-02 13:39:26+02:00
-7,200
['bec76367dbc9e591e3d04408a5d37423372ce990']
Add 7-zip presence check to diagnose command
[{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,6 +24,7 @@\n use Composer\\Util\\ProcessExecutor;\n use Composer\\Util\\HttpDownloader;\n use Composer\\Util\\StreamContextFactory;\n+use Composer\\Util...
PHP
28c7d0ea5d4477d3f74236c72d9548fa9760c2f1
281
2021-06-02 13:47:04+02:00
-7,200
['d864c5743a0be8a70ad32c33be8bd4db5cc4350d']
Avoid creating new processes to remove directories which we know are empty, which speeds things up a lot on windows
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -137,7 +137,7 @@ public function install(PackageInterface $package, $path, $output = true)\n };\n \n $renameAsOne = false;...
PHP
8bf0ddf905aedcc76a1ec24f772373cf5adf9ac2
281
2021-06-02 15:13:19+02:00
-7,200
['28c7d0ea5d4477d3f74236c72d9548fa9760c2f1']
Clean up ZipDownloader, always do async first if possible then fallback to non-async
[{'old_path': 'src/Composer/Downloader/ZipDownloader.php', 'new_path': 'src/Composer/Downloader/ZipDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,9 +25,8 @@\n */\n class ZipDownloader extends ArchiveDownloader\n {\n- protected static $hasSystemUnzip;\n private static $unzipCommands;\n- ...
PHP
aeb2c8d6e348e4e9c9473d623df56bebef398a54
281
2021-06-02 15:21:35+02:00
-7,200
['6d1d307f7bb24520da932bfcd09af2e16e9f592a']
Make sure InstalledVersions ships to project with docblocks
[{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -86,14 +86,16 @@ public function compile($pharFile = 'composer.phar')\n ->name('*.php')\n ->notName('Compiler.php')\n ->notName('ClassLoader.php')\n+ ...
PHP
3db2304fc6c63c42fb4aed63bfa88401f7ba49a7
307
2021-06-03 06:08:51+02:00
-7,200
['dbcb0ca5be7bd823cb4d6049c2e35f790a24f43f']
PHP 8.1 | Fix "Implicit conversion from non-compatible float" deprecation notice As reported in 9931. Unfortunately I gave not been able to track down the input which is causing the notices to be thrown, which is why I haven't added a test case to the unit tests. Would be great if someone would known the exact input ...
[{'old_path': 'src/Composer/Platform/Version.php', 'new_path': 'src/Composer/Platform/Version.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -97,7 +97,7 @@ private static function convertVersionId($versionId, $base)\n return sprintf(\n '%d.%d.%d',\n $versionId / ($base * $base),...
PHP
30d38679a86a39470c4895f80c628cf354b9c821
281
2021-06-03 09:19:18+02:00
-7,200
['61c77626801f88b9490cbb84b435aca2b2c61408']
Update ci job token link
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -120,7 +120,7 @@ A protocol to force use of when creating a repository URL for the `source`\n value of the package metadata. One of `git` or `http`. (`https` is treated\n as a synonym for `http`.) Helpful...
PHP
e0366bc7606f98d390c520e3c33b161c4bc72121
281
2021-06-03 09:28:30+02:00
-7,200
['30d38679a86a39470c4895f80c628cf354b9c821']
Fix COMPOSER_BINARY env not being set in $_SERVER, refs #9930
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -57,7 +57,8 @@ if (function_exists('ini_set')) {\n unset($memoryLimit);\n }\n \n-putenv('COMPOSER_BINARY='.realpath($_SERVER['argv'][0]));\n+$_SERVER['COMPOSER_BINARY'] = realpath($_SERVER['argv'][0]);\n+pute...
PHP
91dd175f748bf45da10699101eff429a7f444784
281
2021-06-03 10:17:54+02:00
-7,200
['e0366bc7606f98d390c520e3c33b161c4bc72121']
Fix env var handling when variables_order includes E and symfony/console 3.3.15+ is used, fixes #9930
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -10,6 +10,7 @@ require __DIR__.'/../src/bootstrap.php';\n \n use Composer\\Console\\Application;\n use Composer\\XdebugHandler\\XdebugHandler;\n+use Composer\\Util\\Platform;\n \n error_reporting(-1);\n \n@@ -57,...
PHP
1b34495daaf0a12209708e393b11148a119d04c5
281
2021-06-03 11:29:00+02:00
-7,200
['4c9e75c6e58fbef6c58f44debfa77f5fae8a2c1c']
Some phpstan level 4 fixes
[{'old_path': 'src/Composer/Repository/RepositoryInterface.php', 'new_path': 'src/Composer/Repository/RepositoryInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -86,8 +86,8 @@ public function loadPackages(array $packageNameMap, array $acceptableStabilities\n * @param int $mode a set of SEARCH_...
PHP
f3bc2a3aed8a1d21c13c55142225042b563b6f91
281
2021-06-03 11:36:39+02:00
-7,200
['75317412db5dc0a8e91930cbf5cad554cafd341e']
Bump phpstan to level 4 using baseline
[{'old_path': None, 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,297 @@\n+parameters:\n+\tignoreErrors:\n+\t\t-\n+\t\t\tmessage: "#^Else branch is unreachable because ternary operator condition is always true\\\\.$#"\n+\t\t\tcount: 1\n+\t\t\tpath: ../src/Composer/Autoload/...
PHP
c686bbd7e206ba7c4f9b0800d152a4e8f9584a28
281
2021-06-03 11:40:02+02:00
-7,200
['e58fbb7f677005289617b462a85412166688bec8']
Clean up invalid errors in baseline
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,21 +45,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Command/DiagnoseCommand.php\n \n-\t\t-\n-\t\t\tmessage: "#^PHPDoc tag @param references unknown parameter\\\\: \\\\$lin...
PHP
d5ce7a73856655288bf032152cc5bb83c8cca495
281
2021-06-03 17:03:42+02:00
-7,200
['c686bbd7e206ba7c4f9b0800d152a4e8f9584a28']
Fix autoload generation for dev dependencies when --no-scripts is used, fixes #9934
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -145,19 +145,23 @@ public function dump(Config $config, InstalledRepositoryInterface $localRepo, Ro\n // Force scanPsrPackages when classm...
PHP
7366b8e362005fe5b3eeae49e7aa84817d895612
100
2021-06-03 20:15:35+02:00
-7,200
['c686bbd7e206ba7c4f9b0800d152a4e8f9584a28']
Fix JsonFile when using custom json schema with no "name" and "description" properties
[{'old_path': 'src/Composer/Json/JsonFile.php', 'new_path': 'src/Composer/Json/JsonFile.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -180,6 +180,7 @@ public function validateSchema($schema = self::STRICT_SCHEMA, $schemaFile = null\n {\n $content = file_get_contents($this->path);\n $data =...
PHP
5a28f677da385036bd7ea60517f76738508c1363
281
2021-06-04 07:55:40+02:00
-7,200
['c56cda0a5ace5223e2368f6f68a340f5a69a2a71']
Fix outdated legend and only show legend when there is output to be shown, fixes #9939
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -473,7 +473,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n if ('json' === $format) {\n $io->write(JsonFile::e...
PHP
1bfec451e26be283b99f0168a4151c59274f7f8f
281
2021-06-04 08:05:42+02:00
-7,200
['7366b8e362005fe5b3eeae49e7aa84817d895612']
Make sure the LAX_SCHEMA handling disables required/additionalProperties as it used to do but strict schema requires properties only for the composer schema
[{'old_path': 'src/Composer/Json/JsonFile.php', 'new_path': 'src/Composer/Json/JsonFile.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -180,15 +180,15 @@ public function validateSchema($schema = self::STRICT_SCHEMA, $schemaFile = null\n {\n $content = file_get_contents($this->path);\n $data...
PHP
cbd1e3c2af8045f736b13bd1721986363fcad045
281
2021-06-05 12:51:23+02:00
-7,200
['a82607fb29064a80c77bac11ee24afab61078a78']
Fix undefined index access when using "@php <absolute path>" in script handler, fixes #9943
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -265,8 +265,8 @@ protected function doDispatch(Event $event)\n }\n // match somename (not in...
PHP
288e19153d5b144e1b7c731d7065da3141a66aae
281
2021-06-05 16:04:24+02:00
-7,200
['cbd1e3c2af8045f736b13bd1721986363fcad045']
Alternative fix for #9941 to avoid code duplication
[{'old_path': 'src/Composer/Util/Url.php', 'new_path': 'src/Composer/Util/Url.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -109,25 +109,13 @@ public static function sanitize($url)\n // e.g. https://api.github.com/repositories/9999999999?access_token=github_token\n $url = preg_replace('{([&?]a...
PHP
eac069bf360d0804ea9d3b7eeeca5f96e49b8017
398
2021-06-05 16:09:04+02:00
-7,200
['288e19153d5b144e1b7c731d7065da3141a66aae']
Fix --no-scripts disabling events for plugins
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -183,6 +183,7 @@ public function installProject(IOInterface $io, Config $config, InputInterface $\n }\n \n $composer = Factory::cr...
PHP
cbb1504910feb8f51104d7510bddae191a4df354
281
2021-06-05 16:21:46+02:00
-7,200
['eac069bf360d0804ea9d3b7eeeca5f96e49b8017']
Also do the change in ReinstallCommand
[{'old_path': 'src/Composer/Command/ReinstallCommand.php', 'new_path': 'src/Composer/Command/ReinstallCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -69,6 +69,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $io = $this->getIO();\n \n $composer = $this->...
PHP
7a7e0cc03158f29e30ed1249782c53a461afcbac
281
2021-06-05 16:40:18+02:00
-7,200
['edf99510061f9be8347267d713d0512132d5cb4a']
Attempt fixing virtualbox issues, refs #9945
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -294,6 +294,8 @@ public function rmdir($path)\n if (Platform::isWindows()) {\n usleep(350000);\n $deleted = @rmdir($path);\n+ ...
PHP
e087a4ab5e83b91795e55030bddb817aca378ab5
281
2021-06-05 17:11:23+02:00
-7,200
['7a7e0cc03158f29e30ed1249782c53a461afcbac']
Fix usage of InstalledVersions when loaded from composer/composer installed as a dependency and runtime Composer is v1, fixes #9937
[{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -249,7 +249,13 @@ public static function getRawData()\n @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use ...
PHP
3556f6efa5171a50be1123da55ab612d6d27631b
281
2021-06-05 20:45:37+02:00
-7,200
['c1f0eee15452a616d6bb89bf155c19bd779b4a3a']
Always wait after an unzip completes to try and fix virtualbox issues, refs #9945
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -136,6 +136,8 @@ public function install(PackageInterface $package, $path, $output = true)\n }\n };\n \n+ P...
PHP
c4f675fe847df5ffacd2e50a996c4925dc76e0bd
281
2021-06-06 21:11:48+02:00
-7,200
['4e4b4f69c96a887c8c371fabed5e67863c6583cc']
Fix virtualbox filesystem issue when installing packages, fixes #9945
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -229,6 +229,9 @@ public function removeDirectoryPhp($directory)\n }\n }\n \n+ // release locks on the directory, see https://github.com/composer/...
PHP
e013b479dabfc63141434fb706e0284f59cbd591
281
2021-06-07 15:34:03+02:00
-7,200
['c4f675fe847df5ffacd2e50a996c4925dc76e0bd']
Avoid failing hard if the target empty dir cannot be deleted when extracting archives, fixes #9947
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -137,9 +137,18 @@ public function install(PackageInterface $package, $path, $output = true)\n };\n \n $renameAsOne = false...
PHP
6e851edd701f8ce11fdfadaf28bc0e9198826c33
281
2021-06-07 15:48:37+02:00
-7,200
['e013b479dabfc63141434fb706e0284f59cbd591']
Add `--dev` to `dump-autoload` command to allow force-dumping dev autoload rules even if dev requirements are not present, fixes #9946
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -865,6 +865,8 @@ performance.\n Implicitly enables `--apcu`.\n * **--no-dev:** Disables autoload-dev rules. Composer will by default infer this\n automatically according to the last `install` or `update` `-...
PHP
b01cd459b754b38b31146107b203ff77fa7475b8
281
2021-06-07 16:41:11+02:00
-7,200
['8ac5d787b75dc5527f33bda23fcf884babbb41b2']
Avoid checking if dir is empty if it does not even exist
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -139,8 +139,7 @@ public function install(PackageInterface $package, $path, $output = true)\n $renameAsOne = false;\n if (!...
PHP
c668c2459979f8d6cf2fc97fb78f087bc5d4465e
281
2021-06-08 15:34:26+02:00
-7,200
['b01cd459b754b38b31146107b203ff77fa7475b8']
Fix autoload events not being dispatched when running dump-autoload command, fixes #9954
[{'old_path': 'src/Composer/Command/DumpAutoloadCommand.php', 'new_path': 'src/Composer/Command/DumpAutoloadCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -89,6 +89,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $generator->setDevMode(true);\n }\n ...
PHP
a02802b109c327894fb5513badb1fdd095e30aa3
281
2021-06-08 21:12:49+02:00
-7,200
['cd682f90a6f1834584d9813d57b24435f8640884']
Warn 1.x users when a package is not found that it may be due to our deprecation policy
[{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,7 +43,7 @@ protected function createMessage()\n }\n \n if (strpos($text, \'could not be found\') |...
PHP
f61f2c68721154fc1520b1b668b2e6104d05d6cf
281
2021-06-08 21:26:41+02:00
-7,200
['c668c2459979f8d6cf2fc97fb78f087bc5d4465e']
Also free $file just in case
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -230,7 +230,7 @@ public function removeDirectoryPhp($directory)\n }\n \n // release locks on the directory, see https://github.com/composer/composer/issues/...
PHP
6c1f0cdf24dbc71839e87eab87e7c0c6fff97576
281
2021-06-08 21:53:20+02:00
-7,200
['f61f2c68721154fc1520b1b668b2e6104d05d6cf']
Handle edge cases too in removeDirectoryPhp to avoid trying to delete symlinks and such, fixes #9955
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -166,7 +166,7 @@ public function removeDirectoryAsync($directory)\n *\n * @return bool|null Returns null, when no edge case was hit. Otherwise a bool whether remo...
PHP
a9031e40ebabb92d20a7e3280494dfb8b0eb9329
459
2021-06-09 11:33:44+02:00
-7,200
['7157097ea0aa4e56edfc228d2cc087cb6a310e4d']
Add "symlink" option for "bin-compat" config (#9959)
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -253,11 +253,12 @@ Defaults to `false`. Whether to use the Composer cache in read-only mode.\n ## bin-compat\n \n Defaults to `auto`. Determines the compatibility of the binaries to be installed.\n-If it ...
PHP
65259ac8e037efea6c38bb0b834d62e5f942bba0
131
2021-06-09 15:13:01+02:00
-7,200
['a9031e40ebabb92d20a7e3280494dfb8b0eb9329']
Add Composer version in about command
[{'old_path': 'src/Composer/Command/AboutCommand.php', 'new_path': 'src/Composer/Command/AboutCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,6 +12,7 @@\n \n namespace Composer\\Command;\n \n+use Composer\\Composer;\n use Symfony\\Component\\Console\\Input\\InputInterface;\n use Symfony\\Component\\...
PHP
2d54a27ebcf3cccc4547e2c8ec009d38860e3f2c
281
2021-06-09 16:25:16+02:00
-7,200
['3afa0a2df6b100e6e0e38cb9aeb10a9e33a79dc9']
Fix config support for new bin-compat value, refs #9959
[{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -315,9 +315,9 @@ public function get($key, $flags = 0)\n case \'bin-compat\':\n $value = $this->getComposerEnv(\'COMPOSER_BIN_COMPAT\') ?: $this->config[$key];\n ...
PHP
bf3713072ca206c599cf20949dc94e1b4507554f
281
2021-06-09 16:25:16+02:00
-7,200
['2d54a27ebcf3cccc4547e2c8ec009d38860e3f2c']
Fix source binaries not being made executable when symlinks cannot be used, fixes #9961
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -95,7 +95,7 @@ public function installBinaries(PackageInterface $package, $installPath, $warnOn\n } elseif ($this->binCompat === "symlink") ...
PHP
9a32bf9709960017f944753c68ab05c8de94add0
281
2021-06-09 16:44:06+02:00
-7,200
['118c6d545da20733bd947fdbe837a5ca13f134b1']
Bump source version to 2.1.999
[{'old_path': 'src/Composer/Composer.php', 'new_path': 'src/Composer/Composer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -54,7 +54,7 @@ class Composer\n const VERSION = '@package_version@';\n const BRANCH_ALIAS_VERSION = '@package_branch_alias_version@';\n const RELEASE_DATE = '@release_date@';...
PHP
66fb240e1b68c33cf9c5fe4914fbec0495065c51
383
2021-06-17 08:46:40+02:00
-7,200
['9a32bf9709960017f944753c68ab05c8de94add0']
Fix initial values of CompletePackage properties
[{'old_path': 'src/Composer/Package/CompletePackage.php', 'new_path': 'src/Composer/Package/CompletePackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -19,10 +19,10 @@\n */\n class CompletePackage extends Package implements CompletePackageInterface\n {\n- protected $repositories;\n+ protected $repos...
PHP
617d63f40ad3e791ffe078d4c53921b1e3abf334
307
2021-06-21 21:03:38+02:00
-7,200
['9a32bf9709960017f944753c68ab05c8de94add0']
GH Actions: set error reporting to E_ALL Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT` and `display_errors` is set to `Off`. For the purposes of CI, I'd recommend running with `E_ALL` and `display_errors=On` to ensure **all** PHP...
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -76,7 +76,7 @@ jobs:\n with:\n coverage: "none"\n extensions: "intl, zip"\n- ini-values: "memory_limit=-1, phar...
PHP
4324b375afea0d627952fe1be8f3e9a8ba2683ff
307
2021-06-21 21:05:19+02:00
-7,200
['617d63f40ad3e791ffe078d4c53921b1e3abf334']
GH Actions: ensure linting is done against highest/lowest supported PHP version `latest` in the matrix will always refer to the latest stable PHP release, which would now be PHP 8.0.
[{'old_path': '.github/workflows/lint.yml', 'new_path': '.github/workflows/lint.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,7 +18,7 @@ jobs:\n matrix:\n php-version:\n - "5.3"\n- - "7.4"\n+ - "latest"\n \n steps:\n - name: "Checkout"\n'}]
PHP
5780caf208a65c354fcfc35485b73b521062177f
281
2021-06-26 23:09:27+02:00
-7,200
['3a979c7c4b3d585ca16fd4885533712ed5a6fe7f']
Fix link when no composer.json is present, fixes #9966
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -304,7 +304,7 @@ public function createComposer(IOInterface $io, $localConfig = null, $disablePlu\n } else {\n $message = \'Composer could not find the ...
PHP
e87a150f41a05918a5ddfac362b0087aade149ac
281
2021-06-27 14:45:30+02:00
-7,200
['6f992a6ea36fabfdd8577569e75c70339ef7fe0c']
Make sure schema issues are always reported correctly, but not in init when Composer is not required, fixes #9986
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -420,9 +420,9 @@ public function getComposer($required = true, $disablePlugins = null)\n exit(1);\n }\n } catch (Jso...
PHP
420d9bf21db677eb1f0b5170f6560d0455ad4de9
281
2021-06-27 14:45:30+02:00
-7,200
['e87a150f41a05918a5ddfac362b0087aade149ac']
Move name validation out of interact, fixes #9986
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -95,6 +95,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $allowlist = array('name', 'description', 'author', 'type', 'ho...
PHP
a5efbbc94ad93ad4a0ef880b87beced9b0e7a272
281
2021-06-27 14:45:31+02:00
-7,200
['420d9bf21db677eb1f0b5170f6560d0455ad4de9']
Validate schema before writing the file, fixes #9986
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\Factory;\n use Composer\\Json\\JsonFile;\n+use Composer\\Json\\JsonValidationException;\n use Composer\\Package\\BasePackage;\n us...
PHP
078aaa6968016a1154d78386cc805a06f01205e9
281
2021-06-27 14:45:31+02:00
-7,200
['a5efbbc94ad93ad4a0ef880b87beced9b0e7a272']
Make sure the correct name is being output, fixes #9986
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -160,7 +160,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n throw new \\RuntimeException('You have to run this com...
PHP
c65890d2d3364c62236651bb277987e00835b608
408
2021-07-07 21:52:53+02:00
-7,200
['078aaa6968016a1154d78386cc805a06f01205e9']
DiagnoseCommand - fix PHPDoc (#9991)
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,11 +25,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Command/BaseCommand.php\n \n-\t\t-\n-\t\t\tmessage: "#^Call to function is_array\\\\(\\\\) with string will always eval...
PHP
cc81f5bac395dbf49ecf6dfd780e01fed9e4b2c3
281
2021-07-12 13:36:57+02:00
-7,200
['078aaa6968016a1154d78386cc805a06f01205e9']
Fix support for UNC paths in normalizePath, refs #9993
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -544,7 +544,13 @@ public function normalizePath($path)\n $parts = array();\n $path = strtr($path, '\\\\', '/');\n $prefix = '';\n- $absolute ...
PHP
005c55185af77c81c438074c0e10041c1c4e6324
281
2021-07-12 14:03:00+02:00
-7,200
['cc81f5bac395dbf49ecf6dfd780e01fed9e4b2c3']
Fix support for writing into UNC paths, and comparing UNC paths correctly in InstalledVersions, fixes #9993
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -385,7 +385,7 @@ public function createComposer(IOInterface $io, $localConfig = null, $disablePlu\n $composer->setPackage($package);\n \n // load local repository\n- ...
PHP
bacbd15b6b4e5da53fb825dc3392dd6c9b021837
281
2021-07-12 14:34:18+02:00
-7,200
['5152eeebdc11770a42e139871df9eab15aa8b6bd']
Fix open_basedir support regession in bfea0f7d1
[{'old_path': 'src/Composer/Util/Platform.php', 'new_path': 'src/Composer/Util/Platform.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -108,7 +108,7 @@ public static function isWindowsSubsystemForLinux()\n return self::$isWindowsSubsystemForLinux = false;\n }\n \n- if (is...
PHP
db1d9e75be6247ccc3f283d9c762d4d217f1de4e
281
2021-07-12 14:49:44+02:00
-7,200
['bacbd15b6b4e5da53fb825dc3392dd6c9b021837']
Fix support for 7z command fallback on linux/macOS, fixes #9994
[{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -177,17 +177,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n $finder = new ExecutableFinder;\n $hasSys...
PHP
b602b19f6dae8792cf8814fd4408ec9b524474e4
281
2021-07-12 15:09:59+02:00
-7,200
['db1d9e75be6247ccc3f283d9c762d4d217f1de4e']
Fix archive command now that zips are extracted async, refs composer/satis#655
[{'old_path': 'src/Composer/Package/Archiver/ArchiveManager.php', 'new_path': 'src/Composer/Package/Archiver/ArchiveManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n use Composer\\Package\\RootPackageInterface;\n use Composer\\Util\\Filesystem;\n use Composer\\Util\\Loop;\n+use Composer\\...
PHP
be58b36a351e827ae2c77250f7c598f43e33255b
281
2021-07-12 15:50:02+02:00
-7,200
['b602b19f6dae8792cf8814fd4408ec9b524474e4']
Also look up 7zz on linux/macOS, fixes #9951
[{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -177,12 +177,18 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n $finder = new ExecutableFinder;\n $hasSys...
PHP
79093d664b231531623debfce168c2520242a6a6
408
2021-07-21 10:10:09+02:00
-7,200
['052a455672216d56cf4830aa36cf3e35e2342f5f']
Update PHPStan and remove ignore
[{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -52,5 +52,5 @@ jobs:\n - name: Run PHPStan\n # Locked to phpunit 7.5 here as newer ones have void return types which break inheritance\n run: |\n- ...
PHP
f5a03b950d6b73a8dea998d3d06c21b069cf027b
281
2021-07-21 14:38:10+02:00
-7,200
['79093d664b231531623debfce168c2520242a6a6']
Improve error reporting in require command, fixes invalid case of consistency issue, fixes #10006
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -842,6 +842,7 @@ private function findBestVersionAndNameForPackage(InputInterface $input, $name,\n \n // find the latest version allowed in this repo set\n ...
PHP
10ae1d7b080a0527d3874b23d4d501c338c2296f
281
2021-07-21 15:13:24+02:00
-7,200
['f5a03b950d6b73a8dea998d3d06c21b069cf027b']
Fix some PHP 8.1 deprecation warnings, fixes #10008
[{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -79,6 +79,7 @@ public function packageById($id)\n /**\n * Returns how many packages have been loaded into the pool\n */\n+ #[\\ReturnTypeWi...
PHP
47cf602f9e900a9da65e01a91b3f94a4aacbf7c7
281
2021-07-22 11:30:01+02:00
-7,200
['10ae1d7b080a0527d3874b23d4d501c338c2296f']
Fix more PHP 8.1 deprecations, refs #10008
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -377,16 +377,16 @@\n },\n {\n "name": "justinrainbow/json-schema",\n- "version": "5.2.10",\n+ "version": "5.2.11",\n "source": {\n "...
PHP
a7efb273386e15fa93fc5bcd69b52249103e9c53
281
2021-07-22 11:48:30+02:00
-7,200
['47cf602f9e900a9da65e01a91b3f94a4aacbf7c7']
More php8.1 deprecation fixes, refs #10008
[{'old_path': 'src/Composer/DependencyResolver/Decisions.php', 'new_path': 'src/Composer/DependencyResolver/Decisions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -142,31 +142,37 @@ public function revertLast()\n array_pop($this->decisionQueue);\n }\n \n+ #[\\ReturnTypeWillChange]\n public...
PHP
2be03f0d60a17b2fb05bb88d1754a84bf84641fc
281
2021-07-22 12:42:01+02:00
-7,200
['a7efb273386e15fa93fc5bcd69b52249103e9c53']
More fixes for php8.1 deprecations
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,7 +28,7 @@\n "composer/semver": "^3.0",\n "composer/spdx-licenses": "^1.2",\n "composer/xdebug-handler": "^2.0",\n- "justinrainbow/json-schema": "^5.2.10",\n+ "justinra...
PHP
29a52ff463f9d643be21bb522f14edade696d442
281
2021-07-22 12:58:14+02:00
-7,200
['5413faec49c846315b5f1a61e7fb79c13cc87a94']
Register ErrorHandler early to catch deprecation notices while the Application is being initialized
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -11,6 +11,7 @@ require __DIR__.'/../src/bootstrap.php';\n use Composer\\Console\\Application;\n use Composer\\XdebugHandler\\XdebugHandler;\n use Composer\\Util\\Platform;\n+use Composer\\Util\\ErrorHandler;\n \n...
PHP
24f5e54fbea3c09e913b40ae097fb1731fcb69dc
281
2021-07-22 13:47:31+02:00
-7,200
['29a52ff463f9d643be21bb522f14edade696d442']
Fix only/exclude to avoid matching names as sub-strings of full package names, fixes #10001
[{'old_path': 'src/Composer/Repository/FilterRepository.php', 'new_path': 'src/Composer/Repository/FilterRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,17 +33,17 @@ public function __construct(RepositoryInterface $repo, array $options)\n if (!is_array($options[\'only\'])) {\n ...
PHP
2f83338d2f9c7189cca52c0114e373f16a334a56
281
2021-07-22 13:54:18+02:00
-7,200
['24f5e54fbea3c09e913b40ae097fb1731fcb69dc']
Fix hopefully last php 8.1 deprecation warnings
[{'old_path': 'src/Composer/Repository/CompositeRepository.php', 'new_path': 'src/Composer/Repository/CompositeRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -177,6 +177,7 @@ public function removePackage(PackageInterface $package)\n /**\n * {@inheritdoc}\n */\n+ #[\\ReturnTypeWillC...
PHP
e07d2a7beff07144ee0ff314270a1842c4c5b9ec
234
2021-07-22 15:14:15+02:00
-10,800
['a5ee2269ef9468fd0447237945a7113b5c82c4d9']
Respect parent setting, handling exceptions (#10017)
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -419,8 +419,11 @@ public function getComposer($required = true, $disablePlugins = null)\n } catch (\\InvalidArgumentException $e) {\n if...
PHP
1f4401005cced188e62373eac35ac74e603e8867
281
2021-07-23 09:51:57+02:00
-7,200
['e07d2a7beff07144ee0ff314270a1842c4c5b9ec']
Allow default_socket_timeout to extend the curl timeout if it is longer than 300s, fixes #10018
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -160,7 +160,7 @@ private function initDownload($resolve, $reject, $origin, $url, $options, $copyT\n curl_setopt($curlHandle, CURLOPT_URL, $url);\n...
PHP
deb4c48bbc3bbd6fbf45189dd488ab99caf500ca
281
2021-07-23 10:09:31+02:00
-7,200
['1f4401005cced188e62373eac35ac74e603e8867']
Avoid using an invalid path for InstalledFilesystemRepo in create-project and use an array repo instead, fixes #10020, fixes #10021
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -25,7 +25,7 @@\n use Composer\\Repository\\RepositoryFactory;\n use Composer\\Repository\\CompositeRepository;\n use Composer\\Repository\\Platfor...
PHP
2fb53232d1e9a5769abcb1cf4be6b9a25561c7aa
281
2021-07-28 14:19:19+02:00
-7,200
['bbe3769bcddedde5c89c28705a26a2fd933ccb0e']
Fix usage on symfony 2.x, fixes #10022
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -419,7 +419,7 @@ public function getComposer($required = true, $disablePlugins = null)\n } catch (\\InvalidArgumentException $e) {\n if ...
PHP
2665f1b2825d8e62e253dec232d5f55ad9de53e4
281
2021-07-28 14:33:47+02:00
-7,200
['2fb53232d1e9a5769abcb1cf4be6b9a25561c7aa']
Fix private property access, fixes #10022
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -419,7 +419,8 @@ public function getComposer($required = true, $disablePlugins = null)\n } catch (\\InvalidArgumentException $e) {\n if ...
PHP
df99150db65993f4e8c91b5d922d05d37325c9a2
281
2021-08-04 16:39:19+02:00
-7,200
['2665f1b2825d8e62e253dec232d5f55ad9de53e4']
Pin versions to avoid new dependencies breaking tests
[{'old_path': 'tests/Composer/Test/Fixtures/functional/installed-versions/composer.json', 'new_path': 'tests/Composer/Test/Fixtures/functional/installed-versions/composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,7 +5,7 @@\n "plugin/a": "*",\n "plugin/b": "*",\n "symfony/proces...
PHP
93f2e5f8fcfa1aa4589af23701cd7a6f79a20667
303
2021-08-11 13:02:22+02:00
-3,600
['df99150db65993f4e8c91b5d922d05d37325c9a2']
Update to xdebug-handler 2.0.2 (#10047)
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -313,21 +313,21 @@\n },\n {\n "name": "composer/xdebug-handler",\n- "version": "2.0.1",\n+ "version": "2.0.2",\n "source": {\n "type...
PHP
c7d11f361cbbd6580e2e6776dce34dbc8e3d95d4
55
2021-08-11 13:06:47+02:00
-7,200
['f5a0dfeb50130781ed0877b70dcfe6863dda89c9']
PHP 8.1: fix more return type deprecation warnings (#10039) Follow up on 10008 and the various commits made for that. Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
[{'old_path': 'src/Composer/Package/Archiver/ArchivableFilesFilter.php', 'new_path': 'src/Composer/Package/Archiver/ArchivableFilesFilter.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,6 +22,7 @@ class ArchivableFilesFilter extends FilterIterator\n /**\n * @return bool true if the current element ...
PHP
c65bd832d6529a542ad5f74d0e49d3353f8632c8
242
2021-08-11 13:24:41+02:00
-3,600
['c7d11f361cbbd6580e2e6776dce34dbc8e3d95d4']
Url: fix sanitize for new github tokens (#10048)
[{'old_path': 'src/Composer/Util/Url.php', 'new_path': 'src/Composer/Util/Url.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -110,8 +110,8 @@ public static function sanitize($url)\n $url = preg_replace('{([&?]access_token=)[^&]+}', '$1***', $url);\n \n $url = preg_replace_callback('{^(?P<prefix...
PHP