1
0
Fork 0
Commit Graph

12568 Commits (31d83b2c0f19e878eaa3bd057e4c1972f90a482d)

Author SHA1 Message Date
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
Quỳnh Nguyễn 6ec76db926
Remove redundant boolean type casts (#12033) 2024-07-10 11:04:20 +02:00
Ilya Urvachev 03bbfdd8f4
fix(Locker): don't store transport-options.ssl within the lock-file (#12019) 2024-07-10 10:35:26 +02:00
Jordi Boggiano b2832867e6
Fix some edge cases of tilde constraints in bump command (#12038)
* Fix: Add test case for not dropping patch version for tilde

* Fix some edge cases of tilde constraints in bump command, fixes #11218

---------

Co-authored-by: Matthias Vogel <git@kanti.de>
2024-07-10 09:47:37 +02:00
Jordi Boggiano e61d4ad986
Update deps 2024-07-06 23:35:00 +02:00
Quỳnh Nguyễn dffa0a73a7
Fix typo for IO tests (#12027) 2024-07-02 00:30:29 +02:00
Jordi Boggiano 11e5237ad9
Update deps 2024-06-12 16:14:13 +02:00
Jordi Boggiano a4a83a341a
Update changelog 2024-06-10 22:14:46 +02:00
Jordi Boggiano 01ce481f22
Reverting release version changes 2024-06-10 22:11:13 +02:00
Jordi Boggiano 291942978f
Release 2.7.7 2024-06-10 22:11:12 +02:00
Jordi Boggiano e354a8d290
Update changelog 2024-06-10 22:10:31 +02:00
Jordi Boggiano 04a63b324f
Add more characters for best fit encoding protection 2024-06-10 22:08:29 +02:00
Jordi Boggiano ad8985e6b0
Update changelog 2024-06-10 21:49:15 +02:00