Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#15)
by Der Mundschenk
02:44
created
tests/class-php-typography-testcase.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 	 * @param string $method_name Method name to call.
74 74
 	 * @param array  $parameters  Array of parameters to pass into method.
75 75
 	 *
76
-	 * @return mixed Method return.
76
+	 * @return string Method return.
77 77
 	 */
78 78
 	protected function invokeStaticMethod( $classname, $method_name, array $parameters = [] ) {
79 79
 		$reflection = new \ReflectionClass( $classname );
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 	/**
131 131
 	 * Retrieves the value of a private/protected property of a class.
132 132
 	 *
133
-	 * @param object $object        Instantiated object that we will run method on.
133
+	 * @param \PHP_Typography\Fixes\Token_Fixes\Hyphenate_Fix $object        Instantiated object that we will run method on.
134 134
 	 * @param string $property_name Property to set.
135 135
 	 *
136 136
 	 * @return mixed
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 	 * @param string $value The string to tokenize.
150 150
 	 * @param int    $type  Optional. Default 'word'.
151 151
 	 *
152
-	 * @return array
152
+	 * @return \PHP_Typography\Text_Parser\Token[]
153 153
 	 */
154 154
 	protected function tokenize( $value, $type = \PHP_Typography\Text_Parser\Token::WORD ) {
155 155
 		return [
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 	 * not differ from the expected value.
219 219
 	 *
220 220
 	 * @param string|array $expected_value Either a word/sentence or a token array.
221
-	 * @param array        $actual_tokens  A token array.
221
+	 * @param \PHP_Typography\Text_Parser\Token[]        $actual_tokens  A token array.
222 222
 	 * @param string       $message        Optional. Default ''.
223 223
 	 */
224 224
 	protected function assertTokensNotSame( $expected_value, array $actual_tokens, $message = '' ) {
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
 	 *
256 256
 	 * @param string $key       The array key.
257 257
 	 * @param string $attribute The attribute name.
258
-	 * @param object $object    The object.
258
+	 * @param \PHP_Typography\Hyphenator $object    The object.
259 259
 	 * @param string $message   Optional. Default ''.
260 260
 	 */
261 261
 	protected function assertAttributeArrayHasKey( $key, $attribute, $object, $message = '' ) {
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
 	 *
272 272
 	 * @param string $key       The array key.
273 273
 	 * @param string $attribute The attribute name.
274
-	 * @param object $object    The object.
274
+	 * @param \PHP_Typography\Hyphenator $object    The object.
275 275
 	 * @param string $message   Optional. Default ''.
276 276
 	 */
277 277
 	protected function assertAttributeArrayNotHasKey( $key, $attribute, $object, $message = '' ) {
Please login to merge, or discard this patch.