4982 Commits (e50b5fe990bb9ba240d82e4d8aa7718ca27dfd4e)
 

Author SHA1 Message Date
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
Jordi Boggiano 829199c053 Merge pull request #3840 from gonimar/patch-1
Fix docs basic-auth => http-basic
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
Jordi Boggiano d9b5c884ba Detect and warn JSON encoding failures, refs #3786 9 years ago
Jordi Boggiano 8e6f62e769 Bump max memory to 1GB, fixes #3785 9 years ago
Hello ef0191ee6a Duplicate download progress 9 years ago
Jordi Boggiano 26799f4244 Update script/plugin docs 9 years ago
Jordi Boggiano 3b018e4276 Merge pull request #3816 from stof/patch-1
Switch to the docker-based infrastructure on Travis
9 years ago
Christophe Coevoet a02f3e79b8 Switch to the docker-based infrastructure on Travis 9 years ago
Jordi Boggiano 462de7bd94 Merge pull request #3813 from nicolas-grekas/language-c
Run processes with predictable LANGUAGE=C
9 years ago
Jordi Boggiano 8f170b214c Merge pull request #3806 from fonsecas72/php7
Added php7 to travis
9 years ago
Hugo Fonseca f35d6ac0e0 Removed php7 to travis allowed_failures 9 years ago
Nicolas Grekas be22a87d9c Run processes with predictable LANGUAGE=C 9 years ago
Jordi Boggiano eadc167b12 Fix BC layer for events 9 years ago
Jordi Boggiano 82b7fdf4c1 Add BC for Script\Event instances, fixes #3811 9 years ago
Jordi Boggiano b098a2fdde Fix clear cache when a dir does not exist, fixes #3810 9 years ago
Hugo Fonseca fe2b2e651a Added php7 to travis 9 years ago
Jordi Boggiano 664202e767 Merge pull request #3804 from legoktm/nocheckpublish
Add --no-check-publish option to "composer validate"
9 years ago
Kunal Mehta 05e196893b Add --no-check-publish option to "composer validate"
This is useful when you want to use composer to manage dependencies, but
don't actually want your project to be installable as a composer package.

Any issues that would prevent publishing are still shown, but as a warning
instead of an error.
9 years ago
Jordi Boggiano d5feea83b6 Sync up diagnose command with the installer 9 years ago
Jordi Boggiano 45b1f356c2 Add debug output when a plugin is loaded 9 years ago
Jordi Boggiano c7b0628d93 Fix tests 9 years ago
Jordi Boggiano 4d665f59b0 Create lock if we only have platform dependencies 9 years ago
Steve Buzonas 484c04b5e5 update repository manager tests to use data provider and test for exception case 9 years ago
Jordi Boggiano e5985a9b55 Merge pull request #3778 from edhgoose/patch-1
Fix reference to getIO as per #3777
9 years ago