Vladimir Reznichenko
db0cae0477
SCA: revert assertions tweaks
2018-01-24 10:31:39 +01:00
Vladimir Reznichenko
da9e00066c
SCA: reduced repetitive methods references, used specialized PhpUnit assertions
2018-01-24 10:19:46 +01:00
Jordi Boggiano
96d07e6753
Merge branch '1.6'
2018-01-22 16:44:24 +01:00
Jordi Boggiano
842a7ea922
Fix dev-master not being normalized correctly for the root package, fixes #7007
2018-01-22 16:44:17 +01:00
Jordi Boggiano
ad8b44a4c8
Merge branch '1.6'
2018-01-22 15:42:56 +01:00
Jordi Boggiano
ea9b7ecbb0
Merge pull request #6982 from carusogabriel/phpstan
...
Fixes from PHPStan level 0
2018-01-22 14:50:43 +01:00
Jean-Baptiste
595cf4432c
Fix Test RepositoryFactory
2018-01-22 14:06:56 +01:00
Martin Hujer
bbee0d7c6c
Validation warns if script description for nonexistent script is present
...
Fixes #7010
2018-01-17 19:15:06 +01:00
Gabriel Caruso
3d262bd637
Fixes from PHPStan level 0
...
More fixes from PHPStan level 0
2018-01-14 11:44:15 -02:00
Tomas Klinkenberg
60106edd32
Added a test to confirm issue #6994 .
...
Added a encapsulated group to the replacement parameter of the `preg_replace` for GitLab in `\Composer\Util\Url::updateDistReference()`. This fixes #6994 .
2018-01-09 17:57:22 +01:00
Jordi Boggiano
e6114b2ca7
Fix support for replacing dist refs in gitlab URLs and add support for gitlab/github enterprise too
2018-01-05 15:20:30 +01:00
Gabriel Caruso
2ad6f611d7
Allow bin key to receive string
2018-01-02 07:00:55 -02:00
Andreas Möller
79828f7543
Enhancement: Assert that key is removed when value is null
2017-12-28 21:11:54 +01:00
Jordi Boggiano
50665aa18d
Simplify check for current revision, refs #6684
2017-12-19 17:50:02 +01:00
Jordi Boggiano
93cd9d874b
Merge remote-tracking branch 'RobberPhex/git-repo'
2017-12-19 15:47:58 +01:00
John Stevenson
02fbbd5a42
Skip MockedZipDownloader tests if zip is missing ( #6917 )
...
* Skip MockedZipDownloader tests if zip is missing
2017-12-19 11:07:09 +01:00
Jordi Boggiano
a1c5754b1f
Make sure tests run non-interactively
2017-12-18 17:18:59 +01:00
Jordi Boggiano
c8aea719b1
CS fixes
2017-12-18 16:02:48 +01:00
Jordi Boggiano
0a9abeef88
Merge branch '1.5'
2017-12-17 15:05:08 +01:00
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
2017-12-17 13:59:08 +01:00
Alessandro Lai
54adf0b61e
Add regression test about VersionGuesser pretty_version handling
2017-12-17 13:49:07 +01:00
Gabriel Caruso
885da4c8ef
Refactoring tests
2017-12-03 02:41:58 -02:00
Gabriel Caruso
afc9a7643e
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
2017-11-30 13:44:43 -02:00
Gabriel Caruso
a4b220273e
Refactoring Tests ( #6849 )
2017-11-30 15:58:10 +01:00
Jordi Boggiano
6256e17149
Merge branch '1.5'
2017-11-30 15:19:19 +01:00
Jordi Boggiano
5ba6d7d436
Fix pretty guessed versions to show nicely on numeric branches, refs #6845
2017-11-30 15:19:11 +01:00
Alessandro Lai
3cf31da414
Fix root package not having a pretty version when detecting from VCS, fixes #6845 , closes #6847
2017-11-30 15:07:08 +01:00
Jordi Boggiano
eab826b00b
Merge branch '1.5'
2017-11-29 16:37:49 +01:00
Jordi Boggiano
45cd26b2df
Fix test and actually check that we get hasAuthentication called for different domains
2017-11-29 16:37:00 +01:00
Jordi Boggiano
9850621c6b
Merge pull request #6788 from GawainLynch/symfony-4
...
Symfony 4
2017-11-28 18:30:31 +01:00
Jordi Boggiano
0b3bc4ccb9
Merge branch '1.5'
2017-11-28 18:09:36 +01:00
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).
2017-11-28 18:09:08 +01:00
Nils Adermann
7dffe79a0f
Update tests of solver problem message to match new message
2017-11-16 12:41:41 +01:00
Robert Lu
3ce71a55bf
fix unittest
2017-11-07 13:54:52 +08:00
Gawain Lynch
f74c6f4620
Update tests to handle optional QuestionHelper::setInputStream() availability
2017-11-06 16:32:29 +01:00
Gawain Lynch
157075b996
Migrate ConsoleIO::select to use QuestionHelper and ChoiceQuestion
2017-11-06 16:29:55 +01:00
Jordi Boggiano
26a50b3762
Merge branch '1.5'
2017-11-03 19:53:36 +01:00
Jordi Boggiano
4ab34c22fa
Merge pull request #6740 from croensch/master
...
also support NO_PROXY
2017-11-03 19:50:28 +01:00
Jérôme Vasseur
71c2ecbace
Fix platform package detection in VersionParser
2017-11-03 19:48:52 +01:00
Jordi Boggiano
9a99e86ebc
Rename NonRoot to Transitive, refs #6674
2017-11-03 14:35:04 +01:00
Jordi Boggiano
9df22654c3
Merge remote-tracking branch 'grasmash/issue-6661-whitelist-all-deps'
2017-11-03 14:20:38 +01:00
croensch
6da92e98ac
also support NO_PROXY
...
since WINDOWS can only have one case and that is usually upperase
2017-10-12 16:35:05 +02:00
Matthew Grasmick
776977f597
Fixing method name.
2017-09-11 13:53:56 -04:00
Vladimir Reznichenko
c8615358cb
SCA with PHP Inspections (EA Extended)
2017-09-11 19:40:43 +02:00
Matthew Grasmick
11db6f90c2
Cleaning up comments
2017-09-11 12:56:51 -04:00
Matthew Grasmick
3826e51caa
Renaming some methods and props.
2017-09-11 12:38:54 -04:00
Matthew Grasmick
ad465aa769
Updating var names.
2017-09-11 11:47:33 -04:00
Matthew Grasmick
21722f6e42
Fixing test version constraints.
2017-09-11 11:32:19 -04:00
Matthew Grasmick
f29e98cdf9
Fixes #6661 : Allow a given package and its dependencies (including siblings) to be updated.
2017-09-11 11:16:15 -04:00
Jordi Boggiano
dae575c197
Merge branch '1.5'
2017-09-11 16:09:36 +02:00