1416 Commits (118d8fb52ff11d7f1960302d2017f9d178cb48b2)

Author SHA1 Message Date
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. 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
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
Rob Bast 446f1b3e31 fix zip test 9 years ago
Jordi Boggiano fb848d2e07 Code cleanups 9 years ago
Jordi Boggiano e6f1c13d00 xz test tweak 9 years ago
Jordi Boggiano 5214620f05 Fix xz tests 9 years ago
Jordi Boggiano c1cc6bfecf Avoid doing too many loads of the remotefilesystem 9 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 9 years ago
Jordi Boggiano 969263944c Rename var 9 years ago
Jordi Boggiano 44a00a28fa Merge remote-tracking branch 'chorry/4694-clean-temporary-dirs-in-tests' 9 years ago
Jordi Boggiano 48420a2411 Update deps and bump json-schema requirement, fixes #4756 9 years ago
Alexander Loutsenko 909a679ab5 Filesystem is not needed as a property for CacheTest 9 years ago
Alexander Loutsenko 397ae2d7c8 review fixes 9 years ago
Alexander Loutsenko fa5de786ff clean garbage dirs in tmp after composer tests #4694 9 years ago
Rob Bast c292122791 it looks like php 5.3.3 might not have openssl extension? 9 years ago
Jordi Boggiano ddd85afd32 Merge pull request #4633 from jaapio/feature/gitlabInstallPath
Adds support for gitlab installed in subfolder
9 years ago
Jaapio df92cb09ab extract regex to const. To be able to reuse it 9 years ago
Jordi Boggiano 8072448cf3 Adjust deduplication of files autoloads, refs 9710b26d3f 9 years ago
Jaapio b471440ea0 Adds support for gitlab install in subfolder
Since gitlab can be hosted on any url also subdirectories should be
supported. (e.g https://mycompany.com/gitlab).
This supports only http and https protocols since the gitlab api url
is derived from the package repository url. And the ssh protocol doesn't
support folders this way.
9 years ago
Jordi Boggiano fbab2bfa17 Move user agent definition to StreamContextFactory so it is available in all contexts 9 years ago
Jordi Boggiano 020c126c27 Fix CS 9 years ago
Jordi Boggiano a10bffec0e Merge remote-tracking branch 'GromNaN/gitlab' 9 years ago
Jordi Boggiano 966a982738 CS fixes 9 years ago
Jordi Boggiano 67a1924173 Merge remote-tracking branch 'Rudloff/xz' 9 years ago
Jordi Boggiano 1fe690f810 Autoload generator cleanups 9 years ago
Jordi Boggiano 3748c11709 Simplify files autoload include function, and make sure files are included once per package even if exactly the same, refs #4186 9 years ago
Jordi Boggiano 9710b26d3f Merge remote-tracking branch 'jeskew/feature/require_files_but_once' 9 years ago
Jordi Boggiano c0b49d09f3 Merge remote-tracking branch 'cw-ozaki/no-script-dump-autoload'
Conflicts:
	src/Composer/Autoload/AutoloadGenerator.php
	src/Composer/Command/DumpAutoloadCommand.php
9 years ago
Thiago Carvalho 320533bcf9 Fixes #4610 9 years ago
Jordi Boggiano cf6cd83335 Use writeError for xdebug warning and fix running test suite with xdebug 9 years ago
Jordi Boggiano f674261b96 Merge remote-tracking branch 'ockcyp/exclude-classmap-parent' 9 years ago
Jérôme Tamarelle 4255db9e31 Allows SSH urls for gitlab and detect the scheme
SSH urls uses HTTPS to request the API
9 years ago
Jordi Boggiano 4b269f4ded Follow stability option in create-project to select the best possible version, refs #4563 9 years ago
Jérôme Tamarelle ac68a721f4 Merge remote-tracking branch 'composer/master' into gitlab
Conflicts:
	doc/04-schema.md
	src/Composer/Util/RemoteFilesystem.php
9 years ago
Jerome TAMARELLE 6ccc562c0f Add tests on GitLab class (copied from GitHubTest) 9 years ago
Omer Karadagli 4046ae042d Up-level relative paths in exclude-from-classmap 9 years ago
Giorgio Premi fd0026b542 Detect infinite script call recursion 9 years ago
Giorgio Premi a25492d1b9 Allow composer script call with @ syntax 9 years ago
Remi Collet a6c6537529 skip no more needed with jsonc 1.3.9 9 years ago
Pierre Rudloff 879d34589b XzDownloader test 9 years ago
Jordi Boggiano 735d4a692e Fix validating array loader tests 9 years ago
Jordi Boggiano 6c16510743 Add support for wildcards in exclude-from-classmap, refs #1607 9 years ago
Jordi Boggiano f1b0c073ad Tweaked exclude-from-classmap: windows support, normalize paths and make sure they are all package-relative and do not leak to other packages, refs #1607 9 years ago
Jordi Boggiano 084f6de24e Merge remote-tracking branch 'trivago/add_exclude'
Conflicts:
	doc/04-schema.md
	src/Composer/Autoload/AutoloadGenerator.php
9 years ago
Rob c7ed232ef4 Merge pull request #4529 from jeroenseegers/warn-on-commit-reference
Generate a warning when a commit reference is used
9 years ago