Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
dd1e80a38f7bb1ce759c127ec405a65f8d97c388
413
2019-03-05 10:53:43+01:00
-3,600
['8ae8d131d5c8635a6bd34063adfd340e29e3a158']
Add tests for wrong package name.
[{'old_path': 'tests/Composer/Test/Package/Loader/ValidatingArrayLoaderTest.php', 'new_path': 'tests/Composer/Test/Package/Loader/ValidatingArrayLoaderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -298,6 +298,30 @@ public function warningProvider()\n 'homepage : invalid value (foo:bar...
PHP
20ff8b22f29ecb7422f756a86347d7562e17b935
30
2019-03-09 00:27:34-06:00
21,600
['522ea033a3c6e72d72954f7cd019a3b75e28f391']
Corrected a typo and two grammar errors.
[{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -82,7 +82,7 @@ Now run `php bin/composer` in order to run Composer.\n #### Globally\n \n You can place the Composer PHAR anywhere you wish. If you put it in a directory\n-that is part of your `PATH`, you ca...
PHP
7c64300a1b4516fe8693ef17c690edafd25b716d
240
2019-03-11 10:24:39+01:00
-3,600
['522ea033a3c6e72d72954f7cd019a3b75e28f391']
using emptyDirectory instead of remove for clearing the cache
[{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -189,7 +189,8 @@ public function remove($file)\n public function clear()\n {\n if ($this->enabled) {\n- return $this->filesystem->removeDirectory($this->root);\n+ ...
PHP
486b25fd3015dc21df0524178d0ad279c91c8980
89
2019-03-15 13:15:01-05:00
18,000
['522ea033a3c6e72d72954f7cd019a3b75e28f391']
Fix for UNC Windows paths Made isAbsolutePath recognize Windows UNC-style absolute paths starting with \\
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -440,7 +440,7 @@ public function findShortestPathCode($from, $to, $directories = false, $staticCo\n */\n public function isAbsolutePath($path)\n {\n- re...
PHP
8944627245b66948111a33f467b7c865115c559b
281
2019-03-19 11:34:23+01:00
-3,600
['486b25fd3015dc21df0524178d0ad279c91c8980']
Fix syntax and backslash escaping
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -440,7 +440,7 @@ public function findShortestPathCode($from, $to, $directories = false, $staticCo\n */\n public function isAbsolutePath($path)\n {\n- re...
PHP
625bcee63a58e17cd6e2cc981e76541ea526040e
281
2019-04-01 18:01:09+02:00
-7,200
['c876613d5c651d1aa0f0d6621d7955bfe09520e2']
Fix handling of warnings to incl all 4xx responses
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -700,7 +700,7 @@ protected function fetchFile($filename, $cacheKey = null, $sha256 = null, $store\n }\n \n $data...
PHP
88852fbf1adfc1ffeb91e2db7cbbe1aa7f0321f9
39
2019-04-02 11:15:23+02:00
14,400
['a186620210245f059af1808a021917c27875de24']
Updates typo: nother-feature to another-feature
[{'old_path': 'doc/articles/versions.md', 'new_path': 'doc/articles/versions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,7 +32,7 @@ repository:*\n v1\n v2\n my-feature\n-nother-feature\n+another-feature\n \n ~/my-library$ git tag\n v1.0\n'}]
PHP
971528916b5c955066a7bc677d94032fd4c99298
439
2019-04-03 10:46:35+02:00
-7,200
['625bcee63a58e17cd6e2cc981e76541ea526040e']
fix regex for heredoc/nowdoc * take into account relaxed changes introduced in php 7.3 * see: https://github.com/php/php-src/commit/4887357269107ed669463c4b95bd755fbbb52490 * allow " as well as ', which was introduced in php 5.3 closes #8080
[{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -162,7 +162,7 @@ private static function findClasses($path)\n }\n \n // strip heredocs/nowdocs\n- $contents = preg_replace(\'{<...
PHP
4ea8e48bf8830a83defcf31923cef95c89f66391
439
2019-04-04 08:45:08+02:00
-7,200
['25e3f6d4b93f28a3a3b36dbd04835a31aad80abc']
leading whitespace is optional, but newline is not
[{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -162,7 +162,7 @@ private static function findClasses($path)\n }\n \n // strip heredocs/nowdocs\n- $contents = preg_replace(\'{<...
PHP
043b33ed382b6232f8451a85ff1ab415c5a4e5eb
237
2019-04-06 08:44:23-07:00
25,200
['717c21b78a4b4daeac6d6b5ffdef6e0fa882a02b']
Fixes #8065: Sort plugins deterministically before loading.
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,6 +28,7 @@\n */\n class AutoloadGenerator\n {\n+\n /**\n * @var EventDispatcher\n */\n@@ -959,7 +960,7 @@ function ($item) use ($in...
PHP
a908e22a91895fc63cfa173667ef395b3b6f5447
237
2019-04-06 08:53:32-07:00
25,200
['3e6300b5e810aada05581769f25c07f30f1f5a75']
Fixed code style issues.
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -255,7 +255,8 @@ private function loadRepository(RepositoryInterface $repo)\n {\n $packages = $repo->getPackages();\n $generator = $this->comp...
PHP
5633a68689a9653dc04a81bd06a37fa83e3a9c17
317
2019-04-08 22:44:08-07:00
25,200
['717c21b78a4b4daeac6d6b5ffdef6e0fa882a02b']
Add a helper to disable process timeouts The helper can be included in custom script definitions by calling "Composer\\Config::disableProcessTimeout". Example: { "scripts": { "watch": [ "Composer\\Config::disableProcessTimeout", "vendor/bin/long-running-script --watch" ] } }
[{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n use Composer\\Downloader\\TransportException;\n use Composer\\IO\\IOInterface;\n use Composer\\Util\\Platform;\n+use Composer\\Util\\ProcessExecutor;\n \n /**\n * @author J...
PHP
12e683e2ee74ace0d3843307843762f4a8186d5c
243
2019-04-09 12:49:25+02:00
-7,200
['17810b2621cea5f09436a395ed630fb29a6928e7']
ext-imagick: support version string from ImageMagick 6.x
[{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -166,8 +166,14 @@ protected function initialize()\n case \'imagick\':\n $imagick = new \\Imagick();\n ...
PHP
d2ab4f66fd79e9f3fe906a8c8b2c8c183819b27a
434
2019-04-09 13:06:33+02:00
-3,600
['2b421a94cb75b3801748900d278f98cbac375bdc']
Extract job packageName & constraint to variables
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -81,8 +81,11 @@ public function getPrettyString(array $installedMap = array())\n \n $job = $reason[\'job\'];\n \n- if (isset($j...
PHP
266a41e0464c8ccf23949e3794189dc4ccf3caba
237
2019-04-09 10:58:47-07:00
25,200
['a908e22a91895fc63cfa173667ef395b3b6f5447']
Refactor sortPackageMap to depend on separate sortPackage function.
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,6 +17,7 @@\n use Composer\\Installer\\InstallationManager;\n use Composer\\IO\\IOInterface;\n use Composer\\Package\\AliasPackage;\n+use Composer\...
PHP
d4150cafc46ccea244ec6fc4ea7519a0afe85aee
237
2019-04-09 10:59:02-07:00
25,200
['266a41e0464c8ccf23949e3794189dc4ccf3caba']
Move sortPackages to static helper class.
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,11 +17,11 @@\n use Composer\\Installer\\InstallationManager;\n use Composer\\IO\\IOInterface;\n use Composer\\Package\\AliasPackage;\n-use Compose...
PHP
dd40d74bf6041ddcefa1ebe46fb9117d031b1ccd
434
2019-04-10 13:11:57+02:00
-7,200
['3785255e0960e7886df4d818e1285256dc8d076c']
Exclude more files from being exported
[{'old_path': '.gitattributes', 'new_path': '.gitattributes', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,3 +10,8 @@\n \n # Exclude non-essential files from dist\n /tests export-ignore\n+.github export-ignore\n+.php_cs export-ignore\n+.travis.yml export-ignore\n+appveyor.yml export-ignore\n+phpunit.xml.dist e...
PHP
a2b647a99eb92e123b7e36ab135baeb7b219207a
467
2019-04-11 20:23:31+02:00
-7,200
['dd40d74bf6041ddcefa1ebe46fb9117d031b1ccd']
Handle absolute phar:// paths in autoload_static.php
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -545,7 +545,7 @@ protected function getPathCode(Filesystem $filesystem, $basePath, $vendorPath, $\n }\n }\n \n- if (preg_ma...
PHP
794234946c3b06e942e3d153ad08a9ba8d3a37df
398
2019-04-15 16:23:38+02:00
-7,200
['0317199507680bf41baaa4b88246515f46ec4e32']
Let curl handle proxy and cipher list itself
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -51,11 +51,9 @@ class CurlDownloader\n 'http' => array(\n 'method' => CURLOPT_CUSTOMREQUEST,\n 'content' => CURLOPT_POSTFI...
PHP
4e14ac7640eed7833b2aa780a84e5b068b465ecd
248
2019-04-30 13:46:17+02:00
-7,200
['dd40d74bf6041ddcefa1ebe46fb9117d031b1ccd']
Add documentation how to run plugins manually
[{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -261,6 +261,11 @@ Now the `custom-plugin-command` is available alongside Composer commands.\n \n > _Composer commands are based on the [Symfony Console Component][10]._\n \n+## Running plugi...
PHP
e37ffb2a44df9cd8c7ab7c667a225a930db9698f
479
2019-04-30 21:39:30+02:00
-3,600
['de0251953d6196a5931fc991d9e2a595d20ac46c']
Fix: Bitbucket getChangeDate throws exception for branches containing a slash
[{'old_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -218,6 +218,13 @@ public function getChangeDate($identifier)\n return $this->fallbackDriver->getChangeDate($identifier);\n ...
PHP
5d615a16d175fcbdb67a536ef9d6fc4e8a1f6f2b
317
2019-05-02 13:50:25+02:00
25,200
['dd40d74bf6041ddcefa1ebe46fb9117d031b1ccd']
Add documentation for Composer\\Config::disableProcessTimeout
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,6 +9,20 @@ Defaults to `300`. The duration processes like git clones can run before\n Composer assumes they died out. You may need to make this higher if you have a\n slow connection or huge vendors.\n...
PHP
8288d2c456287d4ec2d746db1d285d6bd82d52ec
453
2019-05-09 08:38:34+02:00
14,400
['5d615a16d175fcbdb67a536ef9d6fc4e8a1f6f2b']
Display branches and tags if verbose is specified
[{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -30,7 +30,8 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt\n {\n protected $url;\n protected $packageName;\n-...
PHP
c7519144105bf319fd7ce437f9733b3cdc443ce7
58
2019-05-10 13:55:31+02:00
-7,200
['de8368af45fd91acfcc3b6be6bef5fe74154d231']
Fix URL resolution for Composer repositories Composer was unable canonicalize URLs in non-HTTP(S) Composer repositories. For example it was not possible to use a `providers-url` in a repository loaded via the `file://` scheme. See also: #8115
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -562,7 +562,11 @@ protected function loadRootServerFile()\n protected function canonicalizeUrl($url)\n {\n if ('/' === $url[0]) ...
PHP
ce8afe1c95c2594fa0a26c0b13d95df05f993754
253
2019-05-14 10:30:18+02:00
10,800
['8288d2c456287d4ec2d746db1d285d6bd82d52ec']
Document the alternatives to disable the default script timeout Mentioning and giving an example of the usage of the 4 options to disable the default script timeout of 300 seconds: 1. Static helper (already exists and kept). 2. Config key "process-timeout". 3. Environment variable "COMPOSER_PROCESS_TIMEOUT". 4. Th...
[{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -224,11 +224,13 @@ to the `phpunit` script.\n Although Composer is not intended to manage long-running processes and other\n such aspects of PHP projects, it can sometimes be handy to disabl...
PHP
7f34189f91a06531bb8a8a3afcb9cf88f03fdbc7
439
2019-05-14 10:30:18+02:00
-7,200
['1976da9ee951e1c7027b25b364d68b7b7aa10257']
use full command name, not abbreviated/alias
[{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -264,11 +264,11 @@ of all following scripts in the current terminal environment:\n export COMPOSER_PROCESS_TIMEOUT=0\n ```\n \n-To disable the timeout of a single script call, you must use t...
PHP
d63bf33848f396c58c5e0de834cf15f9d7094b95
439
2019-05-14 10:30:18+02:00
-7,200
['7f34189f91a06531bb8a8a3afcb9cf88f03fdbc7']
flag should come before script name
[{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -268,7 +268,7 @@ To disable the timeout of a single script call, you must use the `run-script` co\n command and specify the `--timeout` parameter:\n \n ```\n-composer run-script test --timeo...
PHP
faa7c5eea2de7e053f38c0726c01147531687361
388
2019-05-19 21:10:15+02:00
-7,200
['de8368af45fd91acfcc3b6be6bef5fe74154d231']
Allow overriding self-update target file with envvar COMPOSER_SELF_UPDATE_TARGET Useful if Composer is provided on a read-only filesystems, to allow self-update to work with a different destination
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -351,6 +351,10 @@ protected function setLocalPhar($localFilename, $newFilename, $backupTarget = nu\n @copy($localFilename, $backupTarget...
PHP
bd6b758a1be2ffd722690e27e83a0ab685a06d37
439
2019-05-29 08:48:51+02:00
-7,200
['de8368af45fd91acfcc3b6be6bef5fe74154d231']
fixes #8159 expand interface and add missing methods to aliaspackage
[{'old_path': 'src/Composer/Package/AliasPackage.php', 'new_path': 'src/Composer/Package/AliasPackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -401,4 +401,14 @@ public function __toString()\n {\n return parent::__toString().' (alias of '.$this->aliasOf->getVersion().')';\n }\n+\n+ publ...
PHP
659c72f9c8db708ea6490b9daf8195e2ad7319ab
281
2019-06-07 13:12:10+02:00
-7,200
['9d79c69199b348789981e99ee3cf192f36337e1d']
Read classmap-authoritative and apcu-autoloader from project config when installing via create-project, fixes #8155
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -184,7 +184,9 @@ public function installProject(IOInterface $io, Config $config, InputInterface $\n ->setRunScripts(!$noScripts)\n...
PHP
088fb56c3d6f1264760d495d40edf7569ee83068
281
2019-06-07 16:55:22+02:00
-7,200
['de10fef39c70ef22f0e32c63a23b2d36568999a5']
Fix display of HHVM warning appearing when HHVM is not in use, fixes #8138
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -106,7 +106,7 @@ public function getPrettyString(array $installedMap = array())\n \n $msg = "\\n - This package requires ".$job...
PHP
e7eecc6901698ea352bff11ccabe5a1b6a6122c6
281
2019-06-07 16:55:23+02:00
-7,200
['088fb56c3d6f1264760d495d40edf7569ee83068']
Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -917,6 +917,10 @@ if you use Composer as super user at all times like in docker containers.\n \n If set, the value is used as php's memory_limit.\n \n+### COMPOSER_SELF_UPDATE_TARGET\n+\n+If set, makes the self...
PHP
6c76310810ebdbdfd004441f42509fd2d6640907
493
2019-06-11 09:35:51-05:00
18,000
['76da8d792eeae2e5e136c78454ed5bc9e8aee7d6']
[minor] Fixed a typo in the CHANGELOG.md.
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,6 @@\n ### [1.8.6] 2019-06-11\n \n- * Fixed handling of backslash-escapes handling in compoesr.json when using the require command\n+ * Fixed handling of backslash-escapes handling in composer.json when...
PHP
81a4f74b5b78beadaea6443973951fbe6827720a
327
2019-06-12 16:54:09-04:00
14,400
['76da8d792eeae2e5e136c78454ed5bc9e8aee7d6']
Composer\Script\Event should have access to originating event details
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -196,7 +196,9 @@ protected function doDispatch(Event $event)\n }\n \n try {\n- ...
PHP
b51cfce8e6983671b9b732ce88ae603f298378d1
327
2019-06-13 14:51:27-04:00
14,400
['81a4f74b5b78beadaea6443973951fbe6827720a']
return the upper-most event in chain
[{'old_path': 'src/Composer/Script/Event.php', 'new_path': 'src/Composer/Script/Event.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -104,15 +104,30 @@ public function getOriginatingEvent()\n }\n \n /**\n- * Get the originating event.\n+ * Set the originating event.\n *\n * @param \\Com...
PHP
8da046e4e982b7a8c01b038b19242dc339847cd8
479
2019-06-23 18:59:36+01:00
-3,600
['abbbe78ac99f838b24b0fce464f1d52b75ad79ba']
SVN: hide passwords for debug output
[{'old_path': 'src/Composer/Util/ProcessExecutor.php', 'new_path': 'src/Composer/Util/ProcessExecutor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,6 +51,7 @@ public function execute($command, &$output = null, $cwd = null)\n \n return \'://\'.$m[\'user\'].\':***@\';\n }, $comma...
PHP
8def53c4b3cd7ef09d35ee566b92cfafb4e55421
418
2019-07-09 15:29:21+02:00
-7,200
['e022c073706769d0486de96de0f98719cd9950b5']
Update only one package This PR come with https://github.com/composer/satis/pull/509
[{'old_path': 'doc/articles/handling-private-packages-with-satis.md', 'new_path': 'doc/articles/handling-private-packages-with-satis.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -112,6 +112,19 @@ Note that this will still need to pull and scan all of your VCS repositories\n because any VCS repository might co...
PHP
a4611d511fcd7719f3343e20058b04b3c39d200f
148
2019-07-11 16:48:57+02:00
-7,200
['e022c073706769d0486de96de0f98719cd9950b5']
Ignore platform reqs now handle conflict rules
[{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -233,7 +233,7 @@ protected function addRulesForPackage(PackageInterface $package, $ignorePlatform\n }\n }\n \n- prote...
PHP
b4fc3b7eefc6c6437ca1da7815848abf6ae07568
169
2019-07-24 02:39:40+02:00
-7,200
['e022c073706769d0486de96de0f98719cd9950b5']
Make usage of foreach to improve readability Instead of count and comparing, we can simple use a foreach.
[{'old_path': 'tests/Composer/Test/AllFunctionalTest.php', 'new_path': 'tests/Composer/Test/AllFunctionalTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -162,18 +162,18 @@ private function parseTestFile(\\SplFileInfo $file)\n }\n };\n \n- for ($i = 0, $c = count($tokens); $i < $c...
PHP
45591597f6e239c59d11ad7303e2d50220144469
281
2019-07-29 16:38:01+02:00
-7,200
['50d3c515ed54b09752ed493e36210980719b69b1']
Clarify how check-platform-reqs works, fixes #8191
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -259,6 +259,10 @@ match the platform requirements of the installed packages. This can be used\n to verify that a production server has all the extensions needed to run a\n project after installing it for exampl...
PHP
33759d02c4d730860dd31e949207fc43601caef5
281
2019-07-29 17:42:34+02:00
-7,200
['79e4ff4373faf5b3d0028310798038a2e438154a']
Fix require command to allow working on network mounts, fixes #8231
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,6 +26,7 @@\n use Composer\\Repository\\CompositeRepository;\n use Composer\\Repository\\PlatformRepository;\n use Composer\\IO\\IOInterface;\n+use Compose...
PHP
8958f40f94239320f9849b2c3cfe31cad2f6b40c
281
2019-07-29 17:57:25+02:00
-7,200
['33759d02c4d730860dd31e949207fc43601caef5']
Make sure resetting composer also resets the IO and configuration, fixes #8224
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -373,6 +373,9 @@ public function getComposer($required = true, $disablePlugins = null)\n public function resetComposer()\n {\n $this->composer = nul...
PHP
1a391b572cc82b681ce9f52b6db6aa87718fb137
281
2019-07-30 09:18:19+02:00
-7,200
['e7051de1a4226d1503e328afe80aa40244a597b9']
Prevent require command from allowing a package to require itself, fixes #8247
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -145,7 +145,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n // validate requirements format\n $versionPa...
PHP
14f2a6dd9accf8a0b4807876eaf47b80bec1d034
281
2019-07-30 09:48:49+02:00
-7,200
['1a391b572cc82b681ce9f52b6db6aa87718fb137']
Fix remove command not working with escaped slashes (e.g. foo\/bar), fixes #8249
[{'old_path': 'src/Composer/Json/JsonManipulator.php', 'new_path': 'src/Composer/Json/JsonManipulator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -326,9 +326,10 @@ public function removeSubNode($mainNode, $name)\n }\n \n // try and find a match for the subkey\n- if ($this->pregMatch(\...
PHP
3f5e4f0399ba108029b77500ab0cbf13fa19d75b
281
2019-07-30 10:58:36+02:00
-7,200
['14f2a6dd9accf8a0b4807876eaf47b80bec1d034']
Add support for defining a {"packagist.org":false} repo in composer init, fixes #8210
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -168,13 +168,25 @@ protected function interact(InputInterface $input, OutputInterface $output)\n if ($repositories) {\n $config = Factory::creat...
PHP
3e66d0514a69b4057c02685b633dff97a3917a19
496
2019-07-30 18:45:41+02:00
-7,200
['26a3e12c96cb72f54e0afbd881afb9ada225eb3d']
Fix error_handler return type declaration
[{'old_path': 'src/Composer/Util/ErrorHandler.php', 'new_path': 'src/Composer/Util/ErrorHandler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,6 +33,7 @@ class ErrorHandler\n *\n * @static\n * @throws \\ErrorException\n+ * @return bool\n */\n public static function handle($level...
PHP
5ddc40e93ce49955013553d985fe47f3b341fd01
281
2019-07-31 15:21:32+02:00
-7,200
['c51e52a1427a92daf9208016227483987dc912b2']
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058
[{'old_path': 'src/Composer/Command/CheckPlatformReqsCommand.php', 'new_path': 'src/Composer/Command/CheckPlatformReqsCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -51,6 +51,10 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $dependencies = $composer->getLoc...
PHP
0261ce809279a4789c8bd882097c4d59c10475f8
281
2019-07-31 17:41:18+02:00
-7,200
['5ddc40e93ce49955013553d985fe47f3b341fd01']
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -125,7 +125,7 @@ protected function doDownload(PackageInterface $package, $path, $url)\n $fileName = $this->getFileName($package, $path);\n \n ...
PHP
db6882b57fec3721bd0e35ceb41c62a7b81ff8bf
281
2019-07-31 18:36:27+02:00
-7,200
['0fe200d6d950b0774688713be3153bb410eb70b8']
Fix updating or URLs to include dist type and shasum, fixes #8216
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1178,7 +1178,7 @@ private function processPackageUrls($pool, $policy, $localRepo, $repositories)\n $newReference = $rootRefs[$package->getName()];\n ...
PHP
362ebe4f68ac397b3294110c4944884e9bd90495
281
2019-07-31 18:43:18+02:00
-7,200
['db6882b57fec3721bd0e35ceb41c62a7b81ff8bf']
Fix update mirrors to also update transport-options, fixes #7672
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1178,7 +1178,7 @@ private function processPackageUrls($pool, $policy, $localRepo, $repositories)\n $newReference = $rootRefs[$package->getName()];\n ...
PHP
872604ab36b00acb64dd97691c0ccfc77500f3d8
281
2019-08-02 13:25:11+02:00
-7,200
['362ebe4f68ac397b3294110c4944884e9bd90495']
Allow path repos to point to their own source dir as install target, resulting in noop, fixes #8254
[{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -49,6 +49,18 @@ public function download(PackageInterface $package, $path, $output = true)\n ));\n }\n \n+ if (realpath($path...
PHP
76a2c63bf8f2b77f68d1b4252781450d06981487
281
2019-08-02 14:00:34+02:00
-7,200
['08d661cecaba70a4c01937fe41f71ae4ce561547']
Show best possible version in diagnose command
[{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -156,7 +156,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $this->outputResult($this->checkVersion($config));...
PHP
f7c1b04a6ccbcf23ed8b8450162abe58da6aa216
281
2019-08-02 14:26:42+02:00
-7,200
['76a2c63bf8f2b77f68d1b4252781450d06981487']
Improve output when installing packages
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,16 +33,14 @@ abstract class ArchiveDownloader extends FileDownloader\n public function install(PackageInterface $package, $path, $output =...
PHP
898ba6f869c49eb86d2d94c3f3719df05b259301
281
2019-08-02 15:53:19+02:00
-7,200
['f7c1b04a6ccbcf23ed8b8450162abe58da6aa216']
Only empty dir before actually installing packages, fixes #7929
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -38,6 +38,8 @@ public function install(PackageInterface $package, $path, $output = true)\n $this->io->writeError('Extracting archive',...
PHP
6a7220fed8b6fa00ad4dd962ac147593b0616131
281
2019-08-02 15:57:44+02:00
-7,200
['898ba6f869c49eb86d2d94c3f3719df05b259301']
Avoid wiping the whole target package if download of the new one fails, refs #7929
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -175,7 +175,9 @@ public function download(PackageInterface $package, $path, $output = true)\n \n $reject = function ($e) use ($io, &$urls, $down...
PHP
9ee345ed29985e4e5b1142bf4442910aab8fa684
281
2019-08-02 16:33:39+02:00
-7,200
['6a7220fed8b6fa00ad4dd962ac147593b0616131']
Make sure the directory exists and will not block installation later when downloading
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -101,6 +101,7 @@ public function download(PackageInterface $package, $path, $output = true)\n );\n }\n \n+ $this->filesystem-...
PHP
675f75c4b47ac4cf2fa9d15c9e4fd14fceed7d1f
281
2019-08-02 16:41:06+02:00
-7,200
['9ee345ed29985e4e5b1142bf4442910aab8fa684']
Remove unnecessary config from phpstan
[{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,7 +16,6 @@ parameters:\n - '~^Anonymous function has an unused use \\$io\\.$~'\n - '~^Anonymous function has an unused use \\$cache\\.$~'\n - '~^Anonymous function has an...
PHP
63da7c6b2d164cf264cfe456780009ea5119d4f9
281
2019-08-02 21:39:42+02:00
-7,200
['203f972ed743bb00b5e3b71fe81146c6742a7566']
Add install-path to the installed.json for every package, fixes #2174, closes #2424
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -618,7 +618,7 @@ protected function doInstall($localRepo, $installedRepo, $platformRepo, $aliases\n }\n \n if ($this->executeOperations || $this->writeLock) {\n...
PHP
bfba228b5a232bcb9e4bb7941f0a0aaa37bab117
281
2019-08-13 17:28:15+02:00
-7,200
['dc964d6515f7e4d609b86ff5b2ba917e2550e783']
Add note about breaking change, fixes #8274
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,6 @@\n ### [1.9.0] 2019-08-02\n \n+ * Breaking: artifact repositories with URLs containing port numbers and requiring authentication now require you to configure http-basic auth for the `host:port` pair ...
PHP
f9fccbab1e5e8b849b3790a9eb0c763835443917
479
2019-08-21 10:07:36+01:00
-3,600
['bfba228b5a232bcb9e4bb7941f0a0aaa37bab117']
GitHub: don't display access token in debug log
[{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -301,7 +301,7 @@ protected function get($originUrl, $fileUrl, $additionalOptions = array(), $file\n \n $actualContextOptions = stream_context_get_option...
PHP
0500e64f8826e73fc3a744c1b01d61f9547d1e1d
199
2019-08-25 17:25:44+02:00
-7,200
['bfba228b5a232bcb9e4bb7941f0a0aaa37bab117']
Respect COMPOSER_NO_INTERATION for search prompt. As described in GH-8289, if no `composer.json` file is found in the current directory, the user is prompted if she wants to use another `composer.json` file from a parent directory even if the `COMPOSER_NO_INTERACTION` environment variable is set. This is fixed here b...
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -113,6 +113,10 @@ public function doRun(InputInterface $input, OutputInterface $output)\n {\n $this->disablePluginsByDefault = $input->hasParameterOptio...
PHP
550c01b471c0deecf95647b7b48e7712623208da
435
2019-08-27 20:53:57+01:00
-3,600
['bfba228b5a232bcb9e4bb7941f0a0aaa37bab117']
Fixes a problem with path based repositories on PHP7.4 where an attempt is made to access null as an array
[{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -155,7 +155,11 @@ protected function initialize()\n \n if (!isset($package['version'])) {\n $versionData = $this->versionGue...
PHP
53d2ab2253c5f73579ea4b845bfd99f28c15a6cf
281
2019-08-29 11:37:23+02:00
-7,200
['4dabc17ec1e55d42d9611271d1728dcf9f79d56a']
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
[{'old_path': 'src/Composer/Downloader/DownloadManager.php', 'new_path': 'src/Composer/Downloader/DownloadManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -167,7 +167,7 @@ public function getDownloaderType(DownloaderInterface $downloader)\n *\n * @param PackageInterface $package packa...
PHP
fd70d9cdc31881ae7441560a205fb5e49f647ee9
281
2019-08-29 12:22:38+02:00
-7,200
['f9fccbab1e5e8b849b3790a9eb0c763835443917']
Stripe access tokens in a more generic way
[{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1128,10 +1128,6 @@ private function stripCredentialsFromUrl($url)\n {\n // GitHub repository rename result in redirect locations containing the acc...
PHP
6fee17f16cefbf7b08dad4bfef69919922a1f9aa
281
2019-08-29 15:09:26+02:00
-7,200
['089fcde6cfec4883e0e16faffdf2a06983222ff7']
Fix tests, refs #8292
[{'old_path': 'tests/Composer/Test/ApplicationTest.php', 'new_path': 'tests/Composer/Test/ApplicationTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -25,7 +25,13 @@ public function testDevWarning()\n $inputMock = $this->getMockBuilder('Symfony\\Component\\Console\\Input\\InputInterface')->getMock()...
PHP
f0d565bb6d354331cadf12712b4f6e8ebbaf51a6
281
2019-08-30 17:52:08+02:00
-7,200
['a403ee9b0e4dbd971334a63dd8a7925d45c68153']
Avoid transforming the origins when prompting for auth, fixes #8300
[{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -193,7 +193,7 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n }\n }\n \n- $this->io->w...
PHP
b09945c3ba7ac28019a1780f4e044a44ad55325f
249
2019-09-02 22:26:35+01:00
-3,600
['f0d565bb6d354331cadf12712b4f6e8ebbaf51a6']
Allow for leading slash in path part of GitHub URLs
[{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,7 +47,7 @@ class GitHubDriver extends VcsDriver\n */\n public function initialize()\n {\n- preg_match('#^(?:(?:https?|git):/...
PHP
f1e4ccbe1dd89e183bd3e063f0c049baa4d9818a
388
2019-09-07 01:58:12+02:00
-7,200
['9053d74282f6684f6511b8f759d8276236bb0929']
Fix handling of reference updates and root references
[{'old_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -62,9 +62,10 @@ protected function calculateOperations()\n // do we need to update?\n if ($p...
PHP
06d11f2f382335c082dfa8bd19c6dc21792f1083
388
2019-09-07 02:33:50+02:00
-7,200
['f1e4ccbe1dd89e183bd3e063f0c049baa4d9818a']
Fix calculation of lock transaction updates and start updating output in tests
[{'old_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,6 +12,8 @@\n \n namespace Composer\\DependencyResolver;\n \n+use Composer\\DependencyResolver\\Operation\\MarkAliasUnins...
PHP
b700aa3d622895a79a7334b751b462c28a72b385
388
2019-09-07 06:05:02+02:00
-7,200
['f5e18250e6500b70c15c1444cac635156b2eae0f']
Sort local repo transaction as topological as possible
[{'old_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -72,8 +72,6 @@ protected function calculateOperations()\n $operations[] = new Operation\\InstallOperation($p...
PHP
4db325b7b463fa8053f05731878b0eab3d989ecb
388
2019-09-07 07:13:34+02:00
-7,200
['b700aa3d622895a79a7334b751b462c28a72b385']
Use the old root stack based approach to sorting operations in the transaction
[{'old_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,28 +15,54 @@\n use Composer\\DependencyResolver\\Operation\\MarkAliasUninstalledOperation;\n use Composer\\DependencyRes...
PHP
c16ab6174e8e394e710df9e18d03f995fb7a2330
388
2019-09-07 07:16:43+02:00
-7,200
['4db325b7b463fa8053f05731878b0eab3d989ecb']
Fix tests: Alias install now always right after origin package, partial update requires lock file
[{'old_path': 'tests/Composer/Test/Fixtures/installer/partial-update-installs-from-lock-even-missing.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/partial-update-installs-from-lock-even-missing.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -98,8 +98,8 @@ update b/b\n }\n --EXPECT--\n Updating a/...
PHP
3e0e5dc1fab534fd0e139208faea32b4a4e4660a
388
2019-09-07 07:17:41+02:00
-7,200
['c16ab6174e8e394e710df9e18d03f995fb7a2330']
Fix test expectation: Install and update operations are now alphabetical
[{'old_path': 'tests/Composer/Test/Fixtures/installer/circular-dependency2.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/circular-dependency2.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,5 +32,5 @@ Circular dependencies are possible between packages\n --RUN--\n update -v\n --EXPECT--\n-Inst...
PHP
a114e26841b5bec32576c7e42cbaa7c1de7040a6
388
2019-09-07 07:43:23+02:00
-7,200
['3e0e5dc1fab534fd0e139208faea32b4a4e4660a']
Correctly load aliases in lockedRepository to fix alias install output
[{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -171,8 +171,19 @@ public function getLockedRepository($withDevReqs = false)\n }\n \n if (isset($lockedPackages[0]['name'])) {\n+ $packageByName = a...
PHP
33ff67abf3fda8d870208fff2ef4cf43698599db
388
2019-09-07 07:53:31+02:00
-7,200
['a114e26841b5bec32576c7e42cbaa7c1de7040a6']
Update tests for new output and for required lock file on partial update
[{'old_path': 'tests/Composer/Test/Fixtures/installer/aliased-priority.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/aliased-priority.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,6 +51,6 @@ install\n Installing a/c (dev-feature-foo feat.f)\n Marking a/c (dev-master feat.f) as installed, ali...
PHP
3989a1b8ee387b4bc38df74933f90c5e211d8cb7
388
2019-09-07 08:52:10+02:00
-7,200
['33ff67abf3fda8d870208fff2ef4cf43698599db']
Restore dev package extraction New approach is to use only the solved set of packages as input and then to resolve with only the non-dev requirements and to mark everything as dev that is not part of the result set, rather than transitioning a temporary local repo state by uninstalling dev packages.
[{'old_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,6 +33,9 @@ class LocalRepoTransaction\n /** @var RepositoryInterface */\n protected $localRepository;\n \n+ /...
PHP
995b4f923e2cf6077abdef1999976e92bb30ac0b
388
2019-09-07 09:32:06+02:00
-7,200
['3989a1b8ee387b4bc38df74933f90c5e211d8cb7']
Fix more tests which were lacking lock files for partial updates, display fix jobs in problems
[{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -137,6 +137,7 @@ public function setNonDevPackages(LockTransaction $extractionResult)\n \n foreach ($packages as $package) {\n...
PHP
91732eee5578d96937c43d70ff5dd16565fcf9f8
285
2019-09-17 15:10:32+01:00
-3,600
['a066dd9e00e0b703fdd97ccd6f562e1fd0559e25']
8330 Correct issue where permission umask of files were not set when archiving in zip format with ZipArchiver
[{'old_path': 'src/Composer/Package/Archiver/ZipArchiver.php', 'new_path': 'src/Composer/Package/Archiver/ZipArchiver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,6 +45,18 @@ public function archive($sources, $target, $format, array $excludes = array(), $\n } else {\n ...
PHP
e3b6c67a449e9375385f596c2ab5cadcafdf1afc
402
2019-09-18 16:05:25+03:00
-10,800
['a066dd9e00e0b703fdd97ccd6f562e1fd0559e25']
Provide `--fixed` option for the `require` command, fixes #8303
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -400,7 +400,7 @@ protected function getRepos()\n return $this->repos;\n }\n \n- protected function determineRequirements(InputInterface $input, Outpu...
PHP
ec96e5de64a9e6da3c837eef5ac23346c2cdbc1e
537
2019-09-20 12:58:09+03:00
-10,800
['a066dd9e00e0b703fdd97ccd6f562e1fd0559e25']
Fix incorrect strip of non-php blocks in the file
[{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -173,7 +173,7 @@ private static function findClasses($path)\n }\n }\n // strip non-php blocks in the file\n- $conte...
PHP
9f6e45051aef9bcb70dbe6c9da14e112c7897cde
537
2019-09-20 16:59:53+03:00
-10,800
['ec96e5de64a9e6da3c837eef5ac23346c2cdbc1e']
Optimize template for striping non-php blocks
[{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -173,7 +173,7 @@ private static function findClasses($path)\n }\n }\n // strip non-php blocks in the file\n- $conte...
PHP
f159eb724a8235a80fcdd84a2ac441b5fcb30bef
537
2019-09-20 17:08:00+03:00
-10,800
['9f6e45051aef9bcb70dbe6c9da14e112c7897cde']
Add test for double gap in php-file
[{'old_path': 'tests/Composer/Test/Autoload/Fixtures/classmap/LargeGap.php', 'new_path': 'tests/Composer/Test/Autoload/Fixtures/classmap/LargeGap.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1385,6 +1385,10 @@ public function a1379() { var_dump(var_dump(null), var_dump(null), var_dump(null\n <?php\n cla...
PHP
9e2485aa4d06b1b78573ac3a546e946bbe2248a7
281
2019-10-06 21:37:16+02:00
-7,200
['34a32c31b4cc46cb4505af87d19957d2f6cab49b']
Make gitlab/bitbucket driver checks case insensitive
[{'old_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -46,7 +46,7 @@ abstract class BitbucketDriver extends VcsDriver\n */\n public function initialize()\n {\n- preg_match('#^h...
PHP
5b4fad9056b01bd17bf241fa794e5dcb4150b7ea
281
2019-10-06 21:39:10+02:00
-7,200
['9e2485aa4d06b1b78573ac3a546e946bbe2248a7']
Update target version for master branch
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -55,7 +55,7 @@\n },\n "extra": {\n "branch-alias": {\n- "dev-master": "1.9-dev"\n+ "dev-master": "1.10-dev"\n }\n },\n "autoload": {\n'}, {'old_path': 'src/...
PHP
0d1d35c346ca2639c8c47bdcc277272c3cf8177e
479
2019-10-07 08:51:53+01:00
-3,600
['34a32c31b4cc46cb4505af87d19957d2f6cab49b']
Debug: display used authentication for http calls
[{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,6 +47,7 @@ class RemoteFilesystem\n private $degradedMode = false;\n private $redirects;\n private $maxRedirects = 20;\n+ private $displayedO...
PHP
146aa4938f25e10831f3d5fe35388739390ba383
360
2019-10-07 18:50:18+02:00
-7,200
['9e2485aa4d06b1b78573ac3a546e946bbe2248a7']
Command::execute() should always return an integer.
[{'old_path': 'src/Composer/Command/AboutCommand.php', 'new_path': 'src/Composer/Command/AboutCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -42,5 +42,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n See https://getcomposer.org/ for more information.</comment>\n EOT\n ...
PHP
18895064ad12bbe165221029f166eff368e4e833
368
2019-10-08 15:46:35+01:00
-3,600
['f753c15664c24d95bb64bd99ddc32cb01d1e32b8']
Check that if the getUrlMatches method returns an empty value which means the path is incorrect
[{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -125,7 +125,13 @@ protected function initialize()\n {\n parent::initialize();\n \n- foreach ($this->getUrlMatches() as $url) {\n+ ...
PHP
e62478ab896115d5014e0f5eba6e571c723b789e
368
2019-10-08 15:48:04+01:00
-3,600
['18895064ad12bbe165221029f166eff368e4e833']
Test to check there is a RuntimeException thrown when a path repository doesn't exist
[{'old_path': 'tests/Composer/Test/Repository/PathRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/PathRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -19,6 +19,24 @@\n \n class PathRepositoryTest extends TestCase\n {\n+\n+ /**\n+ * @expectedException RuntimeException\n+ ...
PHP
e910e06f6333d409e5379f7baa3a80e6cf5680b8
368
2019-10-08 16:02:03+01:00
-3,600
['e62478ab896115d5014e0f5eba6e571c723b789e']
Add details of the path to aid debugging
[{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -128,7 +128,7 @@ protected function initialize()\n $urlMatches = $this->getUrlMatches();\n \n if (empty($urlMatches)) {\n- th...
PHP
daedb4a74fd253b3b30a8c9e5eab50085f8279f9
368
2019-10-08 16:08:11+01:00
-3,600
['e910e06f6333d409e5379f7baa3a80e6cf5680b8']
Remove extra line in method following CS-Fixer
[{'old_path': 'tests/Composer/Test/Repository/PathRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/PathRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -34,7 +34,6 @@ public function testLoadPackageFromFileSystemWithIncorrectPath()\n $repositoryUrl = implode(DIRECTORY_SEPAR...
PHP
a8abdd96392bfc8aa293be98f3c936e58b8e2881
531
2019-10-12 22:22:27+02:00
-7,200
['f753c15664c24d95bb64bd99ddc32cb01d1e32b8']
Hide installed packages from suggestions when package is not found
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -792,7 +792,13 @@ private function findSimilar($package)\n }\n $similarPackages = array();\n \n+ $installedRepo = $this->getComposer()->getRe...
PHP
14b3f09cf8ac049d0cfa91c6dbd834d0caf84f79
350
2019-10-15 00:19:57-03:00
10,800
['f753c15664c24d95bb64bd99ddc32cb01d1e32b8']
added package homepage information to the command 'show'
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -579,6 +579,7 @@ protected function printMeta(CompletePackageInterface $package, array $versions,\n {\n $io = $this->getIO();\n $io->write('<inf...
PHP
20eb9e66cf4b156a8459484e9cc2aa579fcf9052
123
2019-10-15 08:26:19+02:00
-7,200
['82d0b12b1cee50f6b8544c3d8f94caa389541cfe']
Consider replaces when checking package dependents
[{'old_path': 'src/Composer/Repository/BaseRepository.php', 'new_path': 'src/Composer/Repository/BaseRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -67,6 +67,24 @@ public function getDependents($needle, $constraint = null, $invert = false, $rec\n // Replacements are considered valid reas...
PHP
4c8e41d9a922005360bad3889ac3fdcc350c2195
487
2019-10-15 21:32:02-04:00
14,400
['f753c15664c24d95bb64bd99ddc32cb01d1e32b8']
Fix misc phpdoc and strpos arg order nits https://www.php.net/strpos has the signature `strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int` (The needle is usually the constant) `strpos('/', $suggestion)` would only be `false` for `''` and `'/'` So the existing check would just not suggest **anyth...
[{'old_path': 'src/Composer/Command/SuggestsCommand.php', 'new_path': 'src/Composer/Command/SuggestsCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -90,7 +90,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n continue;\n }\n foreach ...
PHP
5f202efa0bcf8f51f13ab073a09b42ebfb6c8f26
123
2019-10-16 13:36:28+02:00
-7,200
['80317eb289fd6993e57af981d7922cd99563146f']
Added comment why source link check is necessary
[{'old_path': 'src/Composer/Repository/BaseRepository.php', 'new_path': 'src/Composer/Repository/BaseRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -68,6 +68,9 @@ public function getDependents($needle, $constraint = null, $invert = false, $rec\n if (!$invert) {\n $links +...
PHP
7c5e5e3ede952486010defdb1a938202788847b6
136
2019-10-19 21:46:29+02:00
-7,200
['f753c15664c24d95bb64bd99ddc32cb01d1e32b8']
Add option to disable the lock file When the `lock` option is set to false, composer will not write a `composer.lock` file to disk. This signals that the package is meant to be developed with unlocked and always updated dependencies. At the moment, both `install` and `update` are allowed to install the dependencies fo...
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -296,4 +296,9 @@ Example:\n Defaults to `true`. If set to `false`, Composer will not create `.htaccess` files\n in the composer home, cache, and data directories.\n \n+## lock\n+\n+Defaults to `true`. If ...
PHP
22caa0f097a873db2abbbc90ce05c284688f0b47
136
2019-10-20 10:51:59+02:00
-7,200
['7c5e5e3ede952486010defdb1a938202788847b6']
Add tests for installer with lock: false https://github.com/composer/composer/issues/8354
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/install-without-lock.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,25 @@\n+--TEST--\n+Installs from composer.json without writing a lock file\n+--COMPOSER--\n+{\n+ "repositories": [\n+ {\n+ "type": "package",\n+...
PHP
c2f1a6b643b09fc5a095e4c75f437370165cf1e5
332
2019-10-21 11:06:12+02:00
-10,800
['82d0b12b1cee50f6b8544c3d8f94caa389541cfe']
Added clear cache for windows, fix tests
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -682,12 +682,14 @@ public function isJunction($junction)\n if (!Platform::isWindows()) {\n return false;\n }\n+\n+ // Important to clear ...
PHP
5687ac7de708aa47f253f4718dba0760689b6597
424
2019-10-21 11:06:38+02:00
-46,800
['f753c15664c24d95bb64bd99ddc32cb01d1e32b8']
Don't necessarily mention Google There's other search engines as well.
[{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -106,7 +106,8 @@ Linux distributions.\n > `mkdir -p /usr/local/bin`.\n \n > **Note:** For information on changing your PATH, please read the\n-> [Wikipedia article](https://en.wikipedia.org/wiki/PATH_(varia...
PHP
8d9b822413c87eed8b7f7bb67285ba9c9c482d19
303
2019-10-21 11:09:17+02:00
-3,600
['c2f1a6b643b09fc5a095e4c75f437370165cf1e5']
Add messages to junction tests to see failures
[{'old_path': 'tests/Composer/Test/Util/FilesystemTest.php', 'new_path': 'tests/Composer/Test/Util/FilesystemTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -300,16 +300,16 @@ public function testJunctions()\n \n // Create and detect junction\n $fs->junction($target, $junction);\n- $...
PHP