Jordi Boggiano
f509c41280
Upgrade PHPStan to 1.0 ( #10253 )
...
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Stephan
44c5b6cde6
Config: add source option for command to show where a config value is loaded from ( #10129 )
3 years ago
Martin Herndl
3013674c92
Refactor ignore platform reqs checks ( #10079 )
...
Introduces a `PlatformRequirementFilter` with methods that help to decide if a requirement is ignored or not as discussed in #10045 but without changing behaviour.
3 years ago
Jordi Boggiano
bd4d624cc7
Read first from $_SERVER and $_ENV before using getenv ( #10218 )
3 years ago
Jordi Boggiano
85f3bb070d
Add abandoned flag in search command output
3 years ago
Jordi Boggiano
3bb78fd1ee
Make new phar filename random to avoid possible concurrency issues, refs #10252
3 years ago
Jordi Boggiano
6a7264fc2d
Trigger autoloading of a few classes before executing self-update command, fixes #10252
3 years ago
Jordi Boggiano
9f433aba76
Fix 9999999-dev showing on composer show when no branch alias is defined for the default branch, fixes #10260
3 years ago
Jordi Boggiano
44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS
3 years ago
Jordi Boggiano
c65d09dff7
Fix @inheritDoc annotations
3 years ago
Samuel Felipe
3ccb54832b
PHPStan level 6 in src/Composer/Command ( #10214 )
3 years ago
Cédric Anne
a7686e82f0
Filter candidates requiring an unknown platform package; fixes #10167 ( #10184 )
3 years ago
Anatoly Pashin
b1a96a3141
PHPStan level 6 in src/Composer/Repository ( #10197 )
3 years ago
Jordi Boggiano
7d88de7d0b
Fix syntax
3 years ago
Jordi Boggiano
9599eb613b
Type annotations
3 years ago
Jordi Boggiano
4a7abd79c9
Fix 5.3 syntax 😒
3 years ago
Jordi Boggiano
759a3a9300
Fix require reverting changes even though dependency resolution succeeded if when something fails afterwards, closes #10118
3 years ago
Jordi Boggiano
f776f52474
Hint composer require alternatives if dep resolution fails, fixes #10136
3 years ago
Jordi Boggiano
f587237c55
Fix diagnose output when libz is not present for curl, refs #10153
3 years ago
Jordi Boggiano
d1c8a4d1b4
Lots of typing improvements
3 years ago
Jordi Boggiano
b3eebeb3b9
Merge pull request from GHSA-frqg-7g38-6gcf
3 years ago
Jordi Boggiano
532c6e7933
Fix show --all showing only the installed version if the package is installed, fixes #10095
3 years ago
Jordi Boggiano
0761474599
Add type info to many properties/methods
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
deb4c48bbc
Avoid using an invalid path for InstalledFilesystemRepo in create-project and use an array repo instead, fixes #10020 , fixes #10021
3 years ago
Jordi Boggiano
f5a03b950d
Improve error reporting in require command, fixes invalid case of consistency issue, fixes #10006
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
078aaa6968
Make sure the correct name is being output, fixes #9986
3 years ago
Jordi Boggiano
a5efbbc94a
Validate schema before writing the file, fixes #9986
3 years ago
Jordi Boggiano
420d9bf21d
Move name validation out of interact, fixes #9986
3 years ago
noniagriconomie
65259ac8e0
Add Composer version in about command
3 years ago
Sebastian Blank
a9031e40eb
Add "symlink" option for "bin-compat" config ( #9959 )
3 years ago
Jordi Boggiano
c668c24599
Fix autoload events not being dispatched when running dump-autoload command, fixes #9954
3 years ago
Jordi Boggiano
6e851edd70
Add `--dev` to `dump-autoload` command to allow force-dumping dev autoload rules even if dev requirements are not present, fixes #9946
3 years ago
Jordi Boggiano
cbb1504910
Also do the change in ReinstallCommand
3 years ago
Nicolas Grekas
eac069bf36
Fix --no-scripts disabling events for plugins
3 years ago
Jordi Boggiano
5a28f677da
Fix outdated legend and only show legend when there is output to be shown, fixes #9939
3 years ago
Jordi Boggiano
4c9e75c6e5
Fix CS
3 years ago
Jordi Boggiano
91dd175f74
Fix env var handling when variables_order includes E and symfony/console 3.3.15+ is used, fixes #9930
3 years ago
Jordi Boggiano
d864c5743a
Add 7-zip presence check to diagnose command
3 years ago
Jordi Boggiano
a23f8a3d6c
Add gitlab-protocol to config command and schema
3 years ago
Jordi Boggiano
90d72ca686
Tweak validate command output to be slightly more readable, less colorful
3 years ago
Jordi Boggiano
2eaf81c813
Fix a few issues in lock file validation
...
- handle packages present but in wrong version
- handle provide/replace correctly
- do not validate if lock file is missing
refs #9899
3 years ago
Jordi Boggiano
69dc607408
Merge remote-tracking branch 'PrinsFrank/detect-missing-packages-on-validate'
3 years ago
Nils Adermann
1dc39bda75
Merge pull request #9915 from Seldaek/reinstall
...
Add a reinstall command
3 years ago
Jordi Boggiano
4dbdae3ada
Sort uninstalls in reverse order from installs
3 years ago
Jordi Boggiano
5737a34e53
Sort package installs using Transaction
3 years ago