diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index fe333c71..4143c8cd 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -27,19 +27,12 @@ jobs: - "7.3" - "7.4" - "8.0" + - "8.1" steps: - name: "Checkout" uses: "actions/checkout@v2" - - name: "Choose PHPUnit version" - run: | - if [ "${{ matrix.php-version }}" = "7.4" ]; then - echo "SYMFONY_PHPUNIT_VERSION=7.5" >> $GITHUB_ENV; - elif [ "${{ matrix.php-version }}" = "8.0" ]; then - echo "SYMFONY_PHPUNIT_VERSION=9.4" >> $GITHUB_ENV; - fi - - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: diff --git a/composer.json b/composer.json index 030df2e3..ba78676d 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ }, "require-dev": { "symfony/phpunit-bridge": "^4.2 || ^5", - "phpstan/phpstan": "^0.12.54" + "phpstan/phpstan": "^1.4" }, "autoload": { "psr-4": { @@ -54,6 +54,6 @@ }, "scripts": { "test": "SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 vendor/bin/simple-phpunit", - "phpstan": "phpstan analyse" + "phpstan": "@php vendor/bin/phpstan analyse" } } diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 682a6de7..8c33298c 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,8 +1,10 @@ -includes: - - tests/baseline.neon - parameters: level: 8 paths: - src - tests + + ignoreErrors: + # Ignore some irrelevant errors in test files + - '~Method Composer\\Semver\\[^:]+::(setUp(BeforeClass)?|tearDown(AfterClass)?|test[^(]+)\(\) has no return type specified.~' + - '~Method Composer\\Semver\\[^:]+::(data\w+|provide\w+|\w+?Provider)\(\) has no return type specified.~' diff --git a/tests/ComparatorTest.php b/tests/ComparatorTest.php index 08f2fa82..d2249b6b 100644 --- a/tests/ComparatorTest.php +++ b/tests/ComparatorTest.php @@ -126,7 +126,7 @@ public function testCompare($version1, $operator, $version2, $expected) } /** - * @return array + * @return array */ public function greaterThanProvider() { @@ -141,7 +141,7 @@ public function greaterThanProvider() } /** - * @return array + * @return array */ public function greaterThanOrEqualToProvider() { @@ -153,7 +153,7 @@ public function greaterThanOrEqualToProvider() } /** - * @return array + * @return array */ public function lessThanProvider() { @@ -169,7 +169,7 @@ public function lessThanProvider() } /** - * @return array + * @return array */ public function lessThanOrEqualToProvider() { @@ -181,7 +181,7 @@ public function lessThanOrEqualToProvider() } /** - * @return array + * @return array */ public function equalToProvider() { @@ -196,7 +196,7 @@ public function equalToProvider() } /** - * @return array + * @return array */ public function notEqualToProvider() { @@ -208,7 +208,7 @@ public function notEqualToProvider() } /** - * @return array + * @return array */ public function compareProvider() { diff --git a/tests/Constraint/ConstraintTest.php b/tests/Constraint/ConstraintTest.php index 52628355..e4e42921 100644 --- a/tests/Constraint/ConstraintTest.php +++ b/tests/Constraint/ConstraintTest.php @@ -53,6 +53,9 @@ public function testGetPrettyString() $this->assertSame($expectedVersion, $result); } + /** + * @return array + */ public static function successfulVersionMatches() { return array( @@ -161,6 +164,10 @@ public static function successfulVersionMatches() /** * @dataProvider successfulVersionMatches + * @param Constraint::STR_OP_* $requireOperator + * @param string $requireVersion + * @param Constraint::STR_OP_* $provideOperator + * @param string $provideVersion */ public function testVersionMatchSucceeds($requireOperator, $requireVersion, $provideOperator, $provideVersion) { @@ -178,6 +185,9 @@ public function testVersionMatchSucceeds($requireOperator, $requireVersion, $pro $this->assertTrue(Intervals::compactConstraint($versionProvide)->matches(Intervals::compactConstraint($versionRequire))); } + /** + * @return array + */ public static function failingVersionMatches() { return array( @@ -331,6 +341,10 @@ public static function failingVersionMatches() /** * @dataProvider failingVersionMatches + * @param Constraint::STR_OP_* $requireOperator + * @param string $requireVersion + * @param Constraint::STR_OP_* $provideOperator + * @param string $provideVersion */ public function testVersionMatchFails($requireOperator, $requireVersion, $provideOperator, $provideVersion) { @@ -411,19 +425,18 @@ public function testComparableBranches() * @dataProvider invalidOperators * * @param string $version - * @param string $operator - * @param string $expected + * @param Constraint::STR_OP_* $operator + * @param class-string $expected */ public function testInvalidOperators($version, $operator, $expected) { $this->doExpectException($expected); - /** @phpstan-ignore-next-line */ new Constraint($operator, $version); } /** - * @return array + * @return array */ public function invalidOperators() { @@ -437,12 +450,10 @@ public function invalidOperators() /** * @dataProvider bounds * - * @param string $operator + * @param Constraint::STR_OP_* $operator * @param string $normalizedVersion * @param Bound $expectedLower * @param Bound $expectedUpper - * - * @phpstan-param Constraint::STR_OP_* $operator */ public function testBounds($operator, $normalizedVersion, Bound $expectedLower, Bound $expectedUpper) { @@ -453,7 +464,7 @@ public function testBounds($operator, $normalizedVersion, Bound $expectedLower, } /** - * @return array + * @return array */ public function bounds() { @@ -496,6 +507,10 @@ public function bounds() /** * @dataProvider matrix + * @param Constraint::STR_OP_* $requireOperator + * @param string $requireVersion + * @param Constraint::STR_OP_* $provideOperator + * @param string $provideVersion */ public function testCompile($requireOperator, $requireVersion, $provideOperator, $provideVersion) { @@ -517,6 +532,9 @@ public function testCompile($requireOperator, $requireVersion, $provideOperator, $this->assertSame($m, Intervals::haveIntersections($require, $provide)); } + /** + * @return array + */ public function matrix() { $versions = array('1.0', '2.0', 'dev-master', 'dev-foo', '3.0-b2', '3.0-beta2'); @@ -536,6 +554,11 @@ public function matrix() return $matrix; } + /** + * @param Constraint::STR_OP_* $operator + * @param string $version + * @return bool + */ private function matchCompiled(ConstraintInterface $constraint, $operator, $version) { $map = array( @@ -556,6 +579,10 @@ private function matchCompiled(ConstraintInterface $constraint, $operator, $vers return eval("return $code;"); } + /** + * @param class-string $class + * @return void + */ private function doExpectException($class) { if (method_exists($this, 'expectException')) { diff --git a/tests/Constraint/MultiConstraintTest.php b/tests/Constraint/MultiConstraintTest.php index bb51f3ea..40c83908 100644 --- a/tests/Constraint/MultiConstraintTest.php +++ b/tests/Constraint/MultiConstraintTest.php @@ -54,7 +54,7 @@ public function testMultiVersionMatchSucceeds() $this->assertTrue($multiRequire->matches($versionProvide)); $this->assertTrue($versionProvide->matches($multiRequire)); - $this->assertTrue($this->matchCompiled($multiRequire, '==', 1.1)); + $this->assertTrue($this->matchCompiled($multiRequire, '==', '1.1')); $this->assertTrue(Intervals::haveIntersections($multiRequire, $versionProvide)); $this->assertTrue(Intervals::compactConstraint($multiRequire)->matches(Intervals::compactConstraint($versionProvide))); $this->assertTrue(Intervals::compactConstraint($versionProvide)->matches(Intervals::compactConstraint($multiRequire))); @@ -113,7 +113,7 @@ public function testMultiVersionMatchFails() $this->assertFalse($multiRequire->matches($versionProvide)); $this->assertFalse($versionProvide->matches($multiRequire)); - $this->assertFalse($this->matchCompiled($multiRequire, '==', 1.2)); + $this->assertFalse($this->matchCompiled($multiRequire, '==', '1.2')); $this->assertFalse(Intervals::haveIntersections($multiRequire, $versionProvide)); $this->assertFalse(Intervals::compactConstraint($multiRequire)->matches(Intervals::compactConstraint($versionProvide))); $this->assertFalse(Intervals::compactConstraint($versionProvide)->matches(Intervals::compactConstraint($multiRequire))); @@ -138,7 +138,7 @@ public function testGetPrettyString() /** * @dataProvider bounds * - * @param array $constraints + * @param array $constraints * @param bool $conjunctive * @param Bound $expectedLower * @param Bound $expectedUpper @@ -152,7 +152,7 @@ public function testBounds(array $constraints, $conjunctive, Bound $expectedLowe } /** - * @return array + * @return array */ public function bounds() { @@ -224,7 +224,7 @@ public function testBoundsIntegrationWithVersionParser($constraints, Bound $expe } /** - * @return array + * @return array */ public function boundsIntegration() { @@ -304,6 +304,9 @@ public function testMultiConstraintOptimizations($constraints, ConstraintInterfa $this->assertSame((string) $expectedConstraint, (string) $parser->parseConstraints($constraints)); } + /** + * @return array + */ public function multiConstraintOptimizations() { return array( @@ -516,7 +519,7 @@ public function testMultiConstraintNotconjunctiveFillWithFalse() $this->assertFalse($multiRequire->matches($versionProvide)); $this->assertFalse($versionProvide->matches($multiRequire)); - $this->assertFalse($this->matchCompiled($multiRequire, '==', 1.1)); + $this->assertFalse($this->matchCompiled($multiRequire, '==', '1.1')); $this->assertFalse(Intervals::haveIntersections($multiRequire, $versionProvide)); } @@ -530,10 +533,15 @@ public function testMultiConstraintConjunctiveFillWithTrue() $this->assertTrue($multiRequire->matches($versionProvide)); $this->assertTrue($versionProvide->matches($multiRequire)); - $this->assertTrue($this->matchCompiled($multiRequire, '!=', 1.1)); + $this->assertTrue($this->matchCompiled($multiRequire, '!=', '1.1')); $this->assertTrue(Intervals::haveIntersections($multiRequire, $versionProvide)); } + /** + * @param Constraint::STR_OP_* $operator + * @param string $version + * @return bool + */ private function matchCompiled(ConstraintInterface $constraint, $operator, $version) { $map = array( diff --git a/tests/IntervalsTest.php b/tests/IntervalsTest.php index 212a9b77..682e3d73 100644 --- a/tests/IntervalsTest.php +++ b/tests/IntervalsTest.php @@ -28,6 +28,9 @@ class IntervalsTest extends TestCase /** * @dataProvider compactProvider + * @param string $expected + * @param array $toCompact + * @param bool $conjunctive */ public function testCompactConstraint($expected, $toCompact, $conjunctive) { @@ -191,6 +194,8 @@ public function compactProvider() /** * @dataProvider intervalsProvider + * @param array|self::INTERVAL_* $expected + * @param string $constraint */ public function testGetIntervals($expected, $constraint) { diff --git a/tests/SemverTest.php b/tests/SemverTest.php index 0976c22c..fb1e3af0 100644 --- a/tests/SemverTest.php +++ b/tests/SemverTest.php @@ -36,8 +36,8 @@ public function testSatisfies($expected, $version, $constraint) * @dataProvider satisfiedByProvider * * @param string $constraint - * @param array $versions - * @param array $expected + * @param array $versions + * @param array $expected */ public function testSatisfiedBy($constraint, $versions, $expected) { @@ -50,9 +50,9 @@ public function testSatisfiedBy($constraint, $versions, $expected) * @covers ::usort * @dataProvider sortProvider * - * @param array $versions - * @param array $sorted - * @param array $rsorted + * @param array $versions + * @param array $sorted + * @param array $rsorted */ public function testSort(array $versions, array $sorted, array $rsorted) { @@ -77,7 +77,7 @@ public function testUsortShouldInitialVersionParserClass() } /** - * @return array + * @return array */ public function sortProvider() { @@ -96,7 +96,7 @@ public function sortProvider() } /** - * @return array + * @return array */ public function satisfiesProvider() { @@ -116,7 +116,7 @@ public function satisfiesProvider() } /** - * @return array + * @return array */ public function satisfiesProviderPositive() { @@ -198,7 +198,7 @@ public function satisfiesProviderPositive() } /** - * @return array + * @return array */ public function satisfiesProviderNegative() { @@ -252,7 +252,7 @@ public function satisfiesProviderNegative() } /** - * @return array + * @return array */ public function satisfiedByProvider() { diff --git a/tests/SubsetsTest.php b/tests/SubsetsTest.php index 67894631..fdbed049 100644 --- a/tests/SubsetsTest.php +++ b/tests/SubsetsTest.php @@ -19,6 +19,8 @@ class SubsetsTest extends TestCase { /** * @dataProvider subsets + * @param string $aStr + * @param string $bStr */ public function testIsSubsetOf($aStr, $bStr) { @@ -29,6 +31,9 @@ public function testIsSubsetOf($aStr, $bStr) $this->assertTrue(Intervals::isSubsetOf($a, $b), $aStr.' ('.$a.') should be seen as a subset of '.$bStr.' ('.$b.')'); } + /** + * @return array + */ public function subsets() { return array( @@ -81,6 +86,8 @@ public function subsets() /** * @dataProvider notSubsets + * @param string $aStr + * @param string $bStr */ public function testIsNotSubsetOf($aStr, $bStr) { @@ -91,6 +98,9 @@ public function testIsNotSubsetOf($aStr, $bStr) $this->assertFalse(Intervals::isSubsetOf($a, $b), $aStr.' ('.$a.') should not be seen as a subset of '.$bStr.' ('.$b.')'); } + /** + * @return array + */ public function notSubsets() { return array( diff --git a/tests/VersionParserTest.php b/tests/VersionParserTest.php index 8cfb33b0..e981e87b 100644 --- a/tests/VersionParserTest.php +++ b/tests/VersionParserTest.php @@ -20,6 +20,8 @@ class VersionParserTest extends TestCase { /** * @dataProvider numericAliasVersions + * @param string $input + * @param string $expected */ public function testParseNumericAliasPrefix($input, $expected) { @@ -28,6 +30,9 @@ public function testParseNumericAliasPrefix($input, $expected) $this->assertSame($expected, $parser->parseNumericAliasPrefix($input)); } + /** + * @return array + */ public function numericAliasVersions() { return array( @@ -44,6 +49,8 @@ public function numericAliasVersions() /** * @dataProvider successfulNormalizedVersions + * @param string $input + * @param string $expected */ public function testNormalizeSucceeds($input, $expected) { @@ -52,6 +59,9 @@ public function testNormalizeSucceeds($input, $expected) $this->assertSame($expected, $parser->normalize($input)); } + /** + * @return array + */ public function successfulNormalizedVersions() { return array( @@ -125,6 +135,7 @@ public function successfulNormalizedVersions() /** * @dataProvider failingNormalizedVersions + * @param string $input */ public function testNormalizeFails($input) { @@ -133,6 +144,9 @@ public function testNormalizeFails($input) $parser->normalize($input); } + /** + * @return array + */ public function failingNormalizedVersions() { return array( @@ -161,6 +175,7 @@ public function failingNormalizedVersions() /** * @dataProvider failingNormalizedVersionsWithBadAlias + * @param string $fullInput */ public function testNormalizeFailsAndReportsAliasIssue($fullInput) { @@ -174,6 +189,9 @@ public function testNormalizeFailsAndReportsAliasIssue($fullInput) } } + /** + * @return array + */ public function failingNormalizedVersionsWithBadAlias() { return array( @@ -187,6 +205,7 @@ public function failingNormalizedVersionsWithBadAlias() /** * @dataProvider failingNormalizedVersionsWithBadAliasee + * @param string $fullInput */ public function testNormalizeFailsAndReportsAliaseeIssue($fullInput) { @@ -200,6 +219,9 @@ public function testNormalizeFailsAndReportsAliaseeIssue($fullInput) $parser->normalize($match[2], $fullInput); } + /** + * @return array + */ public function failingNormalizedVersionsWithBadAliasee() { return array( @@ -213,6 +235,8 @@ public function failingNormalizedVersionsWithBadAliasee() /** * @dataProvider successfulNormalizedBranches + * @param string $input + * @param string $expected */ public function testNormalizeBranch($input, $expected) { @@ -221,6 +245,9 @@ public function testNormalizeBranch($input, $expected) $this->assertSame((string) $expected, (string) $parser->normalizeBranch($input)); } + /** + * @return array + */ public function successfulNormalizedBranches() { return array( @@ -288,7 +315,7 @@ public function testParseConstraintsSimple($input, $expected) } /** - * @return array + * @return array */ public function simpleConstraints() { @@ -347,7 +374,7 @@ public function testParseConstraintsWildcard($input, $min, $max) } /** - * @return array + * @return array */ public function wildcardConstraints() { @@ -389,7 +416,7 @@ public function testParseTildeWildcard($input, $min, $max) } /** - * @return array + * @return array */ public function tildeConstraints() { @@ -436,7 +463,7 @@ public function testParseCaretWildcard($input, $min, $max) } /** - * @return array + * @return array */ public function caretConstraints() { @@ -486,7 +513,7 @@ public function testParseHyphen($input, $min, $max) } /** - * @return array + * @return array */ public function hyphenConstraints() { @@ -510,6 +537,8 @@ public function hyphenConstraints() /** * @dataProvider constraintProvider + * @param string $constraint + * @param string $expected */ public function testParseConstraints($constraint, $expected) { @@ -518,6 +547,9 @@ public function testParseConstraints($constraint, $expected) $this->assertSame($expected, (string) $parser->parseConstraints($constraint)); } + /** + * @return array + */ public function constraintProvider() { return array( @@ -555,6 +587,7 @@ public function constraintProvider() /** * @dataProvider multiConstraintProvider + * @param string $constraint */ public function testParseConstraintsMulti($constraint) { @@ -567,7 +600,7 @@ public function testParseConstraintsMulti($constraint) } /** - * @return array + * @return array */ public function multiConstraintProvider() { @@ -619,7 +652,7 @@ public function testParseConstraintsMultiDisjunctiveHasPrioOverConjuctive($const } /** - * @return array + * @return array */ public function multiConstraintProvider2() { @@ -673,7 +706,7 @@ public function testParseConstraintsFails($input) } /** - * @return array + * @return array */ public function failingConstraints() { @@ -732,7 +765,7 @@ public function testParseStability($expected, $version) } /** - * @return array + * @return array */ public function stabilityProvider() { @@ -801,6 +834,11 @@ public function testComplexConjunctive() $this->assertFalse($parsed->matches($version), '"~0.1 || ~1.0 !=1.0.1" should not allow version "1.0.1.0"'); } + /** + * @param class-string $class + * @param string|null $message + * @return void + */ private function doExpectException($class, $message = null) { if (method_exists($this, 'expectException')) { diff --git a/tests/baseline.neon b/tests/baseline.neon deleted file mode 100644 index 56fc5a67..00000000 --- a/tests/baseline.neon +++ /dev/null @@ -1,837 +0,0 @@ -parameters: - ignoreErrors: - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:compareProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:equalToProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:greaterThanOrEqualToProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:greaterThanProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:lessThanOrEqualToProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:lessThanProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:notEqualToProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:testCompare\\(\\) has no return typehint specified\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:testEqualTo\\(\\) has no return typehint specified\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:testGreaterThan\\(\\) has no return typehint specified\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:testGreaterThanOrEqualTo\\(\\) has no return typehint specified\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:testLessThan\\(\\) has no return typehint specified\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:testLessThanOrEqualTo\\(\\) has no return typehint specified\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\ComparatorTest\\:\\:testNotEqualTo\\(\\) has no return typehint specified\\.$#" - count: 1 - path: ComparatorTest.php - - - - message: "#^Method Composer\\\\Semver\\\\CompilingMatcherTest\\:\\:testMatch\\(\\) has no return typehint specified\\.$#" - count: 1 - path: CompilingMatcherTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:bounds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:doExpectException\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:doExpectException\\(\\) has parameter \\$class with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:failingVersionMatches\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:invalidOperators\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:matchCompiled\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:matchCompiled\\(\\) has parameter \\$operator with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:matchCompiled\\(\\) has parameter \\$version with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:matrix\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:setUp\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:successfulVersionMatches\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testBounds\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testComparableBranches\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testCompile\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testCompile\\(\\) has parameter \\$provideOperator with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testCompile\\(\\) has parameter \\$provideVersion with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testCompile\\(\\) has parameter \\$requireOperator with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testCompile\\(\\) has parameter \\$requireVersion with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testGetPrettyString\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testInvalidOperators\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testInverseMatchingOtherConstraints\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionCompareInvalidArgumentException\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchFails\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchFails\\(\\) has parameter \\$provideOperator with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchFails\\(\\) has parameter \\$provideVersion with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchFails\\(\\) has parameter \\$requireOperator with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchFails\\(\\) has parameter \\$requireVersion with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchSucceeds\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchSucceeds\\(\\) has parameter \\$provideOperator with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchSucceeds\\(\\) has parameter \\$provideVersion with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchSucceeds\\(\\) has parameter \\$requireOperator with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\ConstraintTest\\:\\:testVersionMatchSucceeds\\(\\) has parameter \\$requireVersion with no typehint specified\\.$#" - count: 1 - path: Constraint/ConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MatchAllConstraintTest\\:\\:setUp\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MatchAllConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MatchAllConstraintTest\\:\\:testGetPrettyString\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MatchAllConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MatchAllConstraintTest\\:\\:testMatches\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MatchAllConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MatchNoneConstraintTest\\:\\:setUp\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MatchNoneConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MatchNoneConstraintTest\\:\\:testGetPrettyString\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MatchNoneConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MatchNoneConstraintTest\\:\\:testMatches\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MatchNoneConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:bounds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:boundsIntegration\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:matchCompiled\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:matchCompiled\\(\\) has parameter \\$operator with no typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:matchCompiled\\(\\) has parameter \\$version with no typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:multiConstraintOptimizations\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:setUp\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testBounds\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testBounds\\(\\) has parameter \\$constraints with no value type specified in iterable type array\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testBoundsIntegrationWithVersionParser\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testConjunctiveMatchesDisjunctiveFalse\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testCreatesMatchAllConstraintIfNoneGiven\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testGetPrettyString\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testIsConjunctive\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testIsDisjunctive\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultiConstraintConjunctiveFillWithTrue\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultiConstraintNotconjunctiveFillWithFalse\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultiConstraintOptimizations\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultiVersionMatchFails\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultiVersionMatchSucceeds\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultiVersionMatchSucceedsInsideForeachLoop\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultiVersionProvidedMatchSucceeds\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultipleMultiConstraintsMerging\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\Constraint\\\\MultiConstraintTest\\:\\:testMultipleMultiConstraintsMergingWithGaps\\(\\) has no return typehint specified\\.$#" - count: 1 - path: Constraint/MultiConstraintTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:compactProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:intervalsProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:testCompactConstraint\\(\\) has no return typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:testCompactConstraint\\(\\) has parameter \\$conjunctive with no typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:testCompactConstraint\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:testCompactConstraint\\(\\) has parameter \\$toCompact with no typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:testGetIntervals\\(\\) has no return typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:testGetIntervals\\(\\) has parameter \\$constraint with no typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\IntervalsTest\\:\\:testGetIntervals\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: IntervalsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:satisfiedByProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:satisfiesProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:satisfiesProviderNegative\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:satisfiesProviderPositive\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:sortProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testSatisfiedBy\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testSatisfiedBy\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testSatisfiedBy\\(\\) has parameter \\$versions with no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testSatisfies\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testSort\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testSort\\(\\) has parameter \\$rsorted with no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testSort\\(\\) has parameter \\$sorted with no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testSort\\(\\) has parameter \\$versions with no value type specified in iterable type array\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SemverTest\\:\\:testUsortShouldInitialVersionParserClass\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SemverTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:notSubsets\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:subsets\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:testIsNotSubsetOf\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:testIsNotSubsetOf\\(\\) has parameter \\$aStr with no typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:testIsNotSubsetOf\\(\\) has parameter \\$bStr with no typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:testIsSubsetOf\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:testIsSubsetOf\\(\\) has parameter \\$aStr with no typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:testIsSubsetOf\\(\\) has parameter \\$bStr with no typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\SubsetsTest\\:\\:testMatchNoneIsNoSubsetNorSupersetExceptOfMatchAll\\(\\) has no return typehint specified\\.$#" - count: 1 - path: SubsetsTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:caretConstraints\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:constraintProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:doExpectException\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:doExpectException\\(\\) has parameter \\$class with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:doExpectException\\(\\) has parameter \\$message with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:failingConstraints\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:failingNormalizedVersions\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:failingNormalizedVersionsWithBadAlias\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:failingNormalizedVersionsWithBadAliasee\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:hyphenConstraints\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:multiConstraintProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:multiConstraintProvider2\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:numericAliasVersions\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:simpleConstraints\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:stabilityProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:successfulNormalizedBranches\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:successfulNormalizedVersions\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testComplexConjunctive\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testManipulateVersionStringWithReturnNull\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeBranch\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeBranch\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeBranch\\(\\) has parameter \\$input with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeFails\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeFails\\(\\) has parameter \\$input with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeFailsAndReportsAliasIssue\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeFailsAndReportsAliasIssue\\(\\) has parameter \\$fullInput with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeFailsAndReportsAliaseeIssue\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeFailsAndReportsAliaseeIssue\\(\\) has parameter \\$fullInput with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeStability\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeSucceeds\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeSucceeds\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testNormalizeSucceeds\\(\\) has parameter \\$input with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseCaretWildcard\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraints\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraints\\(\\) has parameter \\$constraint with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraints\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsFails\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsFailsOnBadReference\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsIgnoresReferenceOnDevVersion\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsIgnoresStabilityFlag\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsMulti\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsMulti\\(\\) has parameter \\$constraint with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsMultiDisjunctiveHasPrioOverConjuctive\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsMultiWithStabilities\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsMultiWithStabilitiesWildcard\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsMultiWithStabilitiesZero\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsMultiWithStabilitySuffix\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsNudgesRubyDevsTowardsThePathOfRighteousness\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsSimple\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseConstraintsWildcard\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseHyphen\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseNumericAliasPrefix\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseNumericAliasPrefix\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseNumericAliasPrefix\\(\\) has parameter \\$input with no typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseStability\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:testParseTildeWildcard\\(\\) has no return typehint specified\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:tildeConstraints\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php - - - - message: "#^Method Composer\\\\Semver\\\\VersionParserTest\\:\\:wildcardConstraints\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: VersionParserTest.php -