Jordi Boggiano
08f769220a
Merge branch '1.6'
7 years ago
Jordi Boggiano
f857da7c29
Remove deprecated license check from ValidatingArrayLoader, fixes #7026 , fixes #7073
7 years ago
Martin Hujer
bbee0d7c6c
Validation warns if script description for nonexistent script is present
...
Fixes #7010
7 years ago
Jordi Boggiano
5cd0fef7ff
Upgrade to SPDX License 3.0 and handle deprecations more gracefully, fixes #6951
7 years ago
Martin Hasoň
88ec172bd8
Fix CS
7 years ago
Jordi Boggiano
0efc66d968
Tweak message
8 years ago
Nicola Spanti (RyDroid)
5cd080dfac
Add a specific message for stupid users that put useless spaces in license
8 years ago
Jordi Boggiano
1818b95149
CS fixes
9 years ago
Jordi Boggiano
d7c61c50ad
Merge branch 'tls-config'
9 years ago
Jordi Boggiano
03299ff075
Suggest https in docs where it makes sense, closes #4056
9 years ago
Jordi Boggiano
cb53bd04cb
Remove a few instances of RemoteFilesystem that were not needed
9 years ago
Jordi Boggiano
f8dff0867c
Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications
9 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
Jeroen Seegers
279b5f0156
Drop irrelevant properties from composer_commit-ref.json
9 years ago
Jeroen Seegers
f3dc31839f
Refactor commit-ref validation
...
The require and require-dev arrays have been merged into one and no
longer user private methods/properties to collect warnings.
9 years ago
Jeroen Seegers
73e73c90fb
Generate a warning when a commit reference is used
...
Closes #4485
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Jordi Boggiano
ae23979dfa
Add validation warning for prs-0/4 definitions without namespace prefix, refs #3202
9 years ago
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)
10 years ago
Padraic Brady
19e24c5804
Merge branch 'master' into tls-config
...
Conflicts:
.travis.yml
doc/03-cli.md
src/Composer/Command/ConfigCommand.php
src/Composer/Command/CreateProjectCommand.php
src/Composer/Command/DiagnoseCommand.php
src/Composer/Command/InstallCommand.php
src/Composer/Command/RequireCommand.php
src/Composer/Command/SelfUpdateCommand.php
src/Composer/Command/ShowCommand.php
src/Composer/Command/UpdateCommand.php
src/Composer/Config.php
src/Composer/Downloader/FileDownloader.php
src/Composer/Factory.php
src/Composer/Repository/ComposerRepository.php
src/Composer/Repository/PearRepository.php
src/Composer/Repository/Vcs/VcsDriver.php
src/Composer/Util/GitHub.php
src/Composer/Util/RemoteFilesystem.php
10 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
11 years ago
Jordi Boggiano
e7b82cdd88
Only check in require and for non-platform packages, add flag to make this warning optional, refs #2320
11 years ago
Pádraic Brady
470fb58273
Add a bundled cacert.pem as a last resort option
11 years ago
Pádraic Brady
306ba77e93
Implement the RemoteFilesystem Factory everywhere...
...
- also fixes impacted test
11 years ago
Pádraic Brady
49590af656
$originUrl passed to RemoteFilesystem is actually a HOST string already (so far!)
11 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
12 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