Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2022-02-22 16:48:53 +01:00
Alexander Schranz
e9b60580f5
Add return types to tests ( #10 )
2022-02-21 13:42:28 +01:00
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
2022-02-18 10:38:54 +01:00
Jordi Boggiano
032db5bc01
Fix tests
2021-11-25 12:33:59 +01:00
Jordi Boggiano
b09a39f9c8
Error out on recursive links in validating loader and ignore them in regular loader
2021-11-10 11:10:52 +01:00
Martin Herndl
bcbd8fdb61
Add types to `Package` tests ( #10245 )
2021-11-01 21:44:12 +01:00
Jordi Boggiano
832f4007d6
Allow ints in source/dist reference
2021-04-30 09:40:58 +02:00
Jordi Boggiano
832af78e28
Add basic source/dist validation
2021-04-28 21:53:09 +02:00
Jordi Boggiano
b7d770659b
CS fixes
2020-11-22 14:52:39 +01:00
Jordi Boggiano
74a63b4d6b
Merge branch '1.10'
2020-04-30 21:31:29 +02:00
Alessandro Lai
270c7c3262
Backport validation support for composer-runtime-api ( #8842 )
...
Fixes #8841
2020-04-28 16:04:00 +02:00
Jordi Boggiano
876136022b
Merge remote-tracking branch 'origin/1.10'
2020-04-13 12:41:30 +02:00
Carsten Brandt
960fa4b205
Allow duplicate dashes in package names
...
fixes #8749
1.10 implementation of #8750
2020-04-10 19:01:06 +02:00
Jordi Boggiano
a7a975ec1c
Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323
2020-03-11 15:04:18 +01:00
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.
2020-02-14 10:08:35 +01:00
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
2020-02-07 12:22:22 +08:00
Patrick Reimers
dd1e80a38f
Add tests for wrong package name.
2019-03-05 10:53:43 +01:00
Patrick Reimers
5d14a95543
Add test for warning on deprecated naming
2019-03-01 20:11:20 +01:00
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
2018-10-14 11:15:25 +00:00
Jordi Boggiano
c5fa3bdde0
Migrate to repo.packagist.org for package metadata
2018-07-24 09:30:06 +02:00
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
2018-04-12 10:24:56 +02:00
Gabriel Caruso
2ad6f611d7
Allow bin key to receive string
2018-01-02 07:00:55 -02:00
Gabriel Caruso
afc9a7643e
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
2017-11-30 13:44:43 -02:00
Jordi Boggiano
57ae6d97b6
Merge branch '1.1'
2016-05-17 12:06:36 +01:00
Andreas Möller
a3b49ae44f
Enhancement: Assert that no warning is issued when using exact version constraint for unstable package
2016-05-17 09:25:04 +02:00
Tomáš Markacz
c30dd16e32
add missing validation for rss chanel section in composer schema
2016-05-16 23:24:00 +02:00
Jordi Boggiano
76350676b5
Warn on exact/overly strict constraints, fixes #2746
2016-04-15 16:37:47 +01:00
Jordi Boggiano
735d4a692e
Fix validating array loader tests
2015-10-30 20:40:09 +00:00
Jordi Boggiano
ce08582671
Fix CS
2015-09-28 10:53:24 +01:00
Jordi Boggiano
6a64041055
CS fixes
2015-06-30 15:38:32 +01:00
Rob Bast
89885140d3
Created a failing test case
2015-06-02 15:04:58 +02:00
Possum
2e99b9fdf5
Use https where possible
2015-05-04 19:37:57 +02:00
Jordi Boggiano
cd38d1e096
Tweaks to also support 1.0-dev style aliases, refs #3480
2015-01-20 10:26:10 +00:00
Damian Mooyman
7bb85ff21e
Support aliases for numeric branches. Fixes #3461
2015-01-20 17:42:01 +13:00
Jordi Boggiano
ac497feaba
CS fixes
2014-06-10 16:13:12 +02:00
Jordi Boggiano
32cd883daa
Rename options to transport-options, refs #2189
2014-05-07 18:25:28 +02:00
Jordi Boggiano
016a016455
Merge remote-tracking branch 'lcobucci/master'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
2014-05-07 18:02:46 +02:00
Jordi Boggiano
e7b82cdd88
Only check in require and for non-platform packages, add flag to make this warning optional, refs #2320
2014-04-09 15:37:50 +02:00
Jordi Boggiano
e0004d0656
Merge remote-tracking branch 'stof/validate_unbound_constraints'
2014-04-09 14:51:14 +02:00
Andreas Hennings
e4bbd83f13
expected message in ValidatingArrayLoaderTest should also contain psr-4 as allowed key.
2013-12-22 19:03:23 +01:00
Christophe Coevoet
6cc95c43e3
Add a warning for unbound constraints in the validating loader
...
Closes #2165
2013-10-12 02:29:16 +02:00
Luís Otávio Cobucci Oblonczyk
8630aab93f
Package options must be a non mandatory array and should be loaded when
...
exists
2013-08-19 04:40:08 -03:00
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
2013-04-25 14:02:15 -05:00
Nils Adermann
afcdad4b23
Define an option to exclude files in the archive command
2013-03-28 12:49:52 +01:00
Jordi Boggiano
bb685d9c7f
Fix license validation and add feedback of values to ease reading
2012-11-05 20:04:29 +01:00
Jordi Boggiano
cbd91b5952
Fix FILTER_VALIDATE_URL not supporting IDNs
2012-11-05 15:39:43 +01:00
Jordi Boggiano
e05391dc44
Improve validating array loader to avoid false positives
2012-11-05 14:18:04 +01:00
Jordi Boggiano
967c771b26
Add warnings to ValidatingArrayLoader that are simply stripped by default, add reporting of warnings when loading branches
2012-11-05 12:08:02 +01:00
Jordi Boggiano
4b531771bd
Add validators for package links and minimum-stability
2012-11-02 15:14:09 +01:00
Jordi Boggiano
c65af3e3a1
Add ValidatingArrayLoader and more validation for the validate command
2012-07-18 17:20:56 +02:00