johnstevenson
586eb3bb41
Restart with xdebug disabled
2016-08-08 18:30:56 +01:00
Vyacheslav Pavlov
108560b9c4
Clean up temp files after a test.
2016-07-21 16:37:26 +03:00
Vyacheslav Pavlov
03995d6caa
Added test for 'dump' method of ClassMapGenerator class
2016-07-20 23:33:37 +03:00
Jordi Boggiano
066550054b
Fix tests
2016-07-12 17:12:50 +01:00
Jordi Boggiano
334d0cce6b
Make sure we do not clone from local mirror if mirroring failed
2016-07-02 23:52:10 +01:00
Jordi Boggiano
8ffe224c0d
Merge remote-tracking branch 'stefangr/fix_minor_bitbucket_oauth_issues'
2016-07-02 17:43:07 +01:00
Jordi Boggiano
4998ee27b3
Re-use mirror code from the git driver, refs #5384
2016-07-02 17:20:51 +01:00
Jordi Boggiano
55e90093a4
Merge remote-tracking branch 'marvil07/faster-git-clones-using-cache'
2016-07-02 16:43:19 +01:00
Jordi Boggiano
59596ff012
Make sure we do not overwrite binaries but only re-create missing ones, refs #5127
2016-07-02 16:35:09 +01:00
Jordi Boggiano
88d5b74c74
Merge remote-tracking branch 'j0k3r/re-install-binaries'
2016-07-02 16:15:33 +01:00
Stefan Grootscholten
9b00713a67
Update unit test for Bitbucket util
2016-07-02 17:03:01 +02:00
bohwaz
be013e5572
Fossil VCS tests
2016-06-25 13:09:49 +12:00
Jordi Boggiano
894b53c115
Merge pull request #5454 from pierredup/type-search
...
Added type option to search
2016-06-21 17:03:13 +02:00
Pierre du Plessis
6a557e45b8
Added --type option to search
2016-06-21 16:38:52 +02:00
Jordi Boggiano
39c2c8c30a
Add test for password escaping
2016-06-21 11:01:09 +01:00
Marco Villegas
869b3ef954
New test to check git download behavior with cache.
2016-06-18 19:39:09 -05:00
Marco Villegas
cb6cfa9635
Isolate config setup to make it reusable at GitDownloaderTest.
2016-06-18 19:39:09 -05:00
Stefan Grootscholten
78fcb5a366
Add support section to composer data for bitbucket repositories.
2016-06-17 17:35:43 +02:00
Stefan Grootscholten
ccfd9018b8
Add unit tests for the GitBitbucketDriver class.
2016-06-11 17:33:58 +02:00
Stefan Grootscholten
2d52531365
Add unit tests for the Bitbucket class.
2016-06-11 17:33:58 +02:00
Jordi Boggiano
73d9a4717d
Update list of ciphers /cc @cs278
2016-06-11 11:19:58 +01:00
Michele Locati
097003b5bb
Add test case for strict types declaration
2016-06-01 10:00:37 +02:00
Marco Villegas
b5c55d5167
Adjust GitDownloaderTest to include for the new getVersion() method in Git.
2016-05-30 11:58:25 -05:00
Luis Faceira
1d733ba21a
GitDownloaderTest uses temp dir as composer home config
...
When creating a DownloaderMock a home config dir is
ensured to exist, so that no test fails for lack of it
that on a regular run would be set by the Factory
2016-05-29 12:36:19 -05:00
Jordi Boggiano
57ae6d97b6
Merge branch '1.1'
2016-05-17 12:06:36 +01:00
ReenExe
53fc30fe56
clear code
2016-05-17 13:34:54 +03:00
Andreas Möller
a3b49ae44f
Enhancement: Assert that no warning is issued when using exact version constraint for unstable package
2016-05-17 09:25:04 +02:00
Tomáš Markacz
c30dd16e32
add missing validation for rss chanel section in composer schema
2016-05-16 23:24:00 +02:00
Lucas CHERIFI
7e34d9ab97
Typo fix ;-)
2016-05-10 21:45:39 +02:00
Jordi Boggiano
13f4d2afd3
Fix #refs handling, fixes #5291
2016-05-10 17:19:09 +01:00
Jordi Boggiano
72362a085a
Fix #refs handling, fixes #5291
2016-05-10 17:17:08 +01:00
Jordi Boggiano
ed0a5ff2a6
Merge branch '1.1'
2016-05-08 17:36:17 +01:00
Hiraku NAKANO
8501bb71e2
Drop dependency on http://www.example.com
2016-05-08 17:36:10 +01:00
Jordi Boggiano
1aa31caec5
Clean up ApplicationTest
2016-05-06 00:33:19 +01:00
Jordi Boggiano
cc793eff6f
Clean up ApplicationTest
2016-05-06 00:28:45 +01:00
Jordi Boggiano
b8974a3e13
Merge branch '1.1'
2016-05-05 14:10:14 +01:00
Jordi Boggiano
591cbcee12
Avoiding defining plugin commands using the local project plugins, refs #5277
2016-05-05 14:10:06 +01:00
Bilal Amarni
92207da83a
add isProxyCommand() to BaseCommand
2016-05-05 13:56:44 +01:00
Jordi Boggiano
d5ed45c3c7
Fix test
2016-05-05 13:37:01 +01:00
Jordi Boggiano
6146f7aded
Take into account prefer-stable and dev packages when computing outdated, refs #5251
2016-04-28 22:38:38 +01:00
Jordi Boggiano
b9bd021516
Fix test suite on <7
2016-04-28 21:19:26 +01:00
Jordi Boggiano
ba909d8795
Avoid duplicate commands, and pass plugin to ctor args for capabilities, refs #3377
2016-04-28 21:12:26 +01:00
Jordi Boggiano
090295dbcb
Adjust the CommandProvider to use plugin capabilities and test actual command creation, refs #3377
2016-04-28 20:37:54 +01:00
Jordi Boggiano
a9df4acd7d
Merge remote-tracking branch 'jderusse/plugin-with-commands'
2016-04-28 20:11:33 +01:00
Jordi Boggiano
135783299a
Add support for editing top level properties and extra values, replaces #2415 , fixes #1411 , fixes #2384
2016-04-27 14:04:01 +01:00
Jordi Boggiano
5c9c910240
Target error capture more specifically
2016-04-24 15:55:55 +01:00
Jordi Boggiano
e6c6d25b59
Fix tests
2016-04-24 15:55:03 +01:00
Jordi Boggiano
05fab170a7
Merge branch '1.0'
2016-04-24 14:41:02 +01:00
Jordi Boggiano
f0d67923a5
Fix classmap generator over anonymous classes extending/implementing something, fixes #5239
2016-04-24 14:40:51 +01:00
Jordi Boggiano
ac75680b1e
Make sure the abandoned state is copied over even if the packages are installed already
2016-04-22 23:41:15 +01:00
Jordi Boggiano
8771119374
Merge branch '1.0'
2016-04-22 23:00:13 +01:00
Jordi Boggiano
6ce8477d04
Fix parsing of stabilities with AND/OR ops and no stability flags
2016-04-22 22:59:55 +01:00
Jordi Boggiano
d8c94c2640
Merge remote-tracking branch 'curry684/home-expansion'
2016-04-22 20:37:05 +01:00
Jordi Boggiano
95e0347917
Merge branch '1.0'
2016-04-21 12:40:42 +01:00
Daniel Iancu
3bdb0ee5fd
Fix addMainKey method of JsonManipulator with content having $n
...
This will store correctly passwords having a dolloar sign followed by a digit in the auth.json file.
If the content variable has "$n" (where n consists of digits) it will match as a replacement reference for preg_replace and thus it will get stripped because there's no such parenthesized pattern.
2016-04-20 22:34:39 +03:00
Jordi Boggiano
4de17cef6b
Always resolve dev packages even when doing an update with --no-dev, fixes #5016
2016-04-20 12:34:04 +01:00
Jordi Boggiano
11daebcb3a
Merge pull request #5210 from Seldaek/fix_partial_updates_from_dirty_state
...
Fix partial updates from a dirty state and apply exactly the locked state
2016-04-19 20:07:52 +01:00
Jordi Boggiano
47ea9d8ddc
Merge branch '1.0'
2016-04-19 20:04:19 +01:00
Jordi Boggiano
c7c8335b8b
Fix updating of dev refs if they are not whitelisted
2016-04-19 20:03:14 +01:00
Jordi Boggiano
de5bfcb4c5
Fix partial updates from a dirty state and apply exactly the locked state, fixes #3468
2016-04-18 23:33:04 +01:00
Jordi Boggiano
aed818fda2
Merge branch '1.0'
2016-04-18 23:31:56 +01:00
Jordi Boggiano
feda2a283f
Improve error reporting some more, fixes #4310
2016-04-18 23:03:00 +01:00
Jordi Boggiano
b10074338c
Fix tests
2016-04-18 22:17:04 +01:00
Jordi Boggiano
e3f957324d
Merge branch '1.0'
2016-04-18 10:23:42 +01:00
Niels Keurentjes
d5158d943f
Exempt custom URLs from secure-http checks, refs #5173
2016-04-18 10:23:10 +01:00
Jordi Boggiano
73139a59bf
Update origin remote URL when package URL changed and origin still uses the same url as the composer remote, fixes #3874
2016-04-18 10:10:12 +01:00
Jordi Boggiano
1a334b0f6f
Merge branch '1.0'
2016-04-18 09:35:26 +01:00
Jordi Boggiano
6d20146d08
Normalize URL updates to point to the correct reference and always update URLs consistently, fixes #3849 , fixes #4126
2016-04-18 09:34:23 +01:00
Jordi Boggiano
76350676b5
Warn on exact/overly strict constraints, fixes #2746
2016-04-15 16:37:47 +01:00
Jordi Boggiano
4f6693ad70
Fix regression in 0b44662087
, fixes #5199
2016-04-15 15:37:00 +01:00
Jordi Boggiano
0b44662087
Disable static autoloader on HHVM, fixes #5192
2016-04-15 14:57:07 +01:00
Niels Keurentjes
c9534d48c1
Made env variable parsing in path replacements generic across platforms and replaced old config.php implementation.
2016-04-13 02:02:50 +02:00
Niels Keurentjes
f5422a441d
Fixed Windows path separators and updated docs.
2016-04-12 23:51:28 +02:00
Niels Keurentjes
7e71b2bfbc
Added support for expanding environment variables in paths, and tilde expansion on Windows.
2016-04-12 23:07:58 +02:00
Jordi Boggiano
4f0f8779cb
Add filesystem tests for the static shortest path, refs #5174
2016-04-11 19:36:39 +01:00
Jordi Boggiano
1dc65a40d3
Fix tests, refs #5174
2016-04-11 19:24:19 +01:00
Jordi Boggiano
d20d856aa8
Merge remote-tracking branch 'nicolas-grekas/php7-static'
2016-04-11 19:18:22 +01:00
Nicolas Grekas
fd2f51cea8
Speedup autoloading on PHP 5.6 & 7.0+ using static arrays
2016-04-11 19:38:24 +02:00
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
2016-04-11 15:06:57 +01:00
Jordi Boggiano
ad5951218b
Also trim trailing slashes in PathRepo, refs #5164
2016-04-11 13:11:46 +01:00
Jordi Boggiano
eb84ca564f
Use unique cache dir for integration tests as well
2016-04-01 12:07:42 +01:00
Jordi Boggiano
1bd9c8da3c
More ruletest fixes for 7.1
2016-04-01 11:58:42 +01:00
Jordi Boggiano
c74e6df65d
Fix strings being passed to an int arg, fixes 7.1 build
2016-04-01 11:52:19 +01:00
Jordi Boggiano
870dcece1f
Merge pull request #5120 from Seldaek/improve-errors
...
Improve solver error reporting
2016-04-01 12:34:40 +02:00
Jordi Boggiano
2c9326bacb
Merge remote-tracking branch 'wenkepaul/master'
2016-04-01 00:59:11 +01:00
Jordi Boggiano
23af589076
Add test case for solver problem improvements
2016-04-01 00:38:00 +01:00
Jordi Boggiano
e8b1a5f357
Merge pull request #5126 from DavidPrevot/equals
...
Fix method name
2016-03-29 09:53:57 +02:00
David Prévot
933a8e1d09
Fix method name
...
It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
2016-03-28 23:37:19 -04:00
Jeremy Benoist
e9fc0e6548
Re-install binaries on update/install
...
Binaries are re-installed after an update/install (ie: removed and then installed)
2016-03-28 23:15:13 +02:00
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
2016-03-28 22:01:32 +02:00
Jordi Boggiano
5f9d4a81a0
Merge remote-tracking branch 'curry684/moar-logging'
2016-03-26 08:49:14 +00:00
Jordi Boggiano
6527bb4166
Merge pull request #5100 from helhum/master
...
Extract binary installation and removal to own class
2016-03-26 09:39:51 +01:00
Niels Keurentjes
8e78ce9a43
Add extra logging before and after SAT solving
2016-03-24 23:19:40 +01:00
Jordi Boggiano
edebbef98a
Add test and fix for very large repos, moar possessive quantifiers, fixes #5104
2016-03-24 16:04:52 +00:00
Helmut Hummel
b1ec99faed
Extract binary installation and removal to own class
...
The functionality to install binaries might be useful
for other installers.
Create API for that by extracting this functionality from
the LibraryInstaller class.
2016-03-23 21:39:58 +01:00
Paul Wenke
9059d70ba0
Corrected username / access token parameters for $this->io->setAuthentication when read from git config. Grant type is now only set when requesting an access token. Removed bitbucket-domains and bitbucket-protocols from config. Fixed bitbucket typo in JsonConfigSource. Removed unecessary comments. Changed visibility of Composer/Util/Bitbucket properties to private. Added https to bitbucket url. Removed unused $note variable.
2016-03-20 15:56:58 -04:00
Jordi Boggiano
55b0ed8c8b
Change installs into updates if there is no lock file, simplify some code, fixes #5034
2016-03-15 14:05:07 +00:00
Rob Bast
dfdcfab822
simplified existing test, added a new test
2016-03-15 11:11:18 +01:00
Paul.Wenke
b4d9d0fd0d
Added BitbucketTest class. Added is_array and is_object check to http content before calling http_build_query.
2016-03-13 21:33:13 -04:00
Haralan Dobrev
cc389d6c1a
List project suggestions in create-project command
...
Resolves https://github.com/composer/composer/issues/2752
2016-03-05 14:22:12 +02:00