Jordi Boggiano
e6c6d25b59
Fix tests
9 years ago
Jordi Boggiano
05fab170a7
Merge branch '1.0'
9 years ago
Jordi Boggiano
f0d67923a5
Fix classmap generator over anonymous classes extending/implementing something, fixes #5239
9 years ago
Jordi Boggiano
ac75680b1e
Make sure the abandoned state is copied over even if the packages are installed already
9 years ago
Jordi Boggiano
8771119374
Merge branch '1.0'
9 years ago
Jordi Boggiano
6ce8477d04
Fix parsing of stabilities with AND/OR ops and no stability flags
9 years ago
Jordi Boggiano
d8c94c2640
Merge remote-tracking branch 'curry684/home-expansion'
9 years ago
Jordi Boggiano
95e0347917
Merge branch '1.0'
9 years ago
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.
9 years ago
Jordi Boggiano
4de17cef6b
Always resolve dev packages even when doing an update with --no-dev, fixes #5016
9 years ago
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
9 years ago
Jordi Boggiano
47ea9d8ddc
Merge branch '1.0'
9 years ago
Jordi Boggiano
c7c8335b8b
Fix updating of dev refs if they are not whitelisted
9 years ago
Jordi Boggiano
de5bfcb4c5
Fix partial updates from a dirty state and apply exactly the locked state, fixes #3468
9 years ago
Jordi Boggiano
aed818fda2
Merge branch '1.0'
9 years ago
Jordi Boggiano
feda2a283f
Improve error reporting some more, fixes #4310
9 years ago
Jordi Boggiano
b10074338c
Fix tests
9 years ago
Jordi Boggiano
e3f957324d
Merge branch '1.0'
9 years ago
Niels Keurentjes
d5158d943f
Exempt custom URLs from secure-http checks, refs #5173
9 years ago
Jordi Boggiano
73139a59bf
Update origin remote URL when package URL changed and origin still uses the same url as the composer remote, fixes #3874
9 years ago
Jordi Boggiano
1a334b0f6f
Merge branch '1.0'
9 years ago
Jordi Boggiano
6d20146d08
Normalize URL updates to point to the correct reference and always update URLs consistently, fixes #3849 , fixes #4126
9 years ago
Jordi Boggiano
76350676b5
Warn on exact/overly strict constraints, fixes #2746
9 years ago
Jordi Boggiano
4f6693ad70
Fix regression in 0b44662087
, fixes #5199
9 years ago
Jordi Boggiano
0b44662087
Disable static autoloader on HHVM, fixes #5192
9 years ago
Niels Keurentjes
c9534d48c1
Made env variable parsing in path replacements generic across platforms and replaced old config.php implementation.
9 years ago
Niels Keurentjes
f5422a441d
Fixed Windows path separators and updated docs.
9 years ago
Niels Keurentjes
7e71b2bfbc
Added support for expanding environment variables in paths, and tilde expansion on Windows.
9 years ago
Jordi Boggiano
4f0f8779cb
Add filesystem tests for the static shortest path, refs #5174
9 years ago
Jordi Boggiano
1dc65a40d3
Fix tests, refs #5174
9 years ago
Jordi Boggiano
d20d856aa8
Merge remote-tracking branch 'nicolas-grekas/php7-static'
9 years ago
Nicolas Grekas
fd2f51cea8
Speedup autoloading on PHP 5.6 & 7.0+ using static arrays
9 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
9 years ago
Jordi Boggiano
ad5951218b
Also trim trailing slashes in PathRepo, refs #5164
9 years ago
Jordi Boggiano
eb84ca564f
Use unique cache dir for integration tests as well
9 years ago
Jordi Boggiano
1bd9c8da3c
More ruletest fixes for 7.1
9 years ago
Jordi Boggiano
c74e6df65d
Fix strings being passed to an int arg, fixes 7.1 build
9 years ago
Jordi Boggiano
870dcece1f
Merge pull request #5120 from Seldaek/improve-errors
...
Improve solver error reporting
9 years ago
Jordi Boggiano
2c9326bacb
Merge remote-tracking branch 'wenkepaul/master'
9 years ago
Jordi Boggiano
23af589076
Add test case for solver problem improvements
9 years ago
Jordi Boggiano
e8b1a5f357
Merge pull request #5126 from DavidPrevot/equals
...
Fix method name
9 years ago
David Prévot
933a8e1d09
Fix method name
...
It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
9 years ago
Jeremy Benoist
e9fc0e6548
Re-install binaries on update/install
...
Binaries are re-installed after an update/install (ie: removed and then installed)
9 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
9 years ago
Jordi Boggiano
5f9d4a81a0
Merge remote-tracking branch 'curry684/moar-logging'
9 years ago
Jordi Boggiano
6527bb4166
Merge pull request #5100 from helhum/master
...
Extract binary installation and removal to own class
9 years ago
Niels Keurentjes
8e78ce9a43
Add extra logging before and after SAT solving
9 years ago
Jordi Boggiano
edebbef98a
Add test and fix for very large repos, moar possessive quantifiers, fixes #5104
9 years ago
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.
9 years ago
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.
9 years ago
Jordi Boggiano
55b0ed8c8b
Change installs into updates if there is no lock file, simplify some code, fixes #5034
9 years ago
Rob Bast
dfdcfab822
simplified existing test, added a new test
9 years ago
Paul.Wenke
b4d9d0fd0d
Added BitbucketTest class. Added is_array and is_object check to http content before calling http_build_query.
9 years ago
Haralan Dobrev
cc389d6c1a
List project suggestions in create-project command
...
Resolves https://github.com/composer/composer/issues/2752
9 years ago
Jordi Boggiano
76450cc2a1
Merge pull request #4989 from naderman/t/fix-self-reference-transaction-root
...
Ignore self references when anlaysing independent root requirements
9 years ago
Jordi Boggiano
b93b73e836
Rewrite git unpushed status checks, fixes #4987
9 years ago
Nils Adermann
4af74b54e0
Ignore self references when anlaysing independent root requirements
...
When creating a transaction we try to identify all requirements that are
not themselves required by any other package. If a package references
itself this should not mark it as being required by another package.
9 years ago
Jordi Boggiano
fea99bcb1b
Clarify the fetch/push URL selection for github repos and various protocols, fix regression
9 years ago
Jordi Boggiano
b080a73840
Fix broken test on windows, fixes #4973
9 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
9 years ago
Jordi Boggiano
c29f20964e
Damn git
9 years ago
Jordi Boggiano
4b0624a93a
Fix regression in create-project
9 years ago
Jordi Boggiano
e745b37935
Fix tests
9 years ago
Jordi Boggiano
d24ea66892
Merge remote-tracking branch 'fduch/console-select-support'
9 years ago
Jordi Boggiano
0ed5b541a9
Fix CS
9 years ago
Jordi Boggiano
7b404c4717
Add failing test for #3990
9 years ago
Jordi Boggiano
f2e2dd8f86
Merge pull request #4972 from curry684/code-quality
...
Code quality
9 years ago
Niels Keurentjes
a409e158b8
Disabled unit test breaking on some platforms. Ref #4973
9 years ago
Niels Keurentjes
3a66d1b9bb
Fixed unit test explicitly depending on erroneous method invocation.
9 years ago
Jordi Boggiano
2f638c7d96
Fix test
9 years ago
Jordi Boggiano
be4d385942
Fix uncommitted change detection, refs #3633
9 years ago
Jordi Boggiano
9f4f8a9578
Merge remote-tracking branch 'greg0ire/improve-status-for-unpushed-branches'
9 years ago
Jordi Boggiano
06be9b88c2
Merge remote-tracking branch 'slbmeh/feature/gh-2787'
9 years ago
Jordi Boggiano
2dcd76aa43
Fix test suite
9 years ago
Jordi Boggiano
bad80878bc
Merge remote-tracking branch 'sashman/master'
9 years ago
Jordi Boggiano
406e087a46
Stop running PEAR Repo test suite as it fails and is kinda irrelevant at this point
9 years ago
Rob Bast
a245c4618b
php-cs-fixer
9 years ago
Rob Bast
dc2f201152
add trailing / and updated diagnose command
9 years ago
Rob Bast
4d975c49aa
fix mocks
9 years ago
Franz Liedke
f47c2c9ed7
Add test case for RepositoryManager::prependRepository method
9 years ago
Sash
582e361a88
Fixing array accessing
9 years ago
Sash
f6899e5c38
#4828 Using version guesser to pull out the commit has for git repositories. The return value is now an array with version and commit values.
9 years ago
Jordi Boggiano
8a2d1a2ee2
Make artifact paths in lock file cross-platform, fixes #3832
9 years ago
Magnus Nordlander
4689d836fe
Fixed (and added a test for) a regression introduced in a77e2fb
, which causes package Git package updates to fail when the package has two or more URLs and the last URL is the only one that actually works.
9 years ago
Rob Bast
4600deac68
fix #4925
9 years ago
Niels Keurentjes
aa6b2e5b63
Modernized unit test still depending on age old BC code.
9 years ago
Jordi Boggiano
d6d0435c54
Merge pull request #4845 from curry684/pull-4690
...
Implement junctioning on Windows for path repositories
9 years ago
Remi Collet
ae5de98db1
make this test more robust, not relying on result order which may vary
9 years ago
Jordi Boggiano
dc695ec78d
Fix tests
9 years ago
Niels Keurentjes
017a9af672
Merge branch 'master' of https://github.com/composer/composer into pull-4690
9 years ago
Jordi Boggiano
9a57de574d
Merge pull request #4886 from curry684/issue-4885
...
Ensure exception is thrown when classmaps are requested for corrupted files
9 years ago
Jordi Boggiano
7e17fec3b8
Merge pull request #2585 from jaypea/ziparchiver
...
added ZipArchiver to actually compress zip files
9 years ago
Niels Keurentjes
0b55a0ca91
Can't use error_clear_last as it was introduced in PHP7.
9 years ago
Rob Bast
5db0f623b0
enable test again
9 years ago
Rob Bast
baa84d9be1
adjust test and assertion to be more flexible
9 years ago
Rob Bast
baabc612f6
adjust message, skip test
...
currently we have no way to put dynamic values or wildcards in EXPECT-OUTPUT
9 years ago
Rob Bast
94daeca57b
add test and adjust rule error message
9 years ago
Niels Keurentjes
582e4796a3
Merge branch 'master' of https://github.com/composer/composer into pull-4690
9 years ago
Rob Bast
df23153932
fix output
9 years ago
Rob Bast
be5719eb53
Merge remote-tracking branch 'upstream/master' into repro-4795
...
* upstream/master: (98 commits)
Fallback to zlib extension to unpack gzip on non Windows systems
Zip extension does not provide zlib support
Unified all Windows tests throughout the code.
Added Platform utility and unit test for it.
Remove warnings for non-writable dirs, refs #3588
[doc] add -H flag to sudo commands
use full json content to determine reference, closes #4859
typos
Make sure COMPOSER_AUTH is also loaded in Config, refs #4546
Use proper defaults for IO authentications
Add verbosity input support to IOInterface
Update SolverTest.php
Update broken-deps-do-not-replace.test
Update SolverProblemsException.php
Cleaned up check+conversion that was no longer required.
Cleaner notation for expected exceptions in fixtures.
Introduced more generic, less invasive way to test for exceptions in fixtures, more in line with how phpunit works.
Included unit test for circular root dependencies.
Expanded InstallerTest to support expecting Exceptions by supplying "EXCEPTION" as "--EXPECT--"
Clarified error message and added braces.
...
9 years ago