Jordi Boggiano
5780caf208
Fix link when no composer.json is present, fixes #9966
2021-06-26 23:09:27 +02:00
Jordi Boggiano
3a979c7c4b
Merge pull request #9979 from jrfnl/feature/ghactions-turn-on-error-reporting
...
GH Actions: set error_reporting to E_ALL
2021-06-25 23:53:02 +02:00
jrfnl
4324b375af
GH Actions: ensure linting is done against highest/lowest supported PHP version
...
`latest` in the matrix will always refer to the latest stable PHP release, which would now be PHP 8.0.
2021-06-21 21:05:19 +02:00
jrfnl
617d63f40a
GH Actions: set error reporting to E_ALL
...
Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT` and `display_errors` is set to `Off`.
For the purposes of CI, I'd recommend running with `E_ALL` and `display_errors=On` to ensure **all** PHP notices are shown.
2021-06-21 21:03:38 +02:00
Michael Telgmann
66fb240e1b
Fix initial values of CompletePackage properties
2021-06-17 08:46:40 +02:00
Jordi Boggiano
9a32bf9709
Bump source version to 2.1.999
2021-06-09 16:44:06 +02:00
Jordi Boggiano
118c6d545d
Update changelog
2021-06-09 16:25:29 +02:00
Jordi Boggiano
bf3713072c
Fix source binaries not being made executable when symlinks cannot be used, fixes #9961
2021-06-09 16:25:16 +02:00
Jordi Boggiano
2d54a27ebc
Fix config support for new bin-compat value, refs #9959
2021-06-09 16:25:16 +02:00
Jordi Boggiano
3afa0a2df6
Merge pull request #9960 from noniagriconomie/feature-about-version
...
Add Composer version in about command
2021-06-09 16:24:58 +02:00
noniagriconomie
65259ac8e0
Add Composer version in about command
2021-06-09 15:13:01 +02:00
Sebastian Blank
a9031e40eb
Add "symlink" option for "bin-compat" config ( #9959 )
2021-06-09 11:33:44 +02:00
Jordi Boggiano
7157097ea0
Update ISSUE_TEMPLATE.md
2021-06-09 09:47:37 +02:00
Jordi Boggiano
6c1f0cdf24
Handle edge cases too in removeDirectoryPhp to avoid trying to delete symlinks and such, fixes #9955
2021-06-08 21:53:20 +02:00
Jordi Boggiano
f61f2c6872
Also free $file just in case
2021-06-08 21:26:41 +02:00
Jordi Boggiano
c668c24599
Fix autoload events not being dispatched when running dump-autoload command, fixes #9954
2021-06-08 15:34:26 +02:00
Jordi Boggiano
b01cd459b7
Avoid checking if dir is empty if it does not even exist
2021-06-07 16:41:11 +02:00
Jordi Boggiano
8ac5d787b7
Bump CA-bundle version
2021-06-07 16:02:52 +02:00
Jordi Boggiano
aaf722db01
Update PR template
2021-06-07 15:52:33 +02:00
Jordi Boggiano
e9985ef270
Update changelog
2021-06-07 15:51:08 +02:00
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
2021-06-07 15:48:37 +02:00
Jordi Boggiano
e013b479da
Avoid failing hard if the target empty dir cannot be deleted when extracting archives, fixes #9947
2021-06-07 15:34:03 +02:00
Jordi Boggiano
c4f675fe84
Fix virtualbox filesystem issue when installing packages, fixes #9945
2021-06-06 21:11:48 +02:00
Jordi Boggiano
4e4b4f69c9
Revert "Always wait after an unzip completes to try and fix virtualbox issues, refs #9945"
...
This reverts commit 3556f6efa5
.
2021-06-06 21:10:07 +02:00
Jordi Boggiano
dd17f5f615
Add missing use
2021-06-05 20:47:56 +02:00
Jordi Boggiano
3556f6efa5
Always wait after an unzip completes to try and fix virtualbox issues, refs #9945
2021-06-05 20:45:37 +02:00
Jordi Boggiano
c1f0eee154
Revert "Attempt fixing virtualbox issues, refs #9945"
...
This reverts commit 7a7e0cc031
.
2021-06-05 20:42:31 +02:00
Jordi Boggiano
e087a4ab5e
Fix usage of InstalledVersions when loaded from composer/composer installed as a dependency and runtime Composer is v1, fixes #9937
2021-06-05 17:11:23 +02:00
Jordi Boggiano
7a7e0cc031
Attempt fixing virtualbox issues, refs #9945
2021-06-05 16:40:18 +02:00
Jordi Boggiano
edf9951006
Merge pull request #9942 from nicolas-grekas/fix-no-scripts
...
Fix --no-scripts disabling events for plugins
2021-06-05 16:26:01 +02:00
Jordi Boggiano
b45c8dea0a
Cleanups
2021-06-05 16:21:46 +02:00
Jordi Boggiano
cbb1504910
Also do the change in ReinstallCommand
2021-06-05 16:21:46 +02:00
Nicolas Grekas
eac069bf36
Fix --no-scripts disabling events for plugins
2021-06-05 16:09:04 +02:00
Jordi Boggiano
288e19153d
Alternative fix for #9941 to avoid code duplication
2021-06-05 16:04:24 +02:00
Jordi Boggiano
cbd1e3c2af
Fix undefined index access when using "@php <absolute path>" in script handler, fixes #9943
2021-06-05 12:51:23 +02:00
Jordi Boggiano
a82607fb29
Update changelog
2021-06-04 08:46:42 +02:00
Jordi Boggiano
d45e3a98e4
Merge pull request #9938 from adlacruzes/fix_custom_json_schema
...
Fix JsonFile when using custom json schema with no "name" and "descri…
2021-06-04 08:10:46 +02:00
Jordi Boggiano
1bfec451e2
Make sure the LAX_SCHEMA handling disables required/additionalProperties as it used to do but strict schema requires properties only for the composer schema
2021-06-04 08:05:42 +02:00
Jordi Boggiano
5a28f677da
Fix outdated legend and only show legend when there is output to be shown, fixes #9939
2021-06-04 07:55:40 +02:00
Jordi Boggiano
c56cda0a5a
Merge pull request #9941 from Seldaek/workaround_pcre_regression
...
Workaround for PCRE regression
2021-06-04 07:51:23 +02:00
Jordi Boggiano
d77ff0f729
Workaround for PCRE regression
2021-06-04 07:17:57 +02:00
Jordi Boggiano
304455be48
Merge pull request #9935 from Seldaek/fix_autoloader
...
Fix autoload generation for dev dependencies when --no-scripts is used
2021-06-03 22:01:56 +02:00
adlacruzes
7366b8e362
Fix JsonFile when using custom json schema with no "name" and "description" properties
2021-06-03 20:15:35 +02:00
Jordi Boggiano
d5ce7a7385
Fix autoload generation for dev dependencies when --no-scripts is used, fixes #9934
2021-06-03 17:03:42 +02:00
Jordi Boggiano
c686bbd7e2
Clean up invalid errors in baseline
2021-06-03 11:40:02 +02:00
Jordi Boggiano
e58fbb7f67
Fix changelog diff
2021-06-03 11:39:24 +02:00
Jordi Boggiano
f3bc2a3aed
Bump phpstan to level 4 using baseline
2021-06-03 11:36:39 +02:00
Jordi Boggiano
75317412db
Update changelog
2021-06-03 11:29:13 +02:00
Jordi Boggiano
1b34495daa
Some phpstan level 4 fixes
2021-06-03 11:29:00 +02:00
Jordi Boggiano
4c9e75c6e5
Fix CS
2021-06-03 10:38:38 +02:00