Jordi Boggiano
2be03f0d60
More fixes for php8.1 deprecations
3 years ago
Thomas Dutrion
82a7c527f9
Highlight the proprietary license trick
...
From the Symfony Dev #french slack channel (symfony-devs.slack.com), people look confused regarding the value to use as license for proprietary projects, even though it's written in the documentation.
Because proprietary software is still a massive part of composer's usage, I think it can be interesting to have it as a note, more readable to people.
Extract from the conversation:
> J’étais sur la bonne page, il me manquait deux lignes de scroll pour voir ça -.- On a tous nos petits moments de faiblesse
Which roughly translates to:
> I was looking at the right page, just about two lines above... We all have our weak moments
3 years ago
Jordi Boggiano
a7efb27338
More php8.1 deprecation fixes, refs #10008
3 years ago
Jordi Boggiano
47cf602f9e
Fix more PHP 8.1 deprecations, refs #10008
3 years ago
Jordi Boggiano
10ae1d7b08
Fix some PHP 8.1 deprecation warnings, fixes #10008
3 years ago
Jordi Boggiano
f5a03b950d
Improve error reporting in require command, fixes invalid case of consistency issue, fixes #10006
3 years ago
Ondrej Mirtes
79093d664b
Update PHPStan and remove ignore
3 years ago
Jordi Boggiano
052a455672
Merge pull request #10002 from ondrejmirtes/patch-2
...
Simplify code
3 years ago
Ondřej Mirtes
58ced29a2a
Simplify code
3 years ago
Jordi Boggiano
be58b36a35
Also look up 7zz on linux/macOS, fixes #9951
3 years ago
Jordi Boggiano
b602b19f6d
Fix archive command now that zips are extracted async, refs composer/satis#655
3 years ago
Jordi Boggiano
db1d9e75be
Fix support for 7z command fallback on linux/macOS, fixes #9994
3 years ago
Jordi Boggiano
bacbd15b6b
Fix open_basedir support regession in bfea0f7d1
3 years ago
Jordi Boggiano
5152eeebdc
Merge pull request #9995 from Seldaek/fix_wsl
...
Fix UNC/WSL-path issues when running in Windows
3 years ago
Jordi Boggiano
005c55185a
Fix support for writing into UNC paths, and comparing UNC paths correctly in InstalledVersions, fixes #9993
3 years ago
Jordi Boggiano
cc81f5bac3
Fix support for UNC paths in normalizePath, refs #9993
3 years ago
Ondřej Mirtes
c65890d2d3
DiagnoseCommand - fix PHPDoc ( #9991 )
3 years ago
Jordi Boggiano
078aaa6968
Make sure the correct name is being output, fixes #9986
3 years ago
Jordi Boggiano
a5efbbc94a
Validate schema before writing the file, fixes #9986
3 years ago
Jordi Boggiano
420d9bf21d
Move name validation out of interact, fixes #9986
3 years ago
Jordi Boggiano
e87a150f41
Make sure schema issues are always reported correctly, but not in init when Composer is not required, fixes #9986
3 years ago
Jordi Boggiano
6f992a6ea3
Merge pull request #9975 from mitelg/fix-annotation-complete-package-interface
...
Fix initial values of CompletePackage properties
3 years ago
Jordi Boggiano
5780caf208
Fix link when no composer.json is present, fixes #9966
3 years ago
Jordi Boggiano
3a979c7c4b
Merge pull request #9979 from jrfnl/feature/ghactions-turn-on-error-reporting
...
GH Actions: set error_reporting to E_ALL
3 years ago
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.
3 years ago
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.
3 years ago
Michael Telgmann
66fb240e1b
Fix initial values of CompletePackage properties
3 years ago
Jordi Boggiano
9a32bf9709
Bump source version to 2.1.999
3 years ago
Jordi Boggiano
118c6d545d
Update changelog
3 years ago
Jordi Boggiano
bf3713072c
Fix source binaries not being made executable when symlinks cannot be used, fixes #9961
3 years ago
Jordi Boggiano
2d54a27ebc
Fix config support for new bin-compat value, refs #9959
3 years ago
Jordi Boggiano
3afa0a2df6
Merge pull request #9960 from noniagriconomie/feature-about-version
...
Add Composer version in about command
3 years ago
noniagriconomie
65259ac8e0
Add Composer version in about command
3 years ago
Sebastian Blank
a9031e40eb
Add "symlink" option for "bin-compat" config ( #9959 )
3 years ago
Jordi Boggiano
7157097ea0
Update ISSUE_TEMPLATE.md
3 years ago
Jordi Boggiano
6c1f0cdf24
Handle edge cases too in removeDirectoryPhp to avoid trying to delete symlinks and such, fixes #9955
3 years ago
Jordi Boggiano
f61f2c6872
Also free $file just in case
3 years ago
Jordi Boggiano
32eb3b459a
Update deps
3 years ago
Jordi Boggiano
a02802b109
Warn 1.x users when a package is not found that it may be due to our deprecation policy
3 years ago
Jordi Boggiano
c668c24599
Fix autoload events not being dispatched when running dump-autoload command, fixes #9954
3 years ago
Jordi Boggiano
b01cd459b7
Avoid checking if dir is empty if it does not even exist
3 years ago
Jordi Boggiano
8ac5d787b7
Bump CA-bundle version
3 years ago
Jordi Boggiano
aaf722db01
Update PR template
3 years ago
Jordi Boggiano
e9985ef270
Update changelog
3 years ago
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
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
c4f675fe84
Fix virtualbox filesystem issue when installing packages, fixes #9945
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