1127 Commits (42a9561ae23b236da1d5a4acf50f7ea96ebe68aa)

Author SHA1 Message Date
Jordi Boggiano ab02867015 Use natural sort to sort packages, refs #3872 10 years ago
Jordi Boggiano 081e26f4d7 Merge remote-tracking branch 'localheinz/feature/sort-packages' 10 years ago
Jordi Boggiano 414cf70008 Fix phar build test 10 years ago
Jordi Boggiano ebffb3c179 Move improvements towards reproducible builds, refs #3927 10 years ago
Jordi Boggiano d93406a668 Merge pull request #3956 from nevvermind/use-phpunit-preconditions
Use PHPUnit pre-conditions
10 years ago
Cees-Jan Kiewiet c9d9b5085a Replaced <error> with <warning> for abandoned package as it reflects the intention of this feature better 10 years ago
Jordi Boggiano bdb6ecb29e Merge pull request #3975 from marc-mabe/hotfix/3974
fixes #3974: Autoloader have to distinguish between files and directories
10 years ago
Marc Bennewitz 9455c49053 fixes #3974: Autoloader have to distinguish between files and directories 10 years ago
Jordi Boggiano 8a12e50a16 Merge pull request #3983 from alcohol/upgrade-dialoghelper
Upgrade DialogHelper to QuestionHelper
10 years ago
Nils Adermann 258fdcb44d Merge pull request #3986 from Seldaek/partial-update-keep-lock
Partial updates should not corrupt the lock if the installed repo is not up to date with it
10 years ago
Nils Adermann cb44f209f8 Merge pull request #3985 from Seldaek/update-urls
Check if package URLs are up to date after composer update is done
10 years ago
Jordi Boggiano 137c551247 Check if package URLs are up to date after an update op is done, fixes #3214 10 years ago
Jordi Boggiano 4507805508 Partial updates should not corrupt the lock if the installed repo is not up to date with it, fixes #3439, closes #3553 10 years ago
Nils Adermann b4ed331168 The Solver Request no longer depends on the Pool 10 years ago
Rob Bast 8cc6e4f67d Fixed two camelcase names 10 years ago
Rob Bast 1213d368f6 Updated tests for new QuestionHelper flow 10 years ago
Jordi Boggiano d6620195e5 Prioritize repository over package versions in the default policy, fixes #3509 10 years ago
Jordi Boggiano 00ca2a91a3 Fix typo 10 years ago
Jordi Boggiano 4ce0adb23c Use the caret operator for all require operations 10 years ago
Jordi Boggiano 43c1caad0d Merge remote-tracking branch 'Seldaek/caret-op-for-semver'
Conflicts:
	tests/Composer/Test/Package/Version/VersionSelectorTest.php
10 years ago
Jordi Boggiano a5dfaafa02 Add a fixture for the schema validation 10 years ago
Jordi Boggiano fa398e14c7 Fix indent detection in json files when an empty line starts the object 10 years ago
Jordi Boggiano 32a479a1e7 Fix subkey manipulation when the main key does not exist yet 10 years ago
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
10 years ago
Andrew Berry 5b7c5cf41e Fix missing semicolons. 10 years ago
Andrew Berry 59e14ff098 Fix test classes with invalid PHP. 10 years ago
Adrian Dragus 7834dacb88 Forgot to remove the actual calls 10 years ago
Adrian Dragus 96ff1c5014 Use PHPUnit pre-conditions
See https://phpunit.de/manual/current/en/incomplete-and-skipped-tests.html#incomplete-and-skipped-tests.requires.tables.api
10 years ago
Rob Bast b99d9465c1 Added testcase 10 years ago
Jordi Boggiano e50b5fe990 Merge pull request #3853 from hakre/fix/git-checkout
Git Checkout Branch / File Differentiation
10 years ago
Jordi Boggiano 46924cf5f5 Merge pull request #3854 from hakre/fix/symlink-missing
Prevent fatal error on missing symlink() function in tests
10 years ago
Jordi Boggiano 6b3178b169 Merge remote-tracking branch 'isoroku/fix-misspellings'
Conflicts:
	doc/articles/handling-private-packages-with-satis.md
10 years ago
Jordi Boggiano d0695b2a6d Merge pull request #3784 from slbmeh/feature/update-rm-tests
Use data provider in RepositoryManager tests
10 years ago
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
10 years ago
Andreas Möller 32538a21a2 Enhancement: Sort packages by importance, then alphabetically 10 years ago
Jordi Boggiano 66b73ea456 Revert "Disable overwrites when no-ansi is present, fixes #3612"
This reverts commit e0d36e19eb.

Conflicts:
	src/Composer/IO/ConsoleIO.php
10 years ago
isoroku e0657b60a2 Fix misspellings 10 years ago
hakre 03b634d114 Prevent fatal error on missing symlink() function in tests
The testsuite didn't run through for me because the php symlink() function
was missing.

It is only available on Windows Visa/Server 2008 or higher.

This commit fixes the issue by checking if the method exists, and if not,
marks the test as skipped because of a non-matching precondition.
10 years ago
hakre 7077803aa4 Git Checkout Branch / File Differentiation
This fixes a minor inaccuracy issue when creating git checkout commands
for branches.

The git checkout command used within `GitDownloader::updateToCommit()`
does not use the "`--`" sequence to separate branch from file parameters.

This leads to an inaccuary as git tries as well the branch name as file
name. If the non-existent branch is actually the name of a file, the file
is checked out. If the non-existent branch is not the name of a file, an
error message is given:

> error: pathspec 'non-existent-branch' did not match any file(s) known to
git.

Both cases are not expected for the program flow in
`GitDownloader::updateToCommit()`.

The only thing that is expected is a non-existent branch to fail to
checkout - but with a different error message:

> // reference was not found (prints "fatal: reference is not a tree:
 $ref")

This can be easily fixed by adding the missing separator when constructing
the command which is applied with this commit.
10 years ago
Fred Emmott 23d5e30fbc Add test for Generics class
Already worked, just adding a test.
10 years ago
Fred Emmott cb1ea889d6 Use HHVM_VERSION instead of HPHP_VERSION 10 years ago
Fred Emmott 33ea86573e Add support for using classmap to autoload Hack enums
fixes composer/composer#3823

Ran tests with both PHP5.5.9-1ubuntu4.5 and HHVM 3.6. Test fails on HHVM only
if I back out the ClassMapGenerator.php change.
10 years ago
Jordi Boggiano b80038804f Fix env override regression, fixes #3820 10 years ago
Jordi Boggiano c7b0628d93 Fix tests 10 years ago
Steve Buzonas 484c04b5e5 update repository manager tests to use data provider and test for exception case 10 years ago
Rob Bast 3d329622d7 overwrite -> overwriteError 10 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 10 years ago
Jordi Boggiano 0b4a9235f4 CS fixes 10 years ago
Jordi Boggiano c291b07abd Merge pull request #3764 from alcohol/retry-slow-test
retry slow test if timeout occurs
10 years ago
Jordi Boggiano 3efed220a6 Clean up event dispatching code and make package events extend installer events 10 years ago