Jordi Boggiano
17f6363ea9
Fix tests
2021-05-21 16:49:17 +02:00
John Stevenson
ce19bcd992
Upgrade to xdebug-handler 2 ( #9832 )
...
This adds support for Xdebug3 modes and changes the default behaviour
from always restarting if Xdebug is loaded, to only restarting if Xdebug
is active.
Xdebug is considered active if it is loaded, and for Xdebug3, if it is
running in a mode other than `xdebug.mode=off`.
2021-05-21 16:47:29 +02:00
Jordi Boggiano
23d1de5d59
Merge branch '2.0'
2021-05-21 16:44:33 +02:00
Jordi Boggiano
fee22972ea
Update basic docs on install/update, fixes #9754
2021-05-21 16:44:05 +02:00
Jordi Boggiano
6441e1f94f
Merge branch '2.0'
2021-05-21 15:01:18 +02:00
Jordi Boggiano
7d19930ca6
Fix minimum-stability validation to match what VersionParser::normalizeStability does, closes #9904
2021-05-21 15:00:48 +02:00
Jordi Boggiano
019d051e9e
Fix type
2021-05-21 14:50:30 +02:00
Jordi Boggiano
284ec95712
Document new methods and update the composer-runtime-api version to 2.1
2021-05-21 14:34:51 +02:00
Jordi Boggiano
82cffa17d3
Undo addition of initializeInstalled and remove inline copy of the data from the class
2021-05-21 14:34:51 +02:00
Jordi Boggiano
3fe4f84a76
Fix handling of metapackages with null paths, and handling of paths which do not have a shortest-path and require an absolute path to be addressed
2021-05-21 14:33:10 +02:00
Jordi Boggiano
518b44a810
Clean up dump code to avoid reimplementing var export, and remove DIRECTORY_SEPARATOR
2021-05-21 14:33:10 +02:00
Jordi Boggiano
5a69a1e483
Add InstalledVersions::getInstallPath($package) getter, and update phpdoc types
2021-05-21 14:33:10 +02:00
Jordi Boggiano
8335b49cf0
Rename dev-requirement to dev_requirement for consistency
2021-05-21 14:33:09 +02:00
Jochen Roth
b6c9d34125
Add install-path and type to installedVersions.php and installed.php, add method to get installed packages by type
...
Issue https://github.com/composer/composer/issues/9648
2021-05-21 14:33:09 +02:00
Jordi Boggiano
31cc102850
Merge branch '2.0'
2021-05-21 14:32:06 +02:00
Frank Prins
e83e92b2ae
Ignore platform requirements like "ext-*" and "php" when validating the lock file as they don't get locked
2021-05-20 21:14:30 +02:00
Frank Prins
32b70142d9
Replace static anonymous function and replace it with normal anonymous function as static ones are only supported on PHP5.4 and up
2021-05-20 20:55:00 +02:00
Frank Prins
f4d3a1e478
Detect missing packages that are a requirement or dev-requirement but not locked.
2021-05-20 20:44:53 +02:00
Nils Adermann
16279d328e
Merge pull request #9816 from Seldaek/install_deprecate
...
Deprecate InstalledVersions::getRawData in favor of getAllRawData
2021-05-20 16:54:33 +02:00
Jordi Boggiano
8a3f4a8400
Add secure-svn-domains config option to mark secure svn:// hostnames, fixes #9872
2021-05-20 16:27:58 +02:00
Jordi Boggiano
458bd41d8f
Update docs and add more helpful output to validate command, refs #9782
2021-05-20 16:11:51 +02:00
Jordi Boggiano
89c3045e2b
Merge remote-tracking branch 'BoShurik/schema'
2021-05-20 15:42:39 +02:00
Jordi Boggiano
ac49e61931
Add more tests
...
Co-authored-by: Guilliam Xavier <guilliamxavier@users.noreply.github.com>
2021-05-20 15:41:56 +02:00
Jordi Boggiano
991985792d
Merge branch '2.0'
2021-05-20 14:16:52 +02:00
Guilliam Xavier
8d8842eb8c
Fix schema minimum-stability pattern
2021-05-20 14:15:39 +02:00
Jordi Boggiano
251b852fd2
Make sure async processes fail the promise if they fail to start, fixes #9808
2021-05-20 14:15:14 +02:00
Jordi Boggiano
8427b6c8ed
Also make sure filesystem is up to date before generating binary links, refs #9627
2021-05-20 13:27:20 +02:00
Jordi Boggiano
9ba042ded8
Add Platform-PHP version to user-agent header to improve targetted-php stats ( #9873 )
2021-05-20 10:17:30 +02:00
Jérémy Derussé
68f86be726
Allow Symfony 6.0 ( #9896 )
2021-05-20 09:42:21 +02:00
Jordi Boggiano
c4ed9f5566
Update community section of readme
2021-05-19 15:24:01 +02:00
Jordi Boggiano
5bf614a762
Merge branch '2.0'
2021-05-17 22:35:56 +02:00
Jordi Boggiano
dd54f295fe
Fix progress output, and remove progress bar on CI env, fixes #9621 , closes #9880
2021-05-17 22:34:32 +02:00
Gert de Pagter
cc7c6e569b
Make a note about lower casing of package names ( #9883 )
2021-05-17 22:18:06 +02:00
Jordi Boggiano
aa2e7c387a
Update deps
2021-05-17 15:09:03 +02:00
Nils Adermann
05caeb008f
Merge pull request #9887 from Seldaek/require-exts-simpler
...
Use a simpler suggested require version of * to keep things simple for extensions which are versioned like PHP
2021-05-17 14:47:29 +02:00
Jordi Boggiano
459a7d9623
Use a simpler suggested require version of * to keep things simple for extensions which are versioned like PHP, fixes #9483
2021-05-17 14:36:46 +02:00
Michael Voříšek
5456cf8197
Fix EOL of text files ( #9877 )
2021-05-12 15:19:52 +02:00
Jordi Boggiano
0021758e0b
Merge branch '2.0'
2021-05-10 13:14:14 +02:00
Jordi Boggiano
d56387edb7
Also handle throwable on supported php versions
2021-05-10 13:14:08 +02:00
Jordi Boggiano
649087d6de
Fix type issues with root package interface
2021-05-04 16:47:54 +02:00
Jordi Boggiano
22cc96682d
Merge branch '2.0'
2021-05-04 16:43:31 +02:00
Jordi Boggiano
b268e20d9f
Fix invalid interface usage
2021-05-04 16:43:24 +02:00
Jordi Boggiano
7b77161b7e
Merge branch '2.0'
2021-05-04 16:29:32 +02:00
Jordi Boggiano
37f4f531d0
Avoid leaving the event stack in a dirty state if an event listener throws, fixes #9846
2021-05-04 16:18:38 +02:00
timrizzi
6b7f795956
Link to GitLab documentation for auth ( #9833 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2021-05-04 16:05:05 +02:00
Jordi Boggiano
a844fce23e
Fix handling of inline-update-constraints with refs or stability flags, fixes #9847
2021-05-04 14:14:57 +02:00
Jordi Boggiano
a04202aa7d
Merge pull request #9864 from Seldaek/dev-versions-dx
...
Hint at a branch rename if we detect dev-master can not be found and condense dev-* versions in problem output
2021-05-04 13:38:33 +02:00
Jordi Boggiano
3380178798
Introduce a cross-platform safe version of is_readable to support UNC / wsl$ paths on Windows ( #9861 )
2021-05-04 13:25:52 +02:00
Jordi Boggiano
298246dccb
Also condense dev-* versions if there are many, refs #9850
2021-05-03 14:42:59 +02:00
Jordi Boggiano
9b7a8d4543
Hint at a branch rename if we detect dev-master can not be found but dev-main or dev-default exists, fixes #9850
2021-05-03 14:42:58 +02:00