5060 Commits (ebffb3c1794dd359940d4f696d44b802e0e9ddff)
 

Author SHA1 Message Date
Hannes Van De Vreken b85cb7df82 Remove unused variable 9 years ago
Hannes Van De Vreken d017fa4a1d Unused variable 9 years ago
Frederik Bosch 951b07eabc Fix #3903 9 years ago
Tomáš Votruba 0924318c17 Readme: 00-intro - use __DIR__
It is best practice to use `__DIR__` constant. Also it's used in `autoload.php` itself.
9 years ago
Geo 2070b95e27 Update 04-schema.md 9 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)
9 years ago
Jordi Boggiano f10c714751 Merge pull request #3884 from frederikbosch/auth-fix-chh
Fix #3813,  #3830
9 years ago
Frederik Bosch 79490f662e Revert #3813, implement differently
Fix #3830
9 years ago
jakoch cf7441bc27 added "example using a custom HTTP Header field" to docu, issue https://github.com/composer/composer/issues/3756 9 years ago
Jordi Boggiano 8cfd48c479 Merge pull request #3873 from jmorganc/patch-1
Update 01-basic-usage.md
9 years ago
Morgan Campbell 7cb9b9a985 Update 01-basic-usage.md
Added a missing "the" so the sentence flows a little better.
9 years ago
Markus Schulte bcc387b297 Explaining how to deal with cyclic dependency problems within Jenkins-builds. 9 years ago
Jordi Boggiano c5cd184767 Revert 331425bcb3 as well, fixes #3612 9 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
9 years ago
Jordi Boggiano 17baee4e80 Merge pull request #3866 from khromov/patch-1
Improved wording
9 years ago
Jordi Boggiano ddd6ea1c2f Update deps 9 years ago
Jordi Boggiano b1248e1ff6 Merge remote-tracking branch 'salathe/patch-1' 9 years ago
Peter Cowburn 54d61ec486 Use justinrainbow/json-schema 1.4
justinrainbow/json-schema version 1.4.0 has been tagged (https://github.com/justinrainbow/json-schema/releases/tag/1.4.0), which fixes naming conflicts with Scalar Type Hints in (what will be) PHP 7.
9 years ago
Stanislav Khromov 6c35dd6b2d Improved wording
All other verbs use are in the form of "doing something", ie Installing, Downloading. "connection" is the odd one out.
9 years ago
Jordi Boggiano ab3622dff1 Merge pull request #3365 from WouterJ/patch-1
Updated validator
9 years ago
isoroku e0657b60a2 Fix misspellings 9 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.
9 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.
9 years ago
vlakoff d5ab072ec1 Optimize check for empty file 9 years ago
Jordi Boggiano 829199c053 Merge pull request #3840 from gonimar/patch-1
Fix docs basic-auth => http-basic
9 years ago
vlakoff 3a68534d20 Fix parser error if composer.json existing but empty 9 years ago
Sergey Gonimar c87418099c Fix docs basic-auth => http-basic 9 years ago
Jordi Boggiano d571874461 Merge pull request #3831 from fredemmott/autoload-hack-enums
Add support for using classmap to autoload Hack enums
9 years ago
Fred Emmott 23d5e30fbc Add test for Generics class
Already worked, just adding a test.
9 years ago
Fred Emmott bdf51ab16d Single variable for traits and enums 9 years ago
Fred Emmott cb1ea889d6 Use HHVM_VERSION instead of HPHP_VERSION 9 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.
9 years ago
Jordi Boggiano b296e654eb Re-use existing autoloader suffix if available, fixes #3701 9 years ago
Jordi Boggiano fed81ee47c Merge pull request #3829 from hkdobrev/fast-finish-builds
Report Travis CI build success early
9 years ago
Haralan Dobrev 8168f69ae7 Report Travis CI build success early
This will report the build has succceeded even if allowed to fail jobs are
still running.

See https://github.com/composer/composer/pull/3828.

Docs: http://docs.travis-ci.com/user/build-configuration/#Fast-finishing

Props to @fonsecas72.
9 years ago
Jordi Boggiano 9f9cff558e Merge pull request #3825 from fonsecas72/ppp
Use get home from Config instead of factory
9 years ago
Jordi Boggiano ca9fcba5eb Merge pull request #3828 from hkdobrev/hhvm-nightly
Test on HHVM nightly releases. Allow to fail.
9 years ago
Haralan Dobrev 3667e18885 Test on HHVM nightly releases. Allow to fail.
Nightly releases could change in unpredictable way.
So they should not fail the whole build.

However we could catch problems and breaking changes
on next versions of HHVM early.
9 years ago
Jordi Boggiano 8956c34da6 Merge pull request #3827 from fonsecas72/fix_test_php7
Make parseJson safer
9 years ago
Hugo Fonseca e79d067690 Make parseJson safer 9 years ago
Hugo Fonseca c41a187b62 Use get home from Config instead of factory 9 years ago
Jordi Boggiano b80038804f Fix env override regression, fixes #3820 9 years ago
Jordi Boggiano dfd04a9458 Merge pull request #3822 from francisbesset/patch-2
[create-project] Used no progress value for dependencies
9 years ago
Francis Besset 4f57fafb8d [create-project] Used no progress value for dependencies 9 years ago
Jordi Boggiano b8ac790b4f Merge pull request #3819 from fonsecas72/fix_doc
Add/Fix DocBlock
9 years ago
Hugo Fonseca 1bb871dca8 Add docBlock and fix CS 9 years ago
Jordi Boggiano 2a0da15eb5 Merge pull request #3227 from tobiastom/patch-1
Added some details about authentication handling.
9 years ago
Jordi Boggiano 3470cef1f1 Merge pull request #3818 from Hellov/master
Duplicate download progress
9 years ago
Jordi Boggiano 331425bcb3 Fix output of first line of progress when output is not decorated, refs #3818 9 years ago
Jordi Boggiano ad40cdc3fe Fix overwriteError behavior, fixes #3817 9 years ago