Jordi Boggiano
|
6a466a120a
|
Enable strict types on all files
|
2 years ago |
Jordi Boggiano
|
3cdca37e85
|
Fix strict type issues
|
2 years ago |
Jordi Boggiano
|
0db443ba5f
|
Add visibility to all consts, fixes #10550
|
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
|
eda9014bef
|
Add return types to all code which is not being extended by open source packages
|
2 years ago |
Jordi Boggiano
|
a16ed3d0ed
|
Add return types to private/internal methods
|
2 years ago |
Jordi Boggiano
|
abdc6893a6
|
Add void types where no return statement is present
|
2 years ago |
Jordi Boggiano
|
32852304d0
|
Make use of some new PHP features
|
2 years ago |
Jordi Boggiano
|
3446091027
|
Merge branch '2.2' into main
|
2 years ago |
Jordi Boggiano
|
88171e409d
|
Remove superfluous arg
|
2 years ago |
Jordi Boggiano
|
39cb505d69
|
Fix phpstan warnings
|
2 years ago |
Jordi Boggiano
|
e7c04e3e12
|
Improve error reporting when a tag was recreated or a commit is missing, fixes #10484
|
2 years ago |
Jordi Boggiano
|
62d5f4f295
|
Fix phpstan errors
|
2 years ago |
Jordi Boggiano
|
45bbe43aac
|
Fix case where symlink:true still can downgrade to a copy on windows, refs #10482
|
2 years ago |
Jordi Boggiano
|
0ece276c7c
|
Get rid of redundant \Exception catch blocks
|
2 years ago |
Jordi Boggiano
|
4e6d54b731
|
Fix all 5.3 $this-in-closure usages
|
2 years ago |
Jordi Boggiano
|
24ce1eddbd
|
Add composer/pcre dependency and use it everywhere instead of preg_*
|
3 years ago |
Stephan
|
63b5cbe000
|
GitDownloader: add option for single use git clone to avoid --dissociate when cloning from local copy (#10288)
|
3 years ago |
Jordi Boggiano
|
f509c41280
|
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
|
3 years ago |
Jordi Boggiano
|
bd4d624cc7
|
Read first from $_SERVER and $_ENV before using getenv (#10218)
|
3 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
|
b209816056
|
Type annotations
|
3 years ago |
Jordi Boggiano
|
915f3f4fb6
|
Make sure that if cleanup happens before install completes on zip updates, we do not report bogus errors, fixes #9804
|
3 years ago |
Jordi Boggiano
|
d1c8a4d1b4
|
Lots of typing improvements
|
3 years ago |
Jordi Boggiano
|
d6a8b0252d
|
Fix phpdoc
|
3 years ago |
Jordi Boggiano
|
4bcd860b65
|
Add more type annotations
|
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
|
5c201687e5
|
Fix 7zip issues on windows when mixing forward and backslashes, fixes #10058
|
3 years ago |
Jordi Boggiano
|
91a1a471db
|
Fix path repo bug causing symlinks to be left behind when uninstalling, fixes #10023
|
3 years ago |
Jordi Boggiano
|
60fe67086e
|
Make sure proc_open is not required for basic installs, refs #9253
|
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
|
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 |
Jordi Boggiano
|
b01cd459b7
|
Avoid checking if dir is empty if it does not even exist
|
3 years ago |
Jordi Boggiano
|
e013b479da
|
Avoid failing hard if the target empty dir cannot be deleted when extracting archives, fixes #9947
|
3 years ago |
Jordi Boggiano
|
4e4b4f69c9
|
Revert "Always wait after an unzip completes to try and fix virtualbox issues, refs #9945"
This reverts commit 3556f6efa5 .
|
3 years ago |
Jordi Boggiano
|
dd17f5f615
|
Add missing use
|
3 years ago |
Jordi Boggiano
|
3556f6efa5
|
Always wait after an unzip completes to try and fix virtualbox issues, refs #9945
|
3 years ago |
Jordi Boggiano
|
4c9e75c6e5
|
Fix CS
|
3 years ago |
Jordi Boggiano
|
8bf0ddf905
|
Clean up ZipDownloader, always do async first if possible then fallback to non-async
|
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 |
Nicolas Grekas
|
bec76367db
|
Speedup extracting on Windows
|
3 years ago |