Niels Vanpachtenbeke
1c928466a9
Remove code blocks for php <7.2 compatibility ( #10417 )
3 years ago
Jordi Boggiano
24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_*
3 years ago
Stephan
44c5b6cde6
Config: add source option for command to show where a config value is loaded from ( #10129 )
3 years ago
Samuel Felipe
3ccb54832b
PHPStan level 6 in src/Composer/Command ( #10214 )
3 years ago
Jordi Boggiano
9599eb613b
Type annotations
3 years ago
Jordi Boggiano
f587237c55
Fix diagnose output when libz is not present for curl, refs #10153
3 years ago
Jordi Boggiano
d3c176ec69
PHPStan Level 5 ( #10070 )
...
* Bump PHPStan to level 5
* Update seld/phar-utils to latest
* Add phpstan-setup / phpstan scripts
3 years ago
Jordi Boggiano
d465df434c
Make sure diagnose command can run without proc_open, refs #9253
3 years ago
Jordi Boggiano
be58b36a35
Also look up 7zz on linux/macOS, fixes #9951
3 years ago
Jordi Boggiano
db1d9e75be
Fix support for 7z command fallback on linux/macOS, fixes #9994
3 years ago
Ondřej Mirtes
c65890d2d3
DiagnoseCommand - fix PHPDoc ( #9991 )
3 years ago
Jordi Boggiano
d864c5743a
Add 7-zip presence check to diagnose command
3 years ago
John Stevenson
c3b76a8532
Upgrade to xdebug-handler 2 ( #9832 )
...
This adds support for Xdebug3 modes and changes the default behaviour
from always restarting if Xdebug is loaded, to only restarting if Xdebug
is active.
Xdebug is considered active if it is loaded, and for Xdebug3, if it is
running in a mode other than `xdebug.mode=off`.
3 years ago
Jordi Boggiano
4940009f83
Bump phpstan to level 3 ( #9734 )
...
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
f567fd69eb
List both unzip and zip ext presence in diagnose
4 years ago
Jordi Boggiano
3f6899946b
Avoid using curl when it has been disabled, fixes #9423
4 years ago
Jordi Boggiano
34bdc6cbf2
Detect and hint for solutions for common curl errors, fixes #9376
4 years ago
johnstevenson
095d133d6b
Remove fulluri checks and tidy diagnose output
4 years ago
Jordi Boggiano
99a5469b5e
More hints
4 years ago
Jordi Boggiano
34dd9e19e1
Add curl/zip ext info to diagnose command
4 years ago
Jordi Boggiano
24abd233ec
Merge branch 'master' into code-improvements
4 years ago
Jordi Boggiano
03b8c3db3f
Merge branch '1.10'
4 years ago
Jordi Boggiano
d6b39b4c55
Fix syntax error & improve handling
4 years ago
Christophe Coevoet
bcd8a73e8c
Fix support for running diagnose without openssl
...
The diagnose command already warns when openssl is not available. But the command was failing later when displaying the Openssl version.
4 years ago
Simon Berger
80a75e9959
Minor code improvements
4 years ago
Simon Berger
bae227ec2d
Changed all substr calls used to compare fragments of text to strpos
...
Some additional code cleanups in those classes
Reverted change causing issues
4 years ago
Jordi Boggiano
c8731598cc
Merge branch '1.10'
4 years ago
johnstevenson
54debe8210
Respect disable-tls in Versions::getLatest
...
Use http to get the latest version when disable-tls is true and error-
trap DiagnoseCommand::checkVersion so that all checks can complete.
Fixes #8657 .
4 years ago
Adam Žurek
25cd2382cb
Raise phpstan level to 1 ( #8027 )
4 years ago
Jordi Boggiano
a5b178084c
Merge branch 'master' into 2.0
5 years ago
Jordi Boggiano
6c795dedc0
Add openssl version to diagnose command, refs #8506
5 years ago
Jordi Boggiano
23359f2db6
Merge branch 'master' into 2.0
5 years ago
johnstevenson
beacdf4e51
Add Windows OneDrive to platform warnings
5 years ago
Jordi Boggiano
76a2c63bf8
Show best possible version in diagnose command
5 years ago
Jordi Boggiano
b5014e9aed
Fix use of decodeJson
5 years ago
Jordi Boggiano
0317199507
Merge branch 'master' into 2.0
5 years ago
Markus Staab
c876613d5c
Added "Read more at" links to all commands ( #8019 )
5 years ago
Matthew Brown
65903aacfd
Fix type issues ( #7996 )
...
* Fix type issues found by Psalm
5 years ago
Jordi Boggiano
f946d8eb5a
More RemoteFilesystem usage removals and some repository/vcs driver refactorings
6 years ago
Jordi Boggiano
856df56bdd
Revert #7755
6 years ago
Jordi Boggiano
2528654c53
Merge branch '1.7'
6 years ago
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