120 Commits (6fdd9494efa2d5d638db1be6cb669668ced4fa4f)

Author SHA1 Message Date
Jordi Boggiano 284da1487c Avoid downgrading from error to warning 6 years ago
Ahammar Yassine da94e4b619 Skip all network-based checks (#7641)
* Skip all network-based checks

Change the warnings in diagnose to a friendly messages when allow_url_fopen is disabled.

Issue: #7622
6 years ago
François-Xavier de Guillebon 114217c6e3
Fix ini_get() for boolean values 6 years ago
Markus Staab 67e6d6d8a4 diagnose: write warning on stderr 6 years ago
Jordi Boggiano de6432f5f0 Show overridden php version in diagnose command, fixes #7497 6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 6 years ago
Gabriel Caruso 3d262bd637 Fixes from PHPStan level 0
More fixes from PHPStan level 0
7 years ago
Renan de Lima f1fb969a3a add php version and binary to the dignose command 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 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 66bb195233 Add zlib warning to diagnose command 8 years ago
Jordi Boggiano a04256810e Change exit code to be 1/2 for warn/fail, refs #5601 8 years ago
Jordi Boggiano b29d810d63 Only treat errors as real failures, fixes #5601 8 years ago
Jordi Boggiano cfdeb61779 Avoid warning when testing for packagist over http 8 years ago
Jordi Boggiano 0db8bbfda3 Add update channels support to self-update and diagnose, fixes #4960 8 years ago
Jordi Boggiano 269e545921 Make sure we can probe http requests, fixes #4965 8 years ago
Jordi Boggiano cd3c3ac56d Merge pull request #4843 from remicollet/issue-diagphar
skip diag. which are only for phar mode
8 years ago
Rob Bast dc2f201152 add trailing / and updated diagnose command 8 years ago
Jordi Boggiano f681dbc51e Merge remote-tracking branch 'curry684/rewrite-depends' 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago
Jordi Boggiano 1716a346e6 Add mbstring/iconv check, fixes #4929 8 years ago
Remi Collet 3a750193fd skip diag. which are only for phar mode 9 years ago
Chris Smith 0a25bb0bf3 Simplify for PHP 5.3 9 years ago
Chris Smith 3979abc638 Add warning if OpenSSL does not support TLSv1.2 or TLSv1.1 9 years ago
Jordi Boggiano f4bcf7590b Fix array syntax 9 years ago
Jordi Boggiano 3ef22258e5 Add key fingerprints for easier comparison and debugging via diagnose 9 years ago
Jordi Boggiano d2e97eecb2 Replace preg_match by strpos 9 years ago
Jordi Boggiano 86a911150b Update bundled CAfile and other cleanups 9 years ago
Jordi Boggiano f8dff0867c Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications 9 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 9 years ago
Jordi Boggiano dc06276179 Remove publish errors from diagnose command output, fixes #4652 9 years ago
Jordi Boggiano f5e0fc14b3 Clarify some error messages, fixes #3770 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Olivier Laviale cc522c20bb Optimized this->getIO() 9 years ago
Jordi Boggiano 6a64041055 CS fixes 9 years ago
Jordi Boggiano 6d15ad08b6 Add http check even if openssl is present, refs #4084 9 years ago
Possum 29ca21f30e PHP version checks tweaking 9 years ago
Marc Bennewitz ff1ce78e6b fixes #3976: drop ext/ctype dependency 9 years ago
Javier Spagnoletti 294185d1d3 [bugfix] Fixed undefined var in DiagnoseCommand::execute(). 9 years ago
Javier Spagnoletti 5b2a7e6bad [bugfix] Updated ```DiagnoseCommand::execute()``` and ```DiagnoseCommand::getGithubRateLimit()```
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #3859
| Doc PR        | none

Fixes #3859.
9 years ago
Jordi Boggiano d5feea83b6 Sync up diagnose command with the installer 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Rob Bast a34335a9bb github deprecation changes
- added some tests
- minor bug fixes discovered during testing
- resolved two deprecations (rate limit api and authorizations api)
- added some more comments to make the flow more understandable
10 years ago
Padraic Brady 19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
10 years ago
Rob Bast cdcf39b2f0 Don't show download progress 10 years ago
Rob Bast 4038477a7f Missed a - 10 years ago
Rob Bast 5b8f9b0390 Altered output of diagnose
- added some docblocks
- added rate limit check for users that have no oauth token configured
- made it 'scream' less (yellow text instead of yellow background)
- reformatted the php ini checks slightly to be more condensed
10 years ago
Douglas Greenshields fac3e135e3 fix typo 10 years ago
Jordi Boggiano 1e4229e22a Adjust APC check, refs #264 10 years ago
Jordi Boggiano 391a5390f2 Typo fix, cheers @rdlowrey 10 years ago
Jordi Boggiano e77435cd0c Skip apc check for hhvm, fixes #3081 10 years ago
Jordi Boggiano b6981d09e8 Fix handling of origin url in composer repository class 10 years ago
Jordi Boggiano b437c1cc05 Support github auth directly in the RemoteFilesystem class 10 years ago
Pádraic Brady 825b458593 Fix missing opts for diagnose command 10 years ago
Pádraic Brady d8cbd9f057 Expand cli TLS options to other commands + misc fixes 10 years ago
Pádraic Brady a2bf14e381 Make disableTls a core RemoteFilesystem option - per method invites human error 10 years ago
Pádraic Brady 49590af656 $originUrl passed to RemoteFilesystem is actually a HOST string already (so far!) 10 years ago
Pádraic Brady 0a8180674e Adding some HTTPS check to diagnose command (stash) 10 years ago
Jordi Boggiano 7c1042eef5 Detect color.ui always git setting as bad, fixes #2544 11 years ago
Jordi Boggiano 10f8e564bb Add warnings for xdebug, fixes #2425 11 years ago
Nils Adermann d00ca4bcdb Add a Command event triggered by all comands which load plugins 11 years ago
Jordi Boggiano 307c384294 Avoid throwing when checking for disk space, fixes #2039 11 years ago
Jordi Boggiano e64050e91d Fix output of diag command 11 years ago
Jordi Boggiano 3057949a2e Output error if the disk is full, fixes #1952 11 years ago
Jordi Boggiano 1debe22412 Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946, fixes #1839 11 years ago
Jordi Boggiano 8c197d2325 Fix CS and wording, remove lowercased env var, add env var to docs 11 years ago
Alexander Loutsenko c5bf4e7812 updated diagnostics to test fulluri proxy param handling 11 years ago
Smasty a1def50ae4 Fix diagnose command output 11 years ago
Jordi Boggiano 605cd3ddc3 Rename diag to diagnose, fix feedback 11 years ago