Gabriel Caruso
2ad6f611d7
Allow bin key to receive string
7 years ago
Andreas Möller
79828f7543
Enhancement: Assert that key is removed when value is null
7 years ago
Andreas Möller
6059acf0a3
Fix: Remove unused parameter and field
7 years ago
Jordi Boggiano
50665aa18d
Simplify check for current revision, refs #6684
7 years ago
Jordi Boggiano
93cd9d874b
Merge remote-tracking branch 'RobberPhex/git-repo'
7 years ago
John Stevenson
02fbbd5a42
Skip MockedZipDownloader tests if zip is missing ( #6917 )
...
* Skip MockedZipDownloader tests if zip is missing
7 years ago
Jordi Boggiano
a1c5754b1f
Make sure tests run non-interactively
7 years ago
Jordi Boggiano
c8aea719b1
CS fixes
7 years ago
Jordi Boggiano
0a9abeef88
Merge branch '1.5'
7 years ago
Renoir Boulanger
9f723ba381
Support GitLab repositories w/ port over HTTPs
...
When we have self-hosted GitLab, over HTTPs, on a different port.
rel composer/composer#6894
7 years ago
Alessandro Lai
54adf0b61e
Add regression test about VersionGuesser pretty_version handling
7 years ago
Gabriel Caruso
885da4c8ef
Refactoring tests
7 years ago
Gabriel Caruso
afc9a7643e
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
7 years ago
Gabriel Caruso
a4b220273e
Refactoring Tests ( #6849 )
7 years ago
Jordi Boggiano
6256e17149
Merge branch '1.5'
7 years ago
Jordi Boggiano
5ba6d7d436
Fix pretty guessed versions to show nicely on numeric branches, refs #6845
7 years ago
Alessandro Lai
3cf31da414
Fix root package not having a pretty version when detecting from VCS, fixes #6845 , closes #6847
7 years ago
Jordi Boggiano
eab826b00b
Merge branch '1.5'
7 years ago
Jordi Boggiano
45cd26b2df
Fix test and actually check that we get hasAuthentication called for different domains
7 years ago
Jordi Boggiano
9850621c6b
Merge pull request #6788 from GawainLynch/symfony-4
...
Symfony 4
7 years ago
Jordi Boggiano
0b3bc4ccb9
Merge branch '1.5'
7 years ago
johnstevenson
b0922b95af
Report multiple inis in php.ini specific messages
...
Where systems use multiple ini files it is perhaps more useful to
suggest running `php --ini` to see their locations, rather than showing
the loaded php.ini (if one exists).
7 years ago
Nils Adermann
7dffe79a0f
Update tests of solver problem message to match new message
7 years ago
Robert Lu
3ce71a55bf
fix unittest
7 years ago
Gawain Lynch
f74c6f4620
Update tests to handle optional QuestionHelper::setInputStream() availability
7 years ago
Gawain Lynch
157075b996
Migrate ConsoleIO::select to use QuestionHelper and ChoiceQuestion
7 years ago
Jordi Boggiano
26a50b3762
Merge branch '1.5'
7 years ago
Jordi Boggiano
4ab34c22fa
Merge pull request #6740 from croensch/master
...
also support NO_PROXY
7 years ago
Jérôme Vasseur
71c2ecbace
Fix platform package detection in VersionParser
7 years ago
Jordi Boggiano
9a99e86ebc
Rename NonRoot to Transitive, refs #6674
7 years ago
Jordi Boggiano
9df22654c3
Merge remote-tracking branch 'grasmash/issue-6661-whitelist-all-deps'
7 years ago
croensch
6da92e98ac
also support NO_PROXY
...
since WINDOWS can only have one case and that is usually upperase
7 years ago
Matthew Grasmick
776977f597
Fixing method name.
7 years ago
Vladimir Reznichenko
c8615358cb
SCA with PHP Inspections (EA Extended)
7 years ago
Matthew Grasmick
11db6f90c2
Cleaning up comments
7 years ago
Matthew Grasmick
3826e51caa
Renaming some methods and props.
7 years ago
Matthew Grasmick
ad465aa769
Updating var names.
7 years ago
Matthew Grasmick
21722f6e42
Fixing test version constraints.
7 years ago
Matthew Grasmick
f29e98cdf9
Fixes #6661 : Allow a given package and its dependencies (including siblings) to be updated.
7 years ago
Jordi Boggiano
dae575c197
Merge branch '1.5'
7 years ago
Deamon
3d753b117b
add test on remove mainkey at end of file
7 years ago
Jordi Boggiano
a8df30c09b
Merge branch '1.5'
7 years ago
Mikk Tendermann
2a89d37651
fix gitlab not telling visibilty if user is not logged in
7 years ago
Christian Ramelow
f178c340e9
Fixed tests.
7 years ago
Christian Ramelow
39d8104897
Introduces a new method `copy()`.
...
Some packages, e. g. `tm/tooly-composer-script`, are using the composer classes to e. g. create symlinks or perform other file operations. While there's only a `copyThenRemove()` method this commit introduces a new `copy()` method. `copy()` behaves the same as the copy part of `copyThenRemove()` did with one exception: it returns `true` on success and `false` on failure. Copying a directory may lead to a `false`, while the whole directory or some of its files couldn't been copied. To ensure backwards compatibility `copyThenRemove()` calls `copy()` now. This commit also adds the necessary tests.
7 years ago
Jordi Boggiano
e33d00f98e
Fix gitlab tests
7 years ago
Jordi Boggiano
f420d31233
Fix application test
7 years ago
Jordi Boggiano
a6c4fb2dcf
Fix gitlab tests
7 years ago
Jordi Boggiano
c89f6338c2
CS tweaks, refs #6592
7 years ago
Helmut Januschka
ae42e4f8a3
php 5
7 years ago
Helmut Januschka
bc4a7834ba
php 5 being php5 :/
7 years ago
Helmut Januschka
b847270d08
rename test method
7 years ago
Helmut Januschka
b486056066
add tests for gitlab paging
7 years ago
Jordi Boggiano
b07be842a0
Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475
7 years ago
Jordi Boggiano
6832eacb01
Update GitLab API usage to v4, fixes #6453
7 years ago
Jordi Boggiano
65d49bf811
Merge branch '1.4'
7 years ago
Jordi Boggiano
d2b102ecb9
Merge remote-tracking branch 'svenmuennich/pr/fix-require-command' into 1.4
7 years ago
Sergey Shcherbin
118abacd14
Fix for time format in GitBitbucketDriver test
7 years ago
Jordi Boggiano
34dbde3873
Merge branch '1.4'
7 years ago
Sven Münnich
d51ef83a43
Fix case insensitivity of ‘require’ command
...
When currently executing the `require` command for a package that is already listed in `require(-dev)`, one must use the exact same, case matching package name as written in `composer.json`. That is, if one changes the case of a character in the package name, the `require` command will add a new entry to `require(-dev)`, instead of updating the existing one.
This commit fixes the described behaviour to make it consistent with other commands like `update` that are already case insensitive.
7 years ago
Rob Bast
422a9adb07
images related to new trusty images
7 years ago
Jordi Boggiano
ef47d8bf05
Merge pull request #6486 from WilHall/feature/htaccess-protect-option
...
Add htaccess-protect option for disabling the creation of .htaccess files
7 years ago
Jordi Boggiano
91a4e76958
Merge pull request #6460 from bmax/master
...
Cache: clear cache using removeDirectory
7 years ago
Brandon Max
24b8fea48a
Cache: clear cache using removeDirectory
7 years ago
Wil Hall
f0924fb878
Add htaccess-protect option for disabling the creation of .htaccess files
7 years ago
Jordi Boggiano
7cee8e385f
Merge branch '1.4'
7 years ago
Jordi Boggiano
cc9234562d
Merge pull request #6475 from NamelessCoder/featurebranches
...
Add support for feature-branches setting
7 years ago
Claus Due
965f1f42d1
Add support for feature-branches setting
...
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.
Allows changing the currently hardcoded set of
expected feature branch names, from:
* master|trunk|default|develop
To any set of names or patterns that you desire.
7 years ago
Sergey Shcherbin
292882f0d0
Fix for time format in GitBitbucketDriver test
7 years ago
Nils Adermann
b1110df873
Merge pull request #6371 from balbuf/balbuf/move-all-plugins
...
Move all plugins and their dependencies to the front
7 years ago
Stephen Beemsterboer
06bb6c7530
Move plugins with no dependencies to the front, followed by plugins with their dependencies
7 years ago
Remi Collet
741c8d63fb
fix test for Symfony 3.2
7 years ago
Remi Collet
95d82f6fde
fix test for json-schema 5.2
7 years ago
Martin Hasoň
88ec172bd8
Fix CS
7 years ago
Martin Hasoň
d1ba698291
Fix PHP 5.3 compatibility
7 years ago
Martin Hasoň
3c5bfcf1e9
Register github repository type
7 years ago
Jordi Boggiano
a6627d55b7
Fix build
7 years ago
Jordi Boggiano
ce56fc4ab6
Merge pull request #6381 from deeky666/pass-vsc-driver-options
...
Forward GitLab driver options to remote filesystem
7 years ago
Jordi Boggiano
c917c52f81
Message tweak, refs #6341
7 years ago
AjiYakin
8858b27ced
Warn identical names w/ different capitalization - extract zip archive
...
Warn about identical names with different capitalization on zip archive
extract failure (Not a directory)
Issue #5938
7 years ago
Steve Müller
1d29fa04b1
forward GitLab driver options to remote filesystem
8 years ago
Rob Bast
e2eb8f2201
support for gitlab subgroups, closes #6349
8 years ago
Stephen
6c4800b8d2
Update corresponding test for plugin moving
8 years ago
Jordi Boggiano
e3a23c0047
Merge branch '1.4'
8 years ago
Jordi Boggiano
75416c69b4
Merge pull request #6340 from derrabus/remove-control-chars-from-suggest
...
Remove ANSI control characters from suggested packages output
8 years ago
Alexander M. Turek
20050dd984
Remove console formatting as well.
8 years ago
Jordi Boggiano
3c1e7a67cf
Merge branch '1.4'
8 years ago
Jordi Boggiano
9b3c9e0c26
Fix tests
8 years ago
Jordi Boggiano
123e8956c7
Merge pull request #6337 from theotonge/bugfix-5989
...
Fix for https://github.com/composer/composer/issues/5989
8 years ago
Alexander M. Turek
401ef69ae3
Remove ANSI control characters from suggested packages output.
8 years ago
Theo Tonge
c077df0d80
Fix for https://github.com/composer/composer/issues/5989
...
Enforce yes/no answers for Confirmation Questions
8 years ago
Jordi Boggiano
2c03dab4c3
Merge branch '1.4'
8 years ago
Jordi Boggiano
be201924cd
Revert "Changes the query string parameter `sha` to `ref` to reflect the GitLab API"
...
Fixes #6344 , refs #6198
This reverts commit 8a496cd2a7
.
8 years ago
Nicole Cordes
d834fcfac5
Change commitHash to match real life examples
8 years ago
Nicole Cordes
c0f5a64e81
Use long array sysntax for PHP 5.3 compatibility
8 years ago
Nicole Cordes
c2fe198ebc
Re-add unit test for FETCH_HEAD parsing
8 years ago
Nicole Cordes
313e6b914d
Fix Git branch parsing for detached HEAD on a commit
...
Current versions of Git output the commit hash as detached HEAD instead
of FETCH_HEAD. The VersionGuesser should be able to handle commit hashes
as well as FETCH_HEAD to detect the correct branch of a commit.
8 years ago
Jordi Boggiano
61511cfed6
Fix CS issues, refs #6159
8 years ago
Jordi Boggiano
0a337e7c75
Merge remote-tracking branch 'gza/fix_unzip_on_win_php56'
8 years ago
Jose Miguel Pérez Ruiz
4ba3c741f5
Fix Init Command to accept author names with Unicode combining diacritical marks
8 years ago
Jose Miguel Pérez Ruiz
b2f62bc06c
Fix Init Command to accept author names with Unicode combining diacritical marks
8 years ago
Guillaume ZITTA
f89e01d622
switch first / fallback order
8 years ago
Jordi Boggiano
843877cd6d
Fix hg version guessing, fixes #6236 , fixes #6235
8 years ago
Filippo Tessarotto
04b1ddb79f
VersionGuesser test for HG
8 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
Jordi Boggiano
ddef9923b0
Merge branch '1.3'
8 years ago
Sjoerd Adema
8a496cd2a7
Changes the query string parameter `sha` to `ref` to reflect the GitLab API
...
Updated the unit test to reflect the change
Fixes #6198
8 years ago
Jordi Boggiano
f200343cf2
Fix gitlab driver issues not asking for auth when token is missing, and not falling back properly to git driver
8 years ago
Jordi Boggiano
44ea284ab9
Merge remote-tracking branch 'stefangr/implement_bitbucket_api_v2'
8 years ago
Jordi Boggiano
c61a1c7523
Merge branch '1.3'
8 years ago
Jordi Boggiano
260b85882f
Merge remote-tracking branch 'dzuelke/installmsgs' into 1.3
8 years ago
rubenrua
4e1887a721
Improve memory usage resolving dependencies
...
It is known that composer update takes a lot of memory: #5915 , #5902 ,
I am playing with a profiler (@blackfireio) to make a demo in my local
PHP meetup (@phpvigo) and I found out a way to use less memory. These
are my first tests:
* Private project using PHP 5.6:
* Memory: from 1.31GB to 1.07GB
* Wall Time: from 2min 8s to 1min 33s
* symfony-demo using PHP 7.1 in my old mac book:
* Memory: from 667MB to 523MB
* Wall Time: from 5min 29s to 5min 28s
Not use an array inside conflict rules is this improvement main idea:
```php
<?php
//Memory 38MB
gc_collect_cycles();
gc_disable();
class Rule
{
public $literals;
public function __construct(array $literals)
{
$this->literals = $literals;
}
}
$rules = array();
$i = 0;
while ($i<80000){ //
$i++;
$array = array(-$i, $i);
$rule = new Rule($array);
$rules[] = $rule;
}
```
```php
<?php
//Memory 11.1MB
gc_collect_cycles();
gc_disable();
class Rule2Literals
{
public $literal1;
public $literal2;
public function __construct($literal1, $literal2)
{
$this->literal1 = $literal1;
$this->literal2 = $literal2;
}
}
$rules = array();
$i = 0;
while ($i<80000){ //
$i++;
$rule = new ConflictRule(-$i, $i);
$rules[] = $rule;
}
```
More info https://github.com/composer/composer/pull/6168
8 years ago
Guillaume ZITTA
abf06913a2
remove useless expect (already done by docstring)
8 years ago
Guillaume ZITTA
921ffe741f
Cleaner fallback Algorithm
8 years ago
Jordi Boggiano
20c16f18f5
Merge branch '1.3'
8 years ago
Jordi Boggiano
f3d0e4660d
Fix urlencoding of gitlab dots, fixes #6064
8 years ago
David Zuelke
2d36324e99
streamline install progress messages
8 years ago
Stefan Grootscholten
5dbdefdd72
Implement ordering in requesting tags and branches.
...
Update unit test with latest changes.
8 years ago
Stefan Grootscholten
7ae4ed1ec8
Improve fetching single files via bitbucket API.
...
The former implementation used the 'src' endpoint which returned some meta data as well.
This has been replaced with the 'raw' endpoint which does not return the meta data and does not need an extra JSON decode step.
8 years ago
Stefan Grootscholten
d25c483231
Implement Bitbucket API version 2.0 (where applicable).
8 years ago
Stefan Grootscholten
512750a20e
Add more tests to cover the new functionality.
8 years ago
Stefan Grootscholten
a4af559ca8
Store access-token for re-use
...
Store the Bitbucket access-token (and the expiration time) so it can be re-used within the time it is valid.
The Bitbucket::requestToken and Bitbucket::getToken now only return the access-token and not all other parameters it receives from the Bitbucket API.
8 years ago
jbixler
dac51c7f4b
Add ignore filters option to archive command
8 years ago
Christophe Coevoet
1cb0ec7911
Resolve references in ComposerSchemaTest
8 years ago
johnstevenson
2b8ad7dc2a
Clear xdebug version if restart fails, fixes #5995
8 years ago
Jordi Boggiano
2782d37a15
Merge pull request #5992 from AnrDaemon/fix-git-skips-proper
...
Properly skip GitDownloaderTest if git is not available
8 years ago
AnrDaemon
1d2a949e3e
Properly fix git excludes.
...
Mindless copy-paste never gets old. Sorry. This is fixed proper this time.
8 years ago
AnrDaemon
810e70d234
Fix __DIR__/getcwd() inconsistency.
8 years ago
Jordi Boggiano
df5fd3ba09
Cache executable finder calls
8 years ago
AnrDaemon
ab70601700
Skip git-related tests if no git found.
8 years ago
johnstevenson
3928f1f3be
Set xdebug version in environment, fixes #5967
8 years ago
Jordi Boggiano
a1b468ea50
Fix git shortening, it is sunday..
8 years ago
Jordi Boggiano
98c5f825e0
Fix tests and regression in @ref script handling
8 years ago
Jordi Boggiano
4d77ffcb4a
Merge branch 'simplify-output'
8 years ago
Jordi Boggiano
4d082f77b8
Simplify composer output to take less lines
8 years ago
Jordi Boggiano
e54c7478ee
Attempt at fixing support for git 2.11, refs #5942
8 years ago
Jordi Boggiano
1dcb2b5758
Merge remote-tracking branch 'nicolas-grekas/apcu'
8 years ago
Jordi Boggiano
e9d04f2b2d
Merge branch '1.2'
8 years ago
Hans-Joachim Michl
817b2747c7
Fix #5672
...
This fixes the issue reported in #5672 .
It just makes sure the ZendGuard encoded files can be autoloaded correctly.
8 years ago
Dries Vints
2ab7df5566
Do not add newlines to output
8 years ago
Nicolas Grekas
6d4e60b991
Add --apcu-autoloader option to enable APCu caching of found/not-found classes
8 years ago
Jordi Boggiano
f3f063e3e2
Merge pull request #5888 from alcohol/array-default
...
use array as default value
8 years ago
Rob Bast
873f17261c
try to fix test instead of guarding implementation
8 years ago
Jordi Boggiano
8a2f597db3
Fix tests
8 years ago
Jordi Boggiano
91e7372c6e
Backport update packagist default repo to be packagist.org
8 years ago
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
9 years ago
Jordi Boggiano
cc793eff6f
Clean up ApplicationTest
9 years ago
Jordi Boggiano
b8974a3e13
Merge branch '1.1'
9 years ago
Jordi Boggiano
591cbcee12
Avoiding defining plugin commands using the local project plugins, refs #5277
9 years ago
Bilal Amarni
92207da83a
add isProxyCommand() to BaseCommand
9 years ago
Jordi Boggiano
d5ed45c3c7
Fix test
9 years ago
Jordi Boggiano
6146f7aded
Take into account prefer-stable and dev packages when computing outdated, refs #5251
9 years ago
Jordi Boggiano
b9bd021516
Fix test suite on <7
9 years ago
Jordi Boggiano
ba909d8795
Avoid duplicate commands, and pass plugin to ctor args for capabilities, refs #3377
9 years ago
Jordi Boggiano
090295dbcb
Adjust the CommandProvider to use plugin capabilities and test actual command creation, refs #3377
9 years ago
Jordi Boggiano
a9df4acd7d
Merge remote-tracking branch 'jderusse/plugin-with-commands'
9 years ago
Jordi Boggiano
135783299a
Add support for editing top level properties and extra values, replaces #2415 , fixes #1411 , fixes #2384
9 years ago
Jordi Boggiano
5c9c910240
Target error capture more specifically
9 years ago
Jordi Boggiano
e6c6d25b59
Fix tests
9 years ago
Jordi Boggiano
05fab170a7
Merge branch '1.0'
9 years ago
Jordi Boggiano
f0d67923a5
Fix classmap generator over anonymous classes extending/implementing something, fixes #5239
9 years ago
Jordi Boggiano
ac75680b1e
Make sure the abandoned state is copied over even if the packages are installed already
9 years ago
Jordi Boggiano
8771119374
Merge branch '1.0'
9 years ago
Jordi Boggiano
6ce8477d04
Fix parsing of stabilities with AND/OR ops and no stability flags
9 years ago
Jordi Boggiano
d8c94c2640
Merge remote-tracking branch 'curry684/home-expansion'
9 years ago
Jordi Boggiano
95e0347917
Merge branch '1.0'
9 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.
9 years ago
Jordi Boggiano
4de17cef6b
Always resolve dev packages even when doing an update with --no-dev, fixes #5016
9 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
9 years ago
Jordi Boggiano
47ea9d8ddc
Merge branch '1.0'
9 years ago
Jordi Boggiano
c7c8335b8b
Fix updating of dev refs if they are not whitelisted
9 years ago
Jordi Boggiano
de5bfcb4c5
Fix partial updates from a dirty state and apply exactly the locked state, fixes #3468
9 years ago
Jordi Boggiano
aed818fda2
Merge branch '1.0'
9 years ago
Jordi Boggiano
feda2a283f
Improve error reporting some more, fixes #4310
9 years ago
Jordi Boggiano
b10074338c
Fix tests
9 years ago
Jordi Boggiano
e3f957324d
Merge branch '1.0'
9 years ago
Niels Keurentjes
d5158d943f
Exempt custom URLs from secure-http checks, refs #5173
9 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
9 years ago
Jordi Boggiano
1a334b0f6f
Merge branch '1.0'
9 years ago
Jordi Boggiano
6d20146d08
Normalize URL updates to point to the correct reference and always update URLs consistently, fixes #3849 , fixes #4126
9 years ago
Jordi Boggiano
76350676b5
Warn on exact/overly strict constraints, fixes #2746
9 years ago
Jordi Boggiano
4f6693ad70
Fix regression in 0b44662087
, fixes #5199
9 years ago
Jordi Boggiano
0b44662087
Disable static autoloader on HHVM, fixes #5192
9 years ago
Niels Keurentjes
c9534d48c1
Made env variable parsing in path replacements generic across platforms and replaced old config.php implementation.
9 years ago
Niels Keurentjes
f5422a441d
Fixed Windows path separators and updated docs.
9 years ago
Niels Keurentjes
7e71b2bfbc
Added support for expanding environment variables in paths, and tilde expansion on Windows.
9 years ago
Jordi Boggiano
4f0f8779cb
Add filesystem tests for the static shortest path, refs #5174
9 years ago
Jordi Boggiano
1dc65a40d3
Fix tests, refs #5174
9 years ago
Jordi Boggiano
d20d856aa8
Merge remote-tracking branch 'nicolas-grekas/php7-static'
9 years ago
Nicolas Grekas
fd2f51cea8
Speedup autoloading on PHP 5.6 & 7.0+ using static arrays
9 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
9 years ago
Jordi Boggiano
ad5951218b
Also trim trailing slashes in PathRepo, refs #5164
9 years ago
Jordi Boggiano
eb84ca564f
Use unique cache dir for integration tests as well
9 years ago
Jordi Boggiano
1bd9c8da3c
More ruletest fixes for 7.1
9 years ago
Jordi Boggiano
c74e6df65d
Fix strings being passed to an int arg, fixes 7.1 build
9 years ago
Jordi Boggiano
870dcece1f
Merge pull request #5120 from Seldaek/improve-errors
...
Improve solver error reporting
9 years ago
Jordi Boggiano
2c9326bacb
Merge remote-tracking branch 'wenkepaul/master'
9 years ago
Jordi Boggiano
23af589076
Add test case for solver problem improvements
9 years ago
Jordi Boggiano
e8b1a5f357
Merge pull request #5126 from DavidPrevot/equals
...
Fix method name
9 years ago
David Prévot
933a8e1d09
Fix method name
...
It makes the test fail with recent (>= 3.1) phpunit-mock-objects
version.
9 years ago
Jeremy Benoist
e9fc0e6548
Re-install binaries on update/install
...
Binaries are re-installed after an update/install (ie: removed and then installed)
9 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
9 years ago
Jordi Boggiano
5f9d4a81a0
Merge remote-tracking branch 'curry684/moar-logging'
9 years ago
Jordi Boggiano
6527bb4166
Merge pull request #5100 from helhum/master
...
Extract binary installation and removal to own class
9 years ago
Niels Keurentjes
8e78ce9a43
Add extra logging before and after SAT solving
9 years ago
Jordi Boggiano
edebbef98a
Add test and fix for very large repos, moar possessive quantifiers, fixes #5104
9 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.
9 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.
9 years ago
Jordi Boggiano
55b0ed8c8b
Change installs into updates if there is no lock file, simplify some code, fixes #5034
9 years ago
Rob Bast
dfdcfab822
simplified existing test, added a new test
9 years ago
Paul.Wenke
b4d9d0fd0d
Added BitbucketTest class. Added is_array and is_object check to http content before calling http_build_query.
9 years ago
Haralan Dobrev
cc389d6c1a
List project suggestions in create-project command
...
Resolves https://github.com/composer/composer/issues/2752
9 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
9 years ago
Jordi Boggiano
b93b73e836
Rewrite git unpushed status checks, fixes #4987
9 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.
9 years ago
Jordi Boggiano
fea99bcb1b
Clarify the fetch/push URL selection for github repos and various protocols, fix regression
9 years ago
Jordi Boggiano
b080a73840
Fix broken test on windows, fixes #4973
9 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
9 years ago
Jordi Boggiano
c29f20964e
Damn git
9 years ago
Jordi Boggiano
4b0624a93a
Fix regression in create-project
9 years ago
Jordi Boggiano
e745b37935
Fix tests
9 years ago
Jordi Boggiano
d24ea66892
Merge remote-tracking branch 'fduch/console-select-support'
9 years ago
Jordi Boggiano
0ed5b541a9
Fix CS
9 years ago
Jordi Boggiano
7b404c4717
Add failing test for #3990
9 years ago
Jordi Boggiano
f2e2dd8f86
Merge pull request #4972 from curry684/code-quality
...
Code quality
9 years ago
Niels Keurentjes
a409e158b8
Disabled unit test breaking on some platforms. Ref #4973
9 years ago
Niels Keurentjes
3a66d1b9bb
Fixed unit test explicitly depending on erroneous method invocation.
9 years ago
Jordi Boggiano
2f638c7d96
Fix test
9 years ago
Jordi Boggiano
be4d385942
Fix uncommitted change detection, refs #3633
9 years ago
Jordi Boggiano
9f4f8a9578
Merge remote-tracking branch 'greg0ire/improve-status-for-unpushed-branches'
9 years ago
Jordi Boggiano
06be9b88c2
Merge remote-tracking branch 'slbmeh/feature/gh-2787'
9 years ago
Jordi Boggiano
2dcd76aa43
Fix test suite
9 years ago
Jordi Boggiano
bad80878bc
Merge remote-tracking branch 'sashman/master'
9 years ago
Jordi Boggiano
406e087a46
Stop running PEAR Repo test suite as it fails and is kinda irrelevant at this point
9 years ago
Rob Bast
a245c4618b
php-cs-fixer
9 years ago
Rob Bast
dc2f201152
add trailing / and updated diagnose command
9 years ago
Rob Bast
4d975c49aa
fix mocks
9 years ago
Franz Liedke
f47c2c9ed7
Add test case for RepositoryManager::prependRepository method
9 years ago
Sash
582e361a88
Fixing array accessing
9 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.
9 years ago
Jordi Boggiano
8a2d1a2ee2
Make artifact paths in lock file cross-platform, fixes #3832
9 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.
9 years ago
Rob Bast
4600deac68
fix #4925
9 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
Jordi Boggiano
599ad77167
Merge pull request #4542 from bd808/feature/support-merge-plugin
...
Allow easier manipulation of RootAliasPackage
9 years ago
Bryan Davis
06c44ce998
Add setters used by composer-merge-plugin to RootPackageInterface
...
Extend RootPackageInterface with setter functions used by
composer-merge-plugin and implement them for RootAliasPackage. This will
allow composer-merge-plugin and similar code that manipulates the root
package at runtime to ignore the difference between a RootPackage and
a RootAliasPackage.
9 years ago
Jordi Boggiano
82349bcb2a
Fix support for extracting stability flags in multi-constraints, fixes #4440
9 years ago
Jordi Boggiano
507415e404
Make VersionSelector prefer stable by default and allow specifying a PHP version that must be matched, fixes #4318
9 years ago
Jeroen Seegers
279b5f0156
Drop irrelevant properties from composer_commit-ref.json
9 years ago
Jeroen Seegers
f3dc31839f
Refactor commit-ref validation
...
The require and require-dev arrays have been merged into one and no
longer user private methods/properties to collect warnings.
9 years ago
Jeroen Seegers
476c6f279b
Add fixture for composer.json with commit-ref
9 years ago
Jordi Boggiano
3d9daea6a0
CS fixes
9 years ago
Jeroen Seegers
73e73c90fb
Generate a warning when a commit reference is used
...
Closes #4485
9 years ago
Jordi Boggiano
a54f84f05f
Merge pull request #4479 from MakiCode/feature#4397
...
Added --file flag: Feature#4397
9 years ago
Rob Bast
b523fc0b7b
ran fixers
9 years ago
MakiCode
1c0b9cd65f
Removed test for non-string file name check
9 years ago