20 Commits (5ae9e7fe22f174f2466c631989eeca2a6affd276)

Author SHA1 Message Date
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 9 years ago
Kunal Mehta 49bd1d773b Make an invalid package name a publish error, not warning
Since invalid names will prevent publishing to packagist, they should
be considered publish errors. If people do not plan on submitting their
package to packagist, they can use the --no-check-publish flag to turn
it into a normal warning again.
9 years ago
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
9 years ago
Jordi Boggiano d79f2b0fd3 Adds warning when the version field is set, fixes composer/packagist#438 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jérôme Macias 4f417e3985 Add --no-check-all option to composer validate command 10 years ago
Jordi Boggiano e7b82cdd88 Only check in require and for non-platform packages, add flag to make this warning optional, refs #2320 10 years ago
Jordi Boggiano 1b789d5226 Fix indenting, refs #2535 11 years ago
chr0n1x 528d35a835 ConfigValidator: ensure that require-dev exists during override check
- Ensure that require-dev is present before checking for dependeny overrides.
- A small grammar update for the warning message.
11 years ago
Jordi Boggiano 4ae5c95c8d Detect require overrides, fixes #2503 11 years ago
Nils Adermann 5be0ba14fe Warn about composer-installer type in composer validate 11 years ago
John Long 8eda0aa8c9 Remove unused variable $valid from ConfigValidator::validate 11 years ago
Jordi Boggiano e43d0b5a5b Allow for "proprietary" as license identifier 11 years ago
Jordi Boggiano 25554e08fe Always read out warnings from the ValidatingArrayLoader 12 years ago
Jordi Boggiano 967c771b26 Add warnings to ValidatingArrayLoader that are simply stripped by default, add reporting of warnings when loading branches 12 years ago
Jordi Boggiano 4b531771bd Add validators for package links and minimum-stability 12 years ago
Jordi Boggiano ee0cd07468 CS fixes 12 years ago
Johannes M. Schmitt 0ddafdbd7e fixed return 12 years ago
Johannes M. Schmitt 7ff550e4a6 fixed some bugs in the validator 12 years ago
Johannes M. Schmitt 4e769e1100 moved some code to a dedicated class 12 years ago