Jordi Boggiano
bd6403a6be
Fix newly surfaced errors
2 years ago
Jordi Boggiano
849bc51ce7
Fix ProcessExecutor bootstrapping, fixes #10703
2 years ago
Jordi Boggiano
6a466a120a
Enable strict types on all files
2 years ago
Jordi Boggiano
7abc8da7d3
Add more types
2 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2 years ago
Alexander Schranz
1321bfca36
Add return types to closures ( #9 )
2 years ago
Jordi Boggiano
a16ed3d0ed
Add return types to private/internal methods
2 years ago
Jordi Boggiano
32852304d0
Make use of some new PHP features
2 years ago
Jordi Boggiano
5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors ( #10476 )
...
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2 years ago
Niels Vanpachtenbeke
1c928466a9
Remove code blocks for php <7.2 compatibility ( #10417 )
2 years ago
Jordi Boggiano
24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_*
2 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
4 years ago
Jordi Boggiano
6c795dedc0
Add openssl version to diagnose command, refs #8506
4 years ago
Jordi Boggiano
23359f2db6
Merge branch 'master' into 2.0
4 years ago
johnstevenson
beacdf4e51
Add Windows OneDrive to platform warnings
4 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
5 years ago
Jordi Boggiano
856df56bdd
Revert #7755
6 years ago