Simon Berger
7053b6f761
Fixed function case declaration <> call
2020-09-20 02:16:28 +02:00
Simon Berger
33d7a64df9
Removed unused private functions
2020-09-20 02:16:28 +02:00
Simon Berger
a6475a7118
Removed unused variables, properties and parameters of private functions
2020-09-20 02:16:28 +02:00
Simon Berger
002fd39bc6
Removed passing of parameters with default value
2020-09-20 02:16:28 +02:00
Simon Berger
cda6e8bea6
Removed unnecessary property initialization or declaration
2020-09-20 02:16:28 +02:00
Simon Berger
6b3b51e299
Fixed $this usage on static functions
2020-09-20 02:16:28 +02:00
Fränz Friederes
7a49cda9f6
Fix PHPDoc types on new PreFileDownloadEvent property
2020-09-16 20:13:20 +02:00
Lars Strojny
696f27ca83
Enable APCu if prefix is set
2020-09-16 13:44:51 +02:00
Fränz Friederes
a1a3e29f52
Fix using inside anonymous function
2020-09-16 11:39:34 +02:00
Lars Strojny
6899060f6e
Remove superfluous use
2020-09-16 10:54:52 +02:00
Fränz Friederes
57e1ce6cdb
Change the file download cache key with the processed URL, implement custom cache key
2020-09-16 10:54:14 +02:00
Lars Strojny
7db8b33a9e
Restore
2020-09-16 10:53:55 +02:00
Lars Strojny
0b6abf3b96
APCu prefix as a separate option
2020-09-16 10:49:00 +02:00
Lars Strojny
de0085767c
Sanitize prefix
2020-09-15 12:39:22 +02:00
Lars Strojny
dafd225a35
Allow to pass a string for apcu-autoloader to set the APCu prefix
2020-09-14 22:36:53 +02:00
Jordi Boggiano
bd2f321527
Merge pull request #9208 from simonberger/cleanup-memory-limit-logic
...
Cleaned up memory_limit set logic
2020-09-14 21:26:48 +02:00
Jordi Boggiano
99300f6dc0
Merge pull request #9206 from staabm/patch-3
...
Improve error message further
2020-09-14 21:25:21 +02:00
Jordi Boggiano
548f346282
Merge pull request #9203 from simonberger/lazy-provider-skip-failed-exception
...
Do not hard fail on lazy repository when network is disabled and no package cache exists
2020-09-14 21:23:19 +02:00
Simon Berger
3aadbaa6c4
Cleaned up memory_limit set logic
2020-09-12 21:09:20 +02:00
Markus Staab
cf9786f112
Improve error message further
2020-09-12 11:13:37 +02:00
Simon Berger
74e02193a8
Do not hard fail on lazy repository when network is disabled and no package cache exists
2020-09-11 21:35:20 +02:00
Jordi Boggiano
6cf4ba051c
Update messaging about plugin errors
2020-09-11 13:43:32 +02:00
Jordi Boggiano
c1b0e6c293
Merge pull request #9054 from GrahamCampbell/php8
...
Fix tests on PHP 8.0
2020-09-11 11:58:15 +02:00
Jordi Boggiano
c2317d59bb
Bump phpstan and deps
2020-09-11 11:56:16 +02:00
Jordi Boggiano
89c4cb8836
Bump phpstan and deps
2020-09-11 11:48:08 +02:00
Jordi Boggiano
d942c65e0c
Fix more warnings
2020-09-11 11:32:09 +02:00
Jordi Boggiano
711d4792ce
Attempt rolling back a couple changes
2020-09-11 11:23:24 +02:00
Graham Campbell
144d8e5359
Removed guff
2020-09-11 11:23:24 +02:00
Graham Campbell
1a2fea3509
Fix actions on PHP 8.0
2020-09-11 11:23:24 +02:00
Jordi Boggiano
a1c731b552
Merge pull request #9200 from Seldaek/phpunit-warns
...
Fix warnings on higher phpunit versions
2020-09-11 11:02:33 +02:00
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
2020-09-11 11:01:32 +02:00
Jordi Boggiano
bb96b04f4a
Remove dead code
2020-09-10 16:05:31 +02:00
Jordi Boggiano
5c0c51388a
Update changelog
2020-09-10 15:30:36 +02:00
Jordi Boggiano
2a82371adf
Rename available-package-regexes to available-package-patterns and switch negated function around, refs #9197
2020-09-10 14:58:05 +02:00
Jordi Boggiano
8d985634a8
Merge remote-tracking branch 'mbaynton/available-packages-regex'
2020-09-10 14:33:51 +02:00
Mike Baynton
66a767c065
specify covered names with regexes in 2.x repos
...
This supplements the available-packages list so that repositories may
rule themselves out of a given name (and thus not be probed with lazy
load requests) by regex, as well as by exact name match.
The use case is sizeable and varying supplemental Composer repositories
such as packages.drupal.org, which otherwise must either maintain a list
of over 10k package names in their root packages.json or accept lots of
lazy-load requests for unrelated packages that will 404.
2020-09-09 21:43:46 -05:00
Jordi Boggiano
0408207e35
Merge branch '1.10'
2020-09-09 11:49:04 +02:00
Jordi Boggiano
44508319d1
Update semver and changelog
2020-09-09 11:46:28 +02:00
Jordi Boggiano
4a02768591
Fail hard if an invalid root alias is detected
2020-09-09 11:44:05 +02:00
Jordi Boggiano
348964f2ed
Merge branch '1.10'
2020-09-08 23:03:29 +02:00
Jordi Boggiano
d61c1ccb7c
Update changelog
2020-09-08 22:58:48 +02:00
Jordi Boggiano
a5f5838873
Update semver to latest
2020-09-08 22:57:43 +02:00
Jordi Boggiano
6f91e038ea
Merge branch '1.10'
2020-09-08 17:04:03 +02:00
Jordi Boggiano
f4f952f1ce
Update changelog
2020-09-08 16:53:29 +02:00
Jordi Boggiano
e11d19c255
Update deps
2020-09-08 16:45:52 +02:00
Jordi Boggiano
bce1e77c45
Bump dependencies
2020-09-08 16:33:57 +02:00
Jordi Boggiano
c6d0309d48
Merge pull request #9188 from simonberger/fix-php53-closure-self-usage
...
Fix self usage in closures results in fatal error on PHP 5.3
2020-09-08 12:12:59 +02:00
Simon Berger
7ef87626ac
Fixed self usage in closure fails on PHP 5.3
2020-09-08 12:01:51 +02:00
Jordi Boggiano
57b4016f8a
Show default value instead of optional, refs #9181
2020-09-08 12:01:10 +02:00
Jordi Boggiano
5555b04cea
Merge pull request #9181 from shrink/feature/create-project-package-prompt
...
✨ Ask for target directory when using `create-project`
2020-09-08 11:56:22 +02:00