Jordi Boggiano
b09a39f9c8
Error out on recursive links in validating loader and ignore them in regular loader
3 years ago
Martin Herndl
bcbd8fdb61
Add types to `Package` tests ( #10245 )
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
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
74a63b4d6b
Merge branch '1.10'
4 years ago
Alessandro Lai
270c7c3262
Backport validation support for composer-runtime-api ( #8842 )
...
Fixes #8841
4 years ago
Jordi Boggiano
876136022b
Merge remote-tracking branch 'origin/1.10'
5 years ago
Carsten Brandt
960fa4b205
Allow duplicate dashes in package names
...
fixes #8749
1.10 implementation of #8750
5 years ago
Jordi Boggiano
a7a975ec1c
Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323
5 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.
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 years ago
Patrick Reimers
dd1e80a38f
Add tests for wrong package name.
6 years ago
Patrick Reimers
5d14a95543
Add test for warning on deprecated naming
6 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
Jordi Boggiano
c5fa3bdde0
Migrate to repo.packagist.org for package metadata
6 years ago
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
7 years ago
Gabriel Caruso
2ad6f611d7
Allow bin key to receive string
7 years ago
Gabriel Caruso
afc9a7643e
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
7 years ago
Jordi Boggiano
57ae6d97b6
Merge branch '1.1'
8 years ago
Andreas Möller
a3b49ae44f
Enhancement: Assert that no warning is issued when using exact version constraint for unstable package
8 years ago
Tomáš Markacz
c30dd16e32
add missing validation for rss chanel section in composer schema
8 years ago
Jordi Boggiano
76350676b5
Warn on exact/overly strict constraints, fixes #2746
9 years ago
Jordi Boggiano
735d4a692e
Fix validating array loader tests
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Jordi Boggiano
6a64041055
CS fixes
9 years ago
Rob Bast
89885140d3
Created a failing test case
9 years ago
Possum
2e99b9fdf5
Use https where possible
10 years ago
Jordi Boggiano
cd38d1e096
Tweaks to also support 1.0-dev style aliases, refs #3480
10 years ago
Damian Mooyman
7bb85ff21e
Support aliases for numeric branches. Fixes #3461
10 years ago
Jordi Boggiano
ac497feaba
CS fixes
10 years ago
Jordi Boggiano
32cd883daa
Rename options to transport-options, refs #2189
11 years ago
Jordi Boggiano
016a016455
Merge remote-tracking branch 'lcobucci/master'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
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
Jordi Boggiano
e0004d0656
Merge remote-tracking branch 'stof/validate_unbound_constraints'
11 years ago
Andreas Hennings
e4bbd83f13
expected message in ValidatingArrayLoaderTest should also contain psr-4 as allowed key.
11 years ago
Christophe Coevoet
6cc95c43e3
Add a warning for unbound constraints in the validating loader
...
Closes #2165
11 years ago
Luís Otávio Cobucci Oblonczyk
8630aab93f
Package options must be a non mandatory array and should be loaded when
...
exists
11 years ago
Beau Simensen
ffd45b7678
Validate autoload options are of a supported type
...
Checks to ensure that the autoload options are one of the three supported
autoload types.
closes #952
12 years ago
Nils Adermann
afcdad4b23
Define an option to exclude files in the archive command
12 years ago
Jordi Boggiano
bb685d9c7f
Fix license validation and add feedback of values to ease reading
12 years ago
Jordi Boggiano
cbd91b5952
Fix FILTER_VALIDATE_URL not supporting IDNs
12 years ago
Jordi Boggiano
e05391dc44
Improve validating array loader to avoid false positives
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
c65af3e3a1
Add ValidatingArrayLoader and more validation for the validate command
12 years ago