1760 Commits (2a13bb2649151932407aae1a37a356179b1f5199)

Author SHA1 Message Date
johnstevenson c1058cf37c Fix XdebugHandler test 8 years ago
johnstevenson 379fb70ad9 Use random name for tmp ini and delete after use
Thanks to Patrick Rose for reporting this issue.
8 years ago
Jordi Boggiano 8ad6385ffb Merge remote-tracking branch 'fabpot/more-debug' 8 years ago
Jordi Boggiano 43903a3979 Merge branch '1.2' 8 years ago
Jordi Boggiano 98a599d6c3 Merge pull request #5843 from stof/enforce_map_types
Enhance the json schema with validation for map objects
8 years ago
Jordi Boggiano 9801d831ed Merge pull request #5852 from fabpot/io-fix
Remove usage of echo when executing Composer script
8 years ago
Jordi Boggiano d6499b7c4a Merge pull request #5748 from kassner/hgdriver-bitbucket
HgDriver does not identify bitbucket mercurial repos correctly
8 years ago
Fabien Potencier 103624d4ed Remove usage of echo when executing Composer script 8 years ago
Christophe Coevoet 1882f9a502 Enhance the json schema with validation for map objects 8 years ago
Jordi Boggiano 208086d8e3 Merge remote-tracking branch 'channelgrabber/GitSpeedIncrease' 8 years ago
Jordi Boggiano adee0ff132 Fix tests 8 years ago
Jordi Boggiano e38ebefc7e Update packagist default repo to be packagist.org 8 years ago
Fabien Potencier 57ec0d1815 added more information in the output 8 years ago
Richard Heelin c2f6c61f56 Updated the tests to match the new command that is executed 8 years ago
Jordi Boggiano d9328ed5ae Merge pull request #5753 from alcohol/use-rfc3339-in-arraydumper
bring arraydumper in line with json schema spec and packagist
8 years ago
Konstantin.Myakshin dc70b40d34 Use implode instead of join 8 years ago
Jordi Boggiano d1867d5859 Merge branch '1.2' 8 years ago
Jordi Boggiano 5ee22f25ba Rework JSON matching to use a properly recursive pattern, fixes #5771 8 years ago
Jordi Boggiano 092dec9596 Add failing test for #5771 8 years ago
Jordi Boggiano 183398fe5e Merge pull request #5717 from berlinger-rarents/fix/5584_anon_redirect_bitbucket
prevent (prompt for) bitbucket auth when it redirected
8 years ago
Jordi Boggiano c540dace8c Merge pull request #5765 from fabpot/remove-obsolete-code
removed obsolete code
8 years ago
Jordi Boggiano 4cd6eabdba Merge branch '1.2' 8 years ago
Fabien Potencier 2853e82400 removed obsolete code 8 years ago
Christophe Coevoet d5810c8a36 Fix namespace for tests for consistency 8 years ago
Rob Bast a45ae5f585
fix test 8 years ago
Rafael Kassner 34ec5fba58 Code review fixes 8 years ago
Rafael Kassner 44634a689d HgDriver does not identify bitbucket mercurial repos correctly 8 years ago
Yanick Witschi 4a769a785c Reduce calls on Rule::getHash() 8 years ago
Roel Arents d338a95174 use seldaek's bitbucket repo for unit tests instead of 3rd party 8 years ago
Jordi Boggiano 117e09ca48 Merge pull request #5728 from alcohol/pool-priority-matters
add a test that asserts pool priority matters
8 years ago
berlinger-rarents 8845ea467a try bitbucket downloads first time without auth
also add tests for #5584
8 years ago
Rob Bast 9cbcda9ae6
add test that asserts pool priority matters
also switch assertEquals for assertSame
8 years ago
Rob Bast 9f2bd34c87
test copied from #5724 8 years ago
Rob Bast b4fd19aae4
add test exposing the problem 8 years ago
Jordi Boggiano 048a801fce Merge pull request #5698 from johnstevenson/restart2
Simplify XDebugHandler restart process
8 years ago
johnstevenson e9a97004c5 Simplify XdebugHandler restart process 8 years ago
Rob Bast 4213fbc8c6
does not apply for hhvm 8 years ago
Rob Bast 181b172e77
test cases for #5701 8 years ago
Rob Bast 1cf4ecd648 remove env variable after test assertion 8 years ago
Fabien Potencier e83f7c2929 Fix process timeout when set to 0 8 years ago
Rob Bast 2ef9cde060
remove env variable after test assertion 8 years ago
Fabien Potencier 2c77fd6801 Fix process timeout when set to 0 8 years ago
Jordi Boggiano 68861c48ed Merge branch '1.2' 8 years ago
SpacePossum 2ae0800cd3 Remove useless concat. 8 years ago
Jordi Boggiano 20ee689bb4 Upgrade json-schema to allow v3 and upgrade other deps 8 years ago
Jordi Boggiano 2ffa1148a9 Merge branch '1.2' 8 years ago
Den Girnyk 41eb297248 Add tests 8 years ago
Jordi Boggiano 285c4a1ac6 Merge branch '1.2' 8 years ago
Jordi Boggiano ff7daf0bd4 Fix handling of paths on windows when cwd is root of drive, fixes #5554 8 years ago
Jordi Boggiano f0f932fca4 Fix classmap test on windows 8 years ago
Jordi Boggiano f63f1ff95f Merge remote-tracking branch 'davidolrik/master' 8 years ago
Jordi Boggiano 70ccac6ba2 Merge pull request #5532 from zomberg/class_map_generator_test
Added test for 'dump' method of ClassMapGenerator class
8 years ago
Jordi Boggiano 994211523c Merge remote-tracking branch 'johnstevenson/restart' 8 years ago
Jordi Boggiano 6ec8b2bfd6 Update locker tests 8 years ago
Jordi Boggiano 788f32ac93 Allow running test suite with osx tar, fixes #5662 8 years ago
johnstevenson 0256f62b3b Fix and rationalize tests 8 years ago
johnstevenson 589b1d6fa2 Fix hhvm not running tests in a separate process 8 years ago
johnstevenson 896d1d71f8 Use ConsoleOutput to determine color support 8 years ago
johnstevenson e381abeec0 Simplify argv handling 8 years ago
Jordi Boggiano 3e010fc332 Merge pull request #5591 from ianlet/master
Use https url of the repository instead of ssh given gitlab project is public
8 years ago
Matthew "Juniper" Barlett ac41bb0615 Fix for issue #5631
- Add " ( and ) as valid characters in author name
- Add relavent unit tests
8 years ago
Jordi Boggiano edddae42db Revert default change from #5603 8 years ago
John Whitley 4479b8a690 Squashed commit of the following:
commit 3994b556dcffcde7b1801c8bc712f3127e8f8e7c
Author: John Whitley <john.whitley@berea.eu>
Date:   Tue Aug 16 09:02:53 2016 +0100

    https://github.com/composer/composer/issues/5600

    This alters the default flag for loadOptions in
    \Composer\Package\Loader\ArrayLoader to true; and alters the assumption
    of the test to reflect this change.

    **Rationale**

    The `\Composer\Package\Loader\ArrayLoader` test (defined in
    tests/Composer/Test/Package/Loader/ArrayLoaderTest.php) assumed that a
    new `\Composer\Package\Loader\ArrayLoader` instance would be always
    created with the optional flag loadOptions set to true.

    ```php
    $this->loader = new \Composer\Package\Loader\ArrayLoader(null, true);
    ```

    This change alters the general case to reflect the default assumption as
    defined in the test.

commit b75fc4ad7238bc50f724bd29446ccbc33e82c34c
Author: John Whitley <john.whitley@berea.eu>
Date:   Mon Aug 15 16:55:27 2016 +0100

    Altered the test for ArrayLoader to use the default loadConfig flag, and to test the true and false states for the loadConfig flag
8 years ago
David Jack Wange Olrik 2c84be47c2 Add support for seamless execution of local binaries
Projects that add binaries to `vendor-bin` can now execute those via the same command as projects that consume them without installing them first.

In list overview local commands have a `(local)` tag to distinguish them from commands installed in `vendor-bin`.

Local binaries take precedence over `vendor-bin` which takes precedence over binaries in path.
8 years ago
Jad Bitar 8625efd551 Fix support for testing exit code
The `$sectionData` was being overwritten, causing its assertion 
(`$this->assertSame()`) to fail.
8 years ago
ianlet 5874132857 return https url of the repository given gitlab project is public 8 years ago
johnstevenson 586eb3bb41 Restart with xdebug disabled 8 years ago
Vyacheslav Pavlov 108560b9c4 Clean up temp files after a test. 8 years ago
Vyacheslav Pavlov 03995d6caa Added test for 'dump' method of ClassMapGenerator class 8 years ago
Jordi Boggiano 066550054b Fix tests 8 years ago
Jordi Boggiano 334d0cce6b Make sure we do not clone from local mirror if mirroring failed 8 years ago
Jordi Boggiano 8ffe224c0d Merge remote-tracking branch 'stefangr/fix_minor_bitbucket_oauth_issues' 8 years ago
Jordi Boggiano 4998ee27b3 Re-use mirror code from the git driver, refs #5384 8 years ago
Jordi Boggiano 55e90093a4 Merge remote-tracking branch 'marvil07/faster-git-clones-using-cache' 8 years ago
Jordi Boggiano 59596ff012 Make sure we do not overwrite binaries but only re-create missing ones, refs #5127 8 years ago
Jordi Boggiano 88d5b74c74 Merge remote-tracking branch 'j0k3r/re-install-binaries' 8 years ago
Stefan Grootscholten 9b00713a67 Update unit test for Bitbucket util 8 years ago
bohwaz be013e5572 Fossil VCS tests 8 years ago
Jordi Boggiano 894b53c115 Merge pull request #5454 from pierredup/type-search
Added type option to search
8 years ago
Pierre du Plessis 6a557e45b8 Added --type option to search 8 years ago
Jordi Boggiano 39c2c8c30a Add test for password escaping 8 years ago
Marco Villegas 869b3ef954 New test to check git download behavior with cache. 8 years ago
Marco Villegas cb6cfa9635 Isolate config setup to make it reusable at GitDownloaderTest. 8 years ago
Stefan Grootscholten 78fcb5a366 Add support section to composer data for bitbucket repositories. 8 years ago
Stefan Grootscholten ccfd9018b8 Add unit tests for the GitBitbucketDriver class. 8 years ago
Stefan Grootscholten 2d52531365 Add unit tests for the Bitbucket class. 8 years ago
Jordi Boggiano 73d9a4717d Update list of ciphers /cc @cs278 8 years ago
Michele Locati 097003b5bb
Add test case for strict types declaration 8 years ago
Marco Villegas b5c55d5167 Adjust GitDownloaderTest to include for the new getVersion() method in Git. 8 years ago
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
8 years ago
Jordi Boggiano 57ae6d97b6 Merge branch '1.1' 8 years ago
ReenExe 53fc30fe56 clear code 8 years ago
Andreas Möller a3b49ae44f
Enhancement: Assert that no warning is issued when using exact version constraint for unstable package 8 years ago
Tomáš Markacz c30dd16e32 add missing validation for rss chanel section in composer schema 8 years ago
Lucas CHERIFI 7e34d9ab97 Typo fix ;-) 8 years ago
Jordi Boggiano 13f4d2afd3 Fix #refs handling, fixes #5291 8 years ago
Jordi Boggiano 72362a085a Fix #refs handling, fixes #5291 8 years ago
Jordi Boggiano ed0a5ff2a6 Merge branch '1.1' 8 years ago
Hiraku NAKANO 8501bb71e2 Drop dependency on http://www.example.com 8 years ago
Jordi Boggiano 1aa31caec5 Clean up ApplicationTest 8 years ago
Jordi Boggiano cc793eff6f Clean up ApplicationTest 8 years ago
Jordi Boggiano b8974a3e13 Merge branch '1.1' 8 years ago
Jordi Boggiano 591cbcee12 Avoiding defining plugin commands using the local project plugins, refs #5277 8 years ago
Bilal Amarni 92207da83a add isProxyCommand() to BaseCommand 8 years ago
Jordi Boggiano d5ed45c3c7 Fix test 8 years ago
Jordi Boggiano 6146f7aded Take into account prefer-stable and dev packages when computing outdated, refs #5251 8 years ago
Jordi Boggiano b9bd021516 Fix test suite on <7 8 years ago
Jordi Boggiano ba909d8795 Avoid duplicate commands, and pass plugin to ctor args for capabilities, refs #3377 8 years ago
Jordi Boggiano 090295dbcb Adjust the CommandProvider to use plugin capabilities and test actual command creation, refs #3377 8 years ago
Jordi Boggiano a9df4acd7d Merge remote-tracking branch 'jderusse/plugin-with-commands' 8 years ago
Jordi Boggiano 135783299a Add support for editing top level properties and extra values, replaces #2415, fixes #1411, fixes #2384 8 years ago
Jordi Boggiano 5c9c910240 Target error capture more specifically 8 years ago
Jordi Boggiano e6c6d25b59 Fix tests 8 years ago
Jordi Boggiano 05fab170a7 Merge branch '1.0' 8 years ago
Jordi Boggiano f0d67923a5 Fix classmap generator over anonymous classes extending/implementing something, fixes #5239 8 years ago
Jordi Boggiano ac75680b1e Make sure the abandoned state is copied over even if the packages are installed already 8 years ago
Jordi Boggiano 8771119374 Merge branch '1.0' 8 years ago
Jordi Boggiano 6ce8477d04 Fix parsing of stabilities with AND/OR ops and no stability flags 8 years ago
Jordi Boggiano d8c94c2640 Merge remote-tracking branch 'curry684/home-expansion' 8 years ago
Jordi Boggiano 95e0347917 Merge branch '1.0' 8 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.
8 years ago
Jordi Boggiano 4de17cef6b Always resolve dev packages even when doing an update with --no-dev, fixes #5016 8 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
8 years ago
Jordi Boggiano 47ea9d8ddc Merge branch '1.0' 8 years ago
Jordi Boggiano c7c8335b8b Fix updating of dev refs if they are not whitelisted 8 years ago
Jordi Boggiano de5bfcb4c5 Fix partial updates from a dirty state and apply exactly the locked state, fixes #3468 8 years ago
Jordi Boggiano aed818fda2 Merge branch '1.0' 8 years ago
Jordi Boggiano feda2a283f Improve error reporting some more, fixes #4310 8 years ago
Jordi Boggiano b10074338c Fix tests 8 years ago
Jordi Boggiano e3f957324d Merge branch '1.0' 8 years ago
Niels Keurentjes d5158d943f Exempt custom URLs from secure-http checks, refs #5173 8 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 8 years ago
Jordi Boggiano 1a334b0f6f Merge branch '1.0' 8 years ago
Jordi Boggiano 6d20146d08 Normalize URL updates to point to the correct reference and always update URLs consistently, fixes #3849, fixes #4126 8 years ago
Jordi Boggiano 76350676b5 Warn on exact/overly strict constraints, fixes #2746 8 years ago
Jordi Boggiano 4f6693ad70 Fix regression in 0b44662087, fixes #5199 8 years ago
Jordi Boggiano 0b44662087 Disable static autoloader on HHVM, fixes #5192 8 years ago
Niels Keurentjes c9534d48c1 Made env variable parsing in path replacements generic across platforms and replaced old config.php implementation. 8 years ago
Niels Keurentjes f5422a441d Fixed Windows path separators and updated docs. 8 years ago
Niels Keurentjes 7e71b2bfbc Added support for expanding environment variables in paths, and tilde expansion on Windows. 8 years ago
Jordi Boggiano 4f0f8779cb Add filesystem tests for the static shortest path, refs #5174 8 years ago
Jordi Boggiano 1dc65a40d3 Fix tests, refs #5174 8 years ago
Jordi Boggiano d20d856aa8 Merge remote-tracking branch 'nicolas-grekas/php7-static' 8 years ago
Nicolas Grekas fd2f51cea8 Speedup autoloading on PHP 5.6 & 7.0+ using static arrays 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Jordi Boggiano ad5951218b Also trim trailing slashes in PathRepo, refs #5164 8 years ago
Jordi Boggiano eb84ca564f Use unique cache dir for integration tests as well 8 years ago
Jordi Boggiano 1bd9c8da3c More ruletest fixes for 7.1 8 years ago
Jordi Boggiano c74e6df65d Fix strings being passed to an int arg, fixes 7.1 build 8 years ago
Jordi Boggiano 870dcece1f Merge pull request #5120 from Seldaek/improve-errors
Improve solver error reporting
8 years ago
Jordi Boggiano 2c9326bacb Merge remote-tracking branch 'wenkepaul/master' 8 years ago
Jordi Boggiano 23af589076 Add test case for solver problem improvements 8 years ago
Jordi Boggiano e8b1a5f357 Merge pull request #5126 from DavidPrevot/equals
Fix method name
8 years ago
David Prévot 933a8e1d09 Fix method name
It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
8 years ago
Jeremy Benoist e9fc0e6548 Re-install binaries on update/install
Binaries are re-installed after an update/install (ie: removed and then installed)
8 years ago
Niels Keurentjes 49524bc4ba Centralize secure-http checking 8 years ago
Jordi Boggiano 5f9d4a81a0 Merge remote-tracking branch 'curry684/moar-logging' 8 years ago
Jordi Boggiano 6527bb4166 Merge pull request #5100 from helhum/master
Extract binary installation and removal to own class
8 years ago
Niels Keurentjes 8e78ce9a43 Add extra logging before and after SAT solving 8 years ago
Jordi Boggiano edebbef98a Add test and fix for very large repos, moar possessive quantifiers, fixes #5104 8 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.
8 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. 8 years ago
Jordi Boggiano 55b0ed8c8b Change installs into updates if there is no lock file, simplify some code, fixes #5034 8 years ago
Rob Bast dfdcfab822 simplified existing test, added a new test 8 years ago
Paul.Wenke b4d9d0fd0d Added BitbucketTest class. Added is_array and is_object check to http content before calling http_build_query. 8 years ago
Haralan Dobrev cc389d6c1a List project suggestions in create-project command
Resolves https://github.com/composer/composer/issues/2752
8 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
8 years ago
Jordi Boggiano b93b73e836 Rewrite git unpushed status checks, fixes #4987 8 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.
8 years ago
Jordi Boggiano fea99bcb1b Clarify the fetch/push URL selection for github repos and various protocols, fix regression 8 years ago
Jordi Boggiano b080a73840 Fix broken test on windows, fixes #4973 8 years ago
Jordi Boggiano 6f42b9c865 Disable git, svn, http protocols for VCS downloaders, fixes #4968 8 years ago
Jordi Boggiano c29f20964e Damn git 8 years ago
Jordi Boggiano 4b0624a93a Fix regression in create-project 8 years ago
Jordi Boggiano e745b37935 Fix tests 8 years ago
Jordi Boggiano d24ea66892 Merge remote-tracking branch 'fduch/console-select-support' 8 years ago
Jordi Boggiano 0ed5b541a9 Fix CS 8 years ago
Jordi Boggiano 7b404c4717 Add failing test for #3990 8 years ago
Jordi Boggiano f2e2dd8f86 Merge pull request #4972 from curry684/code-quality
Code quality
8 years ago
Niels Keurentjes a409e158b8 Disabled unit test breaking on some platforms. Ref #4973 8 years ago
Niels Keurentjes 3a66d1b9bb Fixed unit test explicitly depending on erroneous method invocation. 8 years ago
Jordi Boggiano 2f638c7d96 Fix test 8 years ago
Jordi Boggiano be4d385942 Fix uncommitted change detection, refs #3633 8 years ago
Jordi Boggiano 9f4f8a9578 Merge remote-tracking branch 'greg0ire/improve-status-for-unpushed-branches' 8 years ago
Jordi Boggiano 06be9b88c2 Merge remote-tracking branch 'slbmeh/feature/gh-2787' 8 years ago
Jordi Boggiano 2dcd76aa43 Fix test suite 8 years ago
Jordi Boggiano bad80878bc Merge remote-tracking branch 'sashman/master' 8 years ago
Jordi Boggiano 406e087a46 Stop running PEAR Repo test suite as it fails and is kinda irrelevant at this point 8 years ago
Rob Bast a245c4618b php-cs-fixer 8 years ago
Rob Bast dc2f201152 add trailing / and updated diagnose command 8 years ago
Rob Bast 4d975c49aa fix mocks 8 years ago
Franz Liedke f47c2c9ed7 Add test case for RepositoryManager::prependRepository method 8 years ago
Sash 582e361a88 Fixing array accessing 8 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. 8 years ago
Jordi Boggiano 8a2d1a2ee2 Make artifact paths in lock file cross-platform, fixes #3832 8 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. 8 years ago
Rob Bast 4600deac68 fix #4925 8 years ago
Niels Keurentjes aa6b2e5b63 Modernized unit test still depending on age old BC code. 8 years ago
Jordi Boggiano d6d0435c54 Merge pull request #4845 from curry684/pull-4690
Implement junctioning on Windows for path repositories
8 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
Niels Keurentjes 0dab63e050 Unified all Windows tests throughout the code. 9 years ago
Niels Keurentjes f2a2b18367 Added Platform utility and unit test for it. 9 years ago
Jordi Boggiano 8771eca527 Merge remote-tracking branch 'curry684/issue-4767' 9 years ago
Niels Keurentjes b71c67239d Made NTFS junction detection more reliable and added unit tests for the junction functions. 9 years ago
Rob Bast 0e584aa980 resolve issue 9 years ago
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Jefferson Carpenter b7845bb6c0 Update SolverTest.php 9 years ago
Jefferson Carpenter 087b901545 Update broken-deps-do-not-replace.test 9 years ago
Niels Keurentjes 3e06c801f4 Cleaned up check+conversion that was no longer required. 9 years ago
Niels Keurentjes 523362c7c5 Cleaner notation for expected exceptions in fixtures. 9 years ago
Niels Keurentjes 639ee0701c Introduced more generic, less invasive way to test for exceptions in fixtures, more in line with how phpunit works. 9 years ago
Niels Keurentjes bd241cb896 Included unit test for circular root dependencies. 9 years ago
Niels Keurentjes e5fe3d8a3b Expanded InstallerTest to support expecting Exceptions by supplying "EXCEPTION" as "--EXPECT--" 9 years ago
Rob Bast f829a160fb use a proper tmp directory
this test failed on OSX before, trying to create a directory at the root of the filesystem
9 years ago
Rob Bast f1fd7d1dd6 make clashes less likely and use silencer 9 years ago
Jordi Boggiano 1818b95149 CS fixes 9 years ago
Rob Bast 64d653ad92 fix race condition 9 years ago
Jordi Boggiano 783e0aec8a Merge remote-tracking branch 'alcohol/unique-test-directories' 9 years ago
Jordi Boggiano 5c944d45ac Merge pull request #4827 from curry684/issue-4203
Added more graceful warning suppression utility
9 years ago
Jordi Boggiano 5672f67475 Merge pull request #4829 from curry684/issue-4726
Globbing while resolving path repositories now normalizes to slashes
9 years ago
Rob Bast a8995b2572 use dirsep so phpunit on windows doesnt fail 9 years ago
Rob Bast 5e73b21c70 return realpath() value (OSX uses a weird symlink structure) 9 years ago
Rob Bast adf3b956d0 try to use unique test directories
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 years ago
Niels Keurentjes aef4820abe Normalization of URLs caused discrepancy on Windows with unit tests. 9 years ago
Jordi Boggiano 03e0d65f37 Allow stream wrapper usage in config dirs, fixes #4788 9 years ago
Niels Keurentjes 2c3e7cf5f2 Unit tests fail in a nasty way if ErrorHandler test is run before the Silencer and it's not silencing itself. 9 years ago
Niels Keurentjes 76c1645a0e Merge remote-tracking branch 'upstream/master' into issue-4203 9 years ago
Niels Keurentjes 18cd4f966b Added silencer utility to more gracefully handle error suppression without hiding errors or worse. Fixes #4203, #4683 9 years ago
Jordi Boggiano c5cb2327cf Merge remote-tracking branch 'bamarni/config-repo-options' 9 years ago
Bilal Amarni e727f9f5fe [Config command] allow to pass options when adding a repo 9 years ago
Chris Smith 304c268c3b Tidy up and general improvement of sAN handling code
* Move OpenSSL functions into a new TlsHelper class
* Add error when sAN certificate cannot be verified due to
  CVE-2013-6420
* Throw exception if PHP >= 5.6 manages to use fallback code
* Add support for wildcards in CN/sAN
* Add tests for cert name validation
* Check for backported security fix for CVE-2013-6420 using
  testcase from PHP tests.
* Whitelist some disto PHP versions that have the CVE-2013-6420
  fix backported.
9 years ago
Jordi Boggiano 837fa805ec Code tweaks, refs #4124 9 years ago
nevvermind aa45a48283 Refactoring
- changed "SPI" into something more familiar, like "implementation"
- throw exceptions on invalid implementation types or invalid class names
- use null instead of false when querying
- refactored the tests accordingly
9 years ago
nevvermind 681043355f Update test fixtures + fix test 9 years ago
nevvermind 58ded13eb9 Fix tests breaking on a api version bump
Make generic plugins work with many API versions as opposed to just 1.0.0.
9 years ago
nevvermind 2051d74774 Added Capable plugins for a more future-proof Plugin API
Plugins can now present their capabilities to the PluginManager, through which it can act accordingly, thus making Plugin API more flexible, BC-friendly and decoupled.
9 years ago
Rob Bast 17d6b98707 add A to root requirements 9 years ago
Rob Bast 0f09982858 add a test attempting to reproduce composer/composer#4795 9 years ago