1
0
Fork 0
Commit Graph

10973 Commits (81ad4e7e58270afbc38e5fbd26edb45b884a2bfa)

Author SHA1 Message Date
Jordi Boggiano 005c55185a
Fix support for writing into UNC paths, and comparing UNC paths correctly in InstalledVersions, fixes #9993 2021-07-12 14:03:00 +02:00
Jordi Boggiano cc81f5bac3
Fix support for UNC paths in normalizePath, refs #9993 2021-07-12 13:36:57 +02:00
Ondřej Mirtes c65890d2d3
DiagnoseCommand - fix PHPDoc (#9991) 2021-07-07 21:52:53 +02:00
Jordi Boggiano 078aaa6968
Make sure the correct name is being output, fixes #9986 2021-06-27 14:45:31 +02:00
Jordi Boggiano a5efbbc94a
Validate schema before writing the file, fixes #9986 2021-06-27 14:45:31 +02:00
Jordi Boggiano 420d9bf21d
Move name validation out of interact, fixes #9986 2021-06-27 14:45:30 +02:00
Jordi Boggiano e87a150f41
Make sure schema issues are always reported correctly, but not in init when Composer is not required, fixes #9986 2021-06-27 14:45:30 +02:00
Jordi Boggiano 6f992a6ea3
Merge pull request #9975 from mitelg/fix-annotation-complete-package-interface
Fix initial values of CompletePackage properties
2021-06-26 23:16:58 +02:00
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 32eb3b459a
Update deps 2021-06-08 21:15:28 +02:00
Jordi Boggiano a02802b109
Warn 1.x users when a package is not found that it may be due to our deprecation policy 2021-06-08 21:12:49 +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