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
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
f509c41280
Upgrade PHPStan to 1.0 ( #10253 )
...
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Jordi Boggiano
c65d09dff7
Fix @inheritDoc 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
4bcd860b65
Add more type annotations
3 years ago
Jordi Boggiano
5c201687e5
Fix 7zip issues on windows when mixing forward and backslashes, fixes #10058
3 years ago
Jordi Boggiano
60fe67086e
Make sure proc_open is not required for basic installs, 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
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
Nicolas Grekas
bec76367db
Speedup extracting on Windows
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
2a36c3a70a
Minor tweaks
4 years ago
Jordi Boggiano
aaef3ff5ff
Improve error reporting when unzip fails due to race condition in unhandled Promise, refs #8988
4 years ago
Jordi Boggiano
9c78eda7db
Fix FileDownloader::update impl to handle promises
4 years ago
Jordi Boggiano
3af617efe8
Parallelize zip extraction using async unzip processes
4 years ago
Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
4 years ago
Jordi Boggiano
f6b3f12107
Merge branch 'master' into 2.0
5 years ago
Sergii Bondarenko
bb127aa3e7
Resolves #8461 : [ZipDownloader] Print `unzip` exit code when the command is failed
5 years ago
Jordi Boggiano
53d2ab2253
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903
5 years ago
CZechBoY
a062cd1a31
added phpstan on level 0
5 years ago
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
5 years ago
Jordi Boggiano
713bc4de1d
Minor fixes and updated the rest of the code/tests to use HttpDownloader
5 years ago
Jordi Boggiano
56805ecafe
Add HttpDownloader to wrap/replace RemoteFilesystem with a new curl multi implementation
5 years ago
Jérôme Tanghe
a51563300c
Warning about the UNIX permissions lost if unzip command is not installed.
...
Some packages provide (such as Symfony Panther or Dusk) executable files, but
as PHP's unzip extension does not handle UNIX permissions, those files will
lose their executable ones.
6 years ago
Jordi Boggiano
9bc578e24a
Fix warning tag name, fixes #7494
6 years ago
Rasmus Schultz
5bae1913ab
swap tests to prevent conflicting error-messages
6 years ago
Rasmus Schultz
07867724d0
add back the warning about missing unzip
...
display an error-message on non-Windows OS if unzip is unavailable, per #7383
6 years ago
AjiYakin
03c560ce05
Warn identical names w/ different capitalization for unzip
...
Warn about identical names with different capitalization on unzip archive
extract failure (Not a directory)
Issue #5938
7 years ago
Martin Hasoň
88ec172bd8
Fix CS
7 years ago
Jordi Boggiano
c917c52f81
Message tweak, refs #6341
7 years ago
AjiYakin
8858b27ced
Warn identical names w/ different capitalization - extract zip archive
...
Warn about identical names with different capitalization on zip archive
extract failure (Not a directory)
Issue #5938
7 years ago
Jordi Boggiano
eff9326b0d
Fix BC break, fixes #6419
7 years ago
Jordi Boggiano
61511cfed6
Fix CS issues, refs #6159
7 years ago
Guillaume ZITTA
f89e01d622
switch first / fallback order
7 years ago
Guillaume ZITTA
2e8d715c2f
fix bad visibility
7 years ago
Guillaume ZITTA
98b7bd68b4
fix docstring and useless return
7 years ago
Guillaume ZITTA
921ffe741f
Cleaner fallback Algorithm
7 years ago
Guillaume ZITTA
211c874b93
split into 2 extract methods
7 years ago
Guillaume ZITTA
374ada6914
useless if, condition il already true
7 years ago
Jordi Boggiano
4d082f77b8
Simplify composer output to take less lines
8 years ago
johnstevenson
379fb70ad9
Use random name for tmp ini and delete after use
...
Thanks to Patrick Rose for reporting this issue.
8 years ago