Stephan
61be158040
ArrayLoader: assert that source/dist reference are string values ( #10647 )
3 years ago
Jordi Boggiano
b0665981c2
Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch ( #10632 )
...
* Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch, fixes #10568
* Allow ProcessExecutorMock to function with async calls
3 years ago
Jordi Boggiano
6a466a120a
Enable strict types on all files
3 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
3 years ago
Alexander Schranz
e9b60580f5
Add return types to tests ( #10 )
3 years ago
Jordi Boggiano
a16ed3d0ed
Add return types to private/internal methods
3 years ago
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
3 years ago
Jordi Boggiano
bab974575c
Merge branch '2.2' into main
3 years ago
Stephan
3b4afaa9e3
ArrayLoader/ValidatingArrayLoader: handle non-string values for version/version_normalized ( #10470 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano
5e4a8a882d
Allow ProcessExecutor to receive commands as arrays, refs #6552 ( #10435 )
3 years ago
Jordi Boggiano
22fed0d445
Get rid of prophecy usage
3 years ago
Jordi Boggiano
ffd62795bc
Get rid of all the ->at() mock invocations
3 years ago
Jordi Boggiano
2a771dfb2d
Update PHPUnit to 8.5
3 years ago
Jordi Boggiano
032db5bc01
Fix tests
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
bcbd8fdb61
Add types to `Package` tests ( #10245 )
3 years ago
Jordi Boggiano
44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS
3 years ago
Jordi Boggiano
d3c176ec69
PHPStan Level 5 ( #10070 )
...
* Bump PHPStan to level 5
* Update seld/phar-utils to latest
* Add phpstan-setup / phpstan scripts
3 years ago
Jordi Boggiano
a586a753df
Fix all remaining php8.1 test suite deprecations
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
07b8c23f02
Merge branch '1.10'
4 years ago
Nicolas Grekas
079e501ac8
Revert "Merge pull request #9273 from nicolas-grekas/dev-version"
...
This reverts commit d2d606ced2
, reversing
changes made to 4a8dbcd145
.
4 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
4b8c2aa121
Fix default version to be semver parseable, fixes #9342
4 years ago
Jordi Boggiano
7ea6d5d2e7
Merge branch '1.10'
4 years ago
Nicolas Grekas
4feed8b85c
Fix parsing "branch-version"
4 years ago
Jordi Boggiano
bafdf9f705
Merge branch '1.10'
4 years ago
Nicolas Grekas
893fbfcb89
Add support for "extra.branch-version"
4 years ago
Jordi Boggiano
03b8c3db3f
Merge branch '1.10'
4 years ago
Nils Adermann
92722a9a4c
VersionGuesser: Fix root package loader test which relies on git cmd in guesser
4 years ago
Jordi Boggiano
74d89d7110
Get rid of default branch handling in version guesser as it is way too time intensive at every initialization
4 years ago
Jordi Boggiano
6349764c2d
Fix root package handling of default-branch
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
Jordi Boggiano
ffac8646fc
Fix tests
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
58b34d13e8
fix risky tests (without any assertion)
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 years ago
Gabriel Caruso
4cb2b303ec
Remove override assignment
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