202 Commits (bd6403a6bef36fdbefdb287dc7e26286d5e06e5e)

Author SHA1 Message Date
Jordi Boggiano bd6403a6be
Fix newly surfaced errors 2 years ago
Jordi Boggiano 849bc51ce7
Fix ProcessExecutor bootstrapping, fixes #10703 2 years ago
Jordi Boggiano e63e15aea8
Fix usage of react/promise resolve() to prepare for v3 2 years ago
Jordi Boggiano 20e410f3a2
Fix inconsistent parameter names in inheritance trees 2 years ago
Antoine Makdessi 6c0a6e00b3
Fix #10575 (#10576)
Refactor the whole cleanChanges/getLocalChanges code to be more strict with null returns

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2 years ago
Jordi Boggiano beb575dd00
Fix more issues, update baseline (2203/106) 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 4e6d54b731
Fix all 5.3 $this-in-closure usages 2 years ago
Jordi Boggiano 3f243d37c3
Add temporary metadata for download size tracking 3 years ago
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 3 years ago
Martin Herndl 3645d3042c
Add types to root namespace (#10213) 3 years ago
Martin Herndl fa4d4e20e9
Add types to `Downloader` (#10193) 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 d6f4111f35
Fix php 5.3 support 3 years ago
Jordi Boggiano 46f2d9de48
Fix php 5.3 support 3 years ago
Jordi Boggiano ddd7920d2a
Fix corrupt archives in cache from getting the installs stuck forever, and make sure it fails only once, fixes #10028 3 years ago
Jordi Boggiano 28c7d0ea5d
Avoid creating new processes to remove directories which we know are empty, which speeds things up a lot on windows 3 years ago
Jordi Boggiano b751156e1c
Prevent cache gc from happening during test suite runs, and add output so it is clear why it is blocking for a bit 3 years ago
Jordi Boggiano d75d79b452
Merge pull request #9822 from phenaproxima/post-file-download
Fire POST_FILE_DOWNLOAD event for metadata fetched by ComposerRepository
3 years ago
Jordi Boggiano 7dd95a768b
Clean stuff up and deprecate old usages for PostFileDownloadEvent 3 years ago
Jordi Boggiano bf73a20bc0
Merge branch '2.0' 3 years ago
Stephan 2f4b99eacd
MaxFileSizeException should reject download job (#9778) 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 8392508e23
Merge branch '2.0' 3 years ago
Jordi Boggiano 4a8e7daf56
Make sure that single files installed via file downloader get the executable bit set if they are a binary file, refs #9742 3 years ago
Jordi Boggiano 40800df6bd
Fix CS 3 years ago
Jordi Boggiano 52967c32cf
Remove unused var 3 years ago
Jordi Boggiano 48d02b479b
Fix output of PathDownloader during upgrades 3 years ago
Jordi Boggiano b3951b8804
Fix output of FileDownloader and related to avoid async issues 3 years ago
Jordi Boggiano 67261e8d47
Make package removals async as well, refs #9618 3 years ago
Jordi Boggiano f37f3dab04
Fix abort of downloads and zip extraction to happen immediately, fixes #9390 3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Michaël Jacobs 611a9f5dab Drop unused imports 4 years ago
Michaël Jacobs c35a8e77c7 Fix missing directory separator in FileDownloader 4 years ago
Jordi Boggiano bc9336946e
Trim trailing slash in path downloader to avoid symlink issues, and in FileDownloader::getLocalChanges as we append a string without slash, refs #9422 4 years ago
Ondřej Mirtes 48b23b1607
Simplify code in FileDownloader.php 4 years ago
Jordi Boggiano 1bf2df19dd
Avoid cleaning up $path in downloaders if it is the CWD (create-project use case), refs #9396 4 years ago
Chauncey McAskill 1bb87babe6 Fix availability of $urls in FileDownloader
Fixed:
- Ensure manipulations to the first element of $urls in the $download callback are available in $accept and $reject
4 years ago
Jordi Boggiano 24abd233ec
Merge branch 'master' into code-improvements 4 years ago
Fränz Friederes 369c2ff552
Implement PR code style feedback 4 years ago
Simon Berger 80a75e9959 Minor code improvements 4 years ago
Fränz Friederes a1a3e29f52
Fix using inside anonymous function 4 years ago
Fränz Friederes 57e1ce6cdb
Change the file download cache key with the processed URL, implement custom cache key 4 years ago
Jordi Boggiano 90332f1dbd
Add a readonly mode to the cache, fixes #9150 4 years ago
Jordi Boggiano 83c64a9d19
Reuse operation formatting logic in downloaders 4 years ago
Jordi Boggiano 09fc263d37
Fix status command bug 4 years ago