Jordi Boggiano
07248f4323
Fix require command skipping new stability-flags from the lock file, fixes #11698 ( #12112 )
2024-09-18 09:16:31 +02:00
Jordi Boggiano
c2b1667cac
Update deps
2024-09-17 15:30:02 +02:00
Jordi Boggiano
f17df6d5a1
Fix handling of platform packages in why-not command and partial updates, fixes #12104 ( #12110 )
2024-09-17 13:31:33 +02:00
Jordi Boggiano
f9e6214bd9
Fix completion docs, fixes #12099
2024-09-17 11:07:27 +02:00
Jordi Boggiano
305b3413cf
Add test covering the fix for #12107 , closes #12108
2024-09-17 09:52:56 +02:00
Jordi Boggiano
3e7b826904
Avoid opening php://stdin multiple times, fixes #12107
2024-09-17 09:47:23 +02:00
Jordi Boggiano
1b5b56f234
Fix handling of COMPOSER_ROOT_VERSION to normalize according to expectations, fixes #12101 ( #12109 )
2024-09-17 08:38:43 +02:00
Jordi Boggiano
5f2b91aea8
Revert "fix(Locker): don't store transport-options.ssl within the lock-file ( #12019 )"
...
This reverts commit 03bbfdd8f4
.
2024-09-16 11:31:52 +02:00
Jordi Boggiano
e4038e5e3b
Reverting release version changes
2024-09-04 14:43:28 +02:00
Jordi Boggiano
e30ccdd665
Release 2.7.9
2024-09-04 14:43:28 +02:00
Jordi Boggiano
260a254905
Update changelog
2024-09-04 14:31:15 +02:00
Jordi Boggiano
1980f562ca
Update deps
2024-09-04 14:14:17 +02:00
Jordi Boggiano
1fcb6a5d53
Fix docker detection breaking on constrained environments, fixes #12095
2024-09-02 10:24:23 +02:00
Jordi Boggiano
4a34725682
Bump dependencies, fixes #12015
2024-09-01 22:17:55 +02:00
Jordi Boggiano
d832d8c6c5
Simplify lint CI
2024-09-01 20:53:37 +02:00
Jordi Boggiano
aca19582b5
Reverting release version changes
2024-08-22 15:28:36 +02:00
Jordi Boggiano
a2edd4e441
Release 2.7.8
2024-08-22 15:28:36 +02:00
Jordi Boggiano
ca98528555
Update changelog
2024-08-22 15:28:29 +02:00
Jordi Boggiano
b96821c727
Fix build
2024-08-22 15:04:02 +02:00
Jordi Boggiano
a17096f5ba
Fix copy() sometimes failing on virtualbox shared folders, fixes #12057
2024-08-22 12:44:48 +02:00
Jordi Boggiano
bbb603490b
Fix duplicate libraries causing issues when conflicting extensions from core and pecl are installed concurrently ( #12093 )
...
Fixes #12082
2024-08-22 12:11:39 +02:00
Jordi Boggiano
39d9a5b6c5
Fix relative:true not being respected in path repo installs, fixes #12074 ( #12092 )
2024-08-22 11:45:25 +02:00
Mohamed Hubail
1684f82a43
Add `InitCommand.php` Interactive test case ( #12068 )
...
* Add single test case for interactive `init` command
* Fix spelling + use single quotes
* Fix test expectations
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-08-22 10:49:55 +02:00
Jordi Boggiano
f931887304
Detect incorrectly configured COMPOSER env when set to a directory, refs #12049
2024-08-22 10:49:04 +02:00
Mohamed Hubail
8c5f2dbb97
Add `GlobalCommandTest.php` ( #12073 )
...
* Add `GlobalCommandTest.php`
- `testGlobal` to check `COMPOSER_HOME` is followed correctly + check
`COMPOSER` is unset.
- `testNotCreateHome` to test handling invalid `COMPOSER_HOME`.
* Add error string for non obvious test case
* Clean up env vars and minor code style changes
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-08-22 10:38:16 +02:00
Mohamed Hubail
dca85cc940
Add "require command with conflicting keys" test ( #12072 )
...
* Add test case for conflicting both with `--dev` and without
* Implement interactive case
* Restrcture so that interactive case is actually interactive
I don't know why specifying `'--no-interaction' => !$isInteractive,`
didn't give the desired behavior of the prompt being interactive.
You can verify that by printing the `$appTester->getDisplay()` which
doesn't contain a prompt. In fact, it doesn't make any difference
whether I set it to true or false. The only difference is if I set it
or don't set it.
* Fix dreaded trainling comma
2024-08-22 10:27:58 +02:00
viktor-kup
cbfa298501
Add missing semicolon to code example ( #12067 )
2024-08-21 18:49:52 +02:00
Jordi Boggiano
e173d20450
Ensure COMPOSER_AUTH takes precedence over local auth.json, fixes #12084
2024-08-21 18:39:07 +02:00
Mohamed Hubail
47b924d27c
Add Update Interactive tests ( #12065 )
...
* Add Update Interactive tests
* Fix type + remove extra comma
* Used `php-cs-fixer`
* Normalize for windows + fix use of `Generator`
2024-08-21 18:14:40 +02:00
Jordi Boggiano
8715c7b8d6
Update lock file
2024-08-21 17:17:44 +02:00
Jordi Boggiano
d50cc69ffb
Bump more deps
2024-08-21 17:16:43 +02:00
Jordi Boggiano
04db9478bf
Bump minimum dep versions
2024-08-21 17:10:44 +02:00
Jordi Boggiano
8f3fed674b
Clean up md5/sha1 usages, upgrade algos where possible ( #12088 )
...
* Clean up md5/sha1 usages, upgrade algos where possible
* Fully qualify PHP_VERSION_ID constant usages
* Fix 7.2 build
2024-08-21 17:06:42 +02:00
Jordi Boggiano
556ca06906
Fix phpstan build with latest deps
2024-08-21 16:44:20 +02:00
Jordi Boggiano
48d345ac3e
Update deps, fix some phpstan issues
...
Update baseline (1484, 84)
2024-08-21 14:47:44 +02:00
Jordi Boggiano
3ba58ea3eb
Normalize namespaces in psr-0/psr-4 rules to fix edge cases, fixes #12028 ( #12063 )
2024-08-19 13:52:44 +02:00
Jordi Boggiano
9da1948585
Improvements to docker detection ( #12062 )
...
* Improvements to docker detection, fixes #11073
* Apply suggestions from code review
Co-authored-by: Dan Wallis <dan@wallis.nz>
2024-08-19 11:01:34 +02:00
Sam L
d3d378184b
Provide release-date/release-age and latest-release-date in composer outdated -A -f json ( #12053 )
2024-07-26 16:21:02 +02:00
Jordi Boggiano
d53cf81429
Fix various phpstan warnings
2024-07-26 09:32:22 +02:00
Jordi Boggiano
17f4984601
Make use of new PHP 8.4.0 function to replace implicit $http_response_header var ( #11995 )
2024-07-25 17:43:11 +02:00
Jordi Boggiano
39981a0e2b
Sanitize VCS URLs when building cache keys, fixes #11917 , closes #11918 ( #12043 )
2024-07-25 17:24:49 +02:00
Jordi Boggiano
eeff1c79ba
Fix addressability of branches containing # characters ( #12042 )
...
Fixes #12029
2024-07-25 16:46:57 +02:00
Jordi Boggiano
7504685a2e
Update phpstan and add composer/pcre extensions ( #12045 )
...
* Update phpstan and add composer/pcre extensions
* Update baseline (1516)
2024-07-25 16:28:25 +02:00
ADmad
029dda0b43
Fix deprecation notice on PHP 8.4 ( #12046 )
...
PHP 8.4 requires nullable arguments to be explicitly declared as such.
2024-07-25 16:26:39 +02:00
Jordi Boggiano
db869409e1
Bump highest php lint to use nightly ( #12058 )
2024-07-25 16:26:13 +02:00
James Titcumb
ea931df77d
Update schema for php-ext section to add needs-value flag ( #12050 )
...
Reference: https://github.com/ThePHPF/pie-design/pull/18
2024-07-19 21:41:33 +02:00
Jordi Boggiano
685add70ec
Refactor the BasePackage::$stabilities into a constant
2024-07-12 11:28:26 +02:00
Jordi Boggiano
07aee7ea8e
Update ca-bundle to latest
2024-07-11 15:57:11 +02:00
Jordi Boggiano
bd03981ea7
Fix archive command crashing if a path cannot be realpathed on windows, fixes #11544
2024-07-11 09:29:55 +02:00
Jordi Boggiano
68f6498bd3
Only read first 500 bytes of a bin file to detect if it is a PHP script, refs #12032
2024-07-10 15:08:18 +02:00