86 Commits (f1f013edde6528e58a47dfd94af527f5b9af801c)

Author SHA1 Message Date
Jordi Boggiano f1f013edde
Downgrade naming errors to warnings again in package links to avoid BC issues with tags on packagist 2 years ago
Stephan 1daafb817d
ValidatingArrayLoader: only validate source/dist properties if they are set (#10658) 2 years ago
Jordi Boggiano beb575dd00
Fix more issues, update baseline (2203/106) 2 years ago
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 3cdca37e85
Fix strict type issues 2 years ago
Jordi Boggiano 0db443ba5f
Add visibility to all consts, fixes #10550 2 years ago
Jordi Boggiano 89ce53250e
Final type additions 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Jordi Boggiano eda9014bef
Add return types to all code which is not being extended by open source packages 2 years ago
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 2 years ago
Stephan 3b4afaa9e3
ArrayLoader/ValidatingArrayLoader: handle non-string values for version/version_normalized (#10470)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 2 years ago
Jordi Boggiano 91548d178b
Add support for setting platform packages to false to disable them (#10308)
Fixes #9664
3 years ago
Jordi Boggiano 2c1ff41f8f
Fix phpstan 3 years ago
Jordi Boggiano 032db5bc01
Fix tests 3 years ago
Jordi Boggiano deaec7c0ac
Report validation error if a package replaces and conflicts against the same name, fixes #9845 3 years ago
Jordi Boggiano c15eba3fe3
Turn naming errors into hard failures in validating array loader 3 years ago
Jordi Boggiano b09a39f9c8
Error out on recursive links in validating loader and ignore them in regular loader 3 years ago
Martin Herndl 13d433fad0
Add types to `Package/Loader` (#10206) 3 years ago
Jordi Boggiano d1c8a4d1b4
Lots of typing improvements 3 years ago
Jordi Boggiano 61fba697a0
Fix validating array loader handling of invalid target branch datatype 3 years ago
Jordi Boggiano b583310476
Allow ircs protocol for support.irc 3 years ago
Jordi Boggiano 6441e1f94f
Merge branch '2.0' 3 years ago
Jordi Boggiano 7d19930ca6
Fix minimum-stability validation to match what VersionParser::normalizeStability does, closes #9904 3 years ago
Jordi Boggiano 4842f213a1
Also make sure type is correct for preg_match 3 years ago
Jordi Boggiano 832f4007d6
Allow ints in source/dist reference 3 years ago
Jordi Boggiano 832af78e28
Add basic source/dist validation 3 years ago
Simon Berger bae227ec2d Changed all substr calls used to compare fragments of text to strpos
Some additional code cleanups in those classes

Reverted change causing issues
4 years ago
Yanick Witschi bd6f62c535 Consistently reuse the new PlatformRepository::isPlatformPackage() method 4 years ago
Jordi Boggiano 05e9fe936f
Merge branch '1.10' 4 years ago
Jordi Boggiano b847c4dc3a
Validate licenses correctly even when proprietary is combined with some other license, fixes #9144 4 years ago
Jordi Boggiano 876136022b
Merge remote-tracking branch 'origin/1.10' 4 years ago
Carsten Brandt 960fa4b205
Allow duplicate dashes in package names
fixes #8749
1.10 implementation of #8750
4 years ago
Jordi Boggiano a7a975ec1c
Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323 4 years ago
Nils Adermann 5c4f524d6a
Add funding field to composer.json
You can specify a list of funding options each with a type and URL. The
type is used to specify the kind of funding or the platform through
which funding is possible.
4 years ago
Patrick Reimers 8ae8d131d5
Add deprecation warning for name attribute 5 years ago
Patrick Reimers 627a832cc1
Return non zero exit code on deprecation 5 years ago
Jordi Boggiano acea4a4d4d Warn on invalid package name or require/provide/.., fixes #7874 5 years ago
David Manners 96347fbea1 composer/composer#7384: add chat to support options
- update schema documents to note that chat is allowed,
 - validate that chat must be a string and a url similar to forum options
6 years ago
Gabriel Caruso 7d9f8e2247
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Jordi Boggiano 72476b62d4 Check for license validity only on newly updated branches, refs composer/packagist#866, refs composer/packagist#883 6 years ago
Jordi Boggiano f857da7c29 Remove deprecated license check from ValidatingArrayLoader, fixes #7026, fixes #7073 6 years ago
Jordi Boggiano 0fc6fb56a0 Fix validation of license field 6 years ago
Jordi Boggiano 5a1765c838 Only warn for license deprecations for new releases/branches 6 years ago
Jordi Boggiano 188b3a35c8 Tweak license deprecation text to handle + more gracefully, fixes #6981 6 years ago
Jordi Boggiano 5cd0fef7ff Upgrade to SPDX License 3.0 and handle deprecations more gracefully, fixes #6951 6 years ago
Gabriel Caruso 2ad6f611d7 Allow bin key to receive string 6 years ago
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Parallel 6ad7caa25e Add config>platform checking 7 years ago
Jordi Boggiano 57ae6d97b6 Merge branch '1.1' 8 years ago