diff --git a/tests/Composer/Test/Json/ComposerSchemaTest.php b/tests/Composer/Test/Json/ComposerSchemaTest.php index 5c53b2937..24fc50ca1 100644 --- a/tests/Composer/Test/Json/ComposerSchemaTest.php +++ b/tests/Composer/Test/Json/ComposerSchemaTest.php @@ -90,6 +90,11 @@ class ComposerSchemaTest extends TestCase $this->assertTrue($this->check($json), 'stable'); } + /** + * + * @param string $json + * @return mixed + */ private function check($json) { $validator = new Validator(); diff --git a/tests/Composer/Test/Json/JsonFileTest.php b/tests/Composer/Test/Json/JsonFileTest.php index d93b0414d..0f53b2442 100644 --- a/tests/Composer/Test/Json/JsonFileTest.php +++ b/tests/Composer/Test/Json/JsonFileTest.php @@ -354,6 +354,11 @@ class JsonFileTest extends TestCase $this->assertEquals($data, $doubleData); } + /** + * @param string $text + * @param string $json + * @return void + */ private function expectParseException($text, $json) { try { @@ -364,6 +369,13 @@ class JsonFileTest extends TestCase } } + /** + * + * @param string $json + * @param mixed $data + * @param integer|null $options + * @return void + */ private function assertJsonFormat($json, $data, $options = null) { $file = new JsonFile('composer.json');