@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $I = $this->tester; |
| 27 | 27 | $I->describe('income tax calculations'); |
| 28 | 28 | |
| 29 | - $I->verifyThat('income calculator honors tax rules for different ranges of income', function (TestGuy $I) use ($service) { |
|
| 29 | + $I->verifyThat('income calculator honors tax rules for different ranges of income', function(TestGuy $I) use ($service) { |
|
| 30 | 30 | $I->lookAt('income tax'); |
| 31 | 31 | |
| 32 | 32 | $I->expectThat('for income less that 50 000 calculator use 10% tax rule'); |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | public function toString() { |
| 36 | 36 | $stepResult = $this->isChecked() ? "\u{2713} " : '- '; |
| 37 | - return $stepResult . $this->name; |
|
| 37 | + return $stepResult.$this->name; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | protected function isChecked() { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | public function isReadable() { |
| 22 | 22 | $this->isExist(); |
| 23 | 23 | $this->startStep('is readable') |
| 24 | - ->assertIsReadable(); |
|
| 24 | + ->assertIsReadable(); |
|
| 25 | 25 | |
| 26 | 26 | return $this; |
| 27 | 27 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | public function isNotReadable() { |
| 33 | 33 | $this->isExist(); |
| 34 | 34 | $this->startStep('is not readable') |
| 35 | - ->assertNotIsReadable(); |
|
| 35 | + ->assertNotIsReadable(); |
|
| 36 | 36 | |
| 37 | 37 | return $this; |
| 38 | 38 | } |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | public function isWritable() { |
| 44 | 44 | $this->isExist(); |
| 45 | 45 | $this->startStep('is writable') |
| 46 | - ->assertIsWritable(); |
|
| 46 | + ->assertIsWritable(); |
|
| 47 | 47 | |
| 48 | 48 | return $this; |
| 49 | 49 | } |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | public function isNotWritable() { |
| 55 | 55 | $this->isExist(); |
| 56 | 56 | $this->startStep('is not writable') |
| 57 | - ->assertNotIsWritable(); |
|
| 57 | + ->assertNotIsWritable(); |
|
| 58 | 58 | |
| 59 | 59 | return $this; |
| 60 | 60 | } |
@@ -18,21 +18,21 @@ discard block |
||
| 18 | 18 | public $exceptionClassOrObject; |
| 19 | 19 | public function withMessage($message) { |
| 20 | 20 | $this->startStep('has message "' . $message . '"') |
| 21 | - ->expectExceptionMessage($message); |
|
| 21 | + ->expectExceptionMessage($message); |
|
| 22 | 22 | |
| 23 | 23 | return $this; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | public function withMessageMatchesPattern($messagePattern) { |
| 27 | 27 | $this->startStep('has message matching pattern "' . $messagePattern . '"') |
| 28 | - ->expectExceptionMessageRegExp($messagePattern); |
|
| 28 | + ->expectExceptionMessageRegExp($messagePattern); |
|
| 29 | 29 | |
| 30 | 30 | return $this; |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | public function withCode($code) { |
| 34 | 34 | $this->startStep('has code "' . $code . '"') |
| 35 | - ->expectExceptionCode($code); |
|
| 35 | + ->expectExceptionCode($code); |
|
| 36 | 36 | |
| 37 | 37 | return $this; |
| 38 | 38 | } |
@@ -52,10 +52,10 @@ discard block |
||
| 52 | 52 | $exceptionClassOrObject = $this->exceptionClassOrObject; |
| 53 | 53 | if (is_string($exceptionClassOrObject)) { |
| 54 | 54 | $this->startStep('throws exception "' . $exceptionClassOrObject . '"') |
| 55 | - ->expectException($this->exceptionClassOrObject); |
|
| 55 | + ->expectException($this->exceptionClassOrObject); |
|
| 56 | 56 | } else { |
| 57 | 57 | $this->startStep('throws exception "' . get_class($exceptionClassOrObject) . '"') |
| 58 | - ->expectExceptionObject($this->exceptionClassOrObject); |
|
| 58 | + ->expectExceptionObject($this->exceptionClassOrObject); |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | call_user_func_array($callback, [$this->getActualValue()]); |
@@ -17,21 +17,21 @@ discard block |
||
| 17 | 17 | class ObjectExceptionMatcher extends Matcher { |
| 18 | 18 | public $exceptionClassOrObject; |
| 19 | 19 | public function withMessage($message) { |
| 20 | - $this->startStep('has message "' . $message . '"') |
|
| 20 | + $this->startStep('has message "'.$message.'"') |
|
| 21 | 21 | ->expectExceptionMessage($message); |
| 22 | 22 | |
| 23 | 23 | return $this; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | public function withMessageMatchesPattern($messagePattern) { |
| 27 | - $this->startStep('has message matching pattern "' . $messagePattern . '"') |
|
| 27 | + $this->startStep('has message matching pattern "'.$messagePattern.'"') |
|
| 28 | 28 | ->expectExceptionMessageRegExp($messagePattern); |
| 29 | 29 | |
| 30 | 30 | return $this; |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | public function withCode($code) { |
| 34 | - $this->startStep('has code "' . $code . '"') |
|
| 34 | + $this->startStep('has code "'.$code.'"') |
|
| 35 | 35 | ->expectExceptionCode($code); |
| 36 | 36 | |
| 37 | 37 | return $this; |
@@ -51,10 +51,10 @@ discard block |
||
| 51 | 51 | public function when(callable $callback) { |
| 52 | 52 | $exceptionClassOrObject = $this->exceptionClassOrObject; |
| 53 | 53 | if (is_string($exceptionClassOrObject)) { |
| 54 | - $this->startStep('throws exception "' . $exceptionClassOrObject . '"') |
|
| 54 | + $this->startStep('throws exception "'.$exceptionClassOrObject.'"') |
|
| 55 | 55 | ->expectException($this->exceptionClassOrObject); |
| 56 | 56 | } else { |
| 57 | - $this->startStep('throws exception "' . get_class($exceptionClassOrObject) . '"') |
|
| 57 | + $this->startStep('throws exception "'.get_class($exceptionClassOrObject).'"') |
|
| 58 | 58 | ->expectExceptionObject($this->exceptionClassOrObject); |
| 59 | 59 | } |
| 60 | 60 | |
@@ -33,9 +33,9 @@ |
||
| 33 | 33 | |
| 34 | 34 | public function convertToString(): string { |
| 35 | 35 | $message = implode(PHP_EOL, $this->steps); |
| 36 | - $message = $message ? $message . PHP_EOL : $message; |
|
| 36 | + $message = $message ? $message.PHP_EOL : $message; |
|
| 37 | 37 | |
| 38 | - return (string)$message; |
|
| 38 | + return (string) $message; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | public function clear() { |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | public function isInstanceOf($class): self { |
| 19 | 19 | $this->startStep('is instance of "' . $class . '"') |
| 20 | - ->assertInstanceOf($class); |
|
| 20 | + ->assertInstanceOf($class); |
|
| 21 | 21 | |
| 22 | 22 | return $this; |
| 23 | 23 | } |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function isNotInstanceOf($class): self { |
| 29 | 29 | $this->startStep('is not instance of "' . $class . '"') |
| 30 | - ->assertNotInstanceOf($class); |
|
| 30 | + ->assertNotInstanceOf($class); |
|
| 31 | 31 | |
| 32 | 32 | return $this; |
| 33 | 33 | } |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | public function isEqualToXmlStructure($expectedElement): self { |
| 42 | 42 | $this->isInstanceOf(DOMElement::class); |
| 43 | 43 | $this->startStep('is equal to expected DOMElement') |
| 44 | - ->assertEqualXMLStructure($expectedElement, false); |
|
| 44 | + ->assertEqualXMLStructure($expectedElement, false); |
|
| 45 | 45 | |
| 46 | 46 | return $this; |
| 47 | 47 | } |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | public function isEqualToXmlStructureAndItsAttributes($expectedElement): self { |
| 60 | 60 | $this->isInstanceOf(DOMElement::class); |
| 61 | 61 | $this->startStep('is equal to xml structure and it\'s attributes in DOMElement') |
| 62 | - ->assertEqualXMLStructure($expectedElement, true); |
|
| 62 | + ->assertEqualXMLStructure($expectedElement, true); |
|
| 63 | 63 | |
| 64 | 64 | return $this; |
| 65 | 65 | } |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | */ |
| 70 | 70 | public function hasAttribute($attribute): self { |
| 71 | 71 | $this->startStep('has attribute "' . $attribute . '"') |
| 72 | - ->assertObjectHasAttribute($attribute); |
|
| 72 | + ->assertObjectHasAttribute($attribute); |
|
| 73 | 73 | |
| 74 | 74 | return $this; |
| 75 | 75 | } |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | */ |
| 80 | 80 | public function doesNotHaveAttribute($attribute): self { |
| 81 | 81 | $this->startStep('does not have attribute "' . $attribute . '"') |
| 82 | - ->assertObjectNotHasAttribute($attribute); |
|
| 82 | + ->assertObjectNotHasAttribute($attribute); |
|
| 83 | 83 | |
| 84 | 84 | return $this; |
| 85 | 85 | } |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * @return $this |
| 17 | 17 | */ |
| 18 | 18 | public function isInstanceOf($class): self { |
| 19 | - $this->startStep('is instance of "' . $class . '"') |
|
| 19 | + $this->startStep('is instance of "'.$class.'"') |
|
| 20 | 20 | ->assertInstanceOf($class); |
| 21 | 21 | |
| 22 | 22 | return $this; |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * @return $this |
| 27 | 27 | */ |
| 28 | 28 | public function isNotInstanceOf($class): self { |
| 29 | - $this->startStep('is not instance of "' . $class . '"') |
|
| 29 | + $this->startStep('is not instance of "'.$class.'"') |
|
| 30 | 30 | ->assertNotInstanceOf($class); |
| 31 | 31 | |
| 32 | 32 | return $this; |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * @return $this |
| 69 | 69 | */ |
| 70 | 70 | public function hasAttribute($attribute): self { |
| 71 | - $this->startStep('has attribute "' . $attribute . '"') |
|
| 71 | + $this->startStep('has attribute "'.$attribute.'"') |
|
| 72 | 72 | ->assertObjectHasAttribute($attribute); |
| 73 | 73 | |
| 74 | 74 | return $this; |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * @return $this |
| 79 | 79 | */ |
| 80 | 80 | public function doesNotHaveAttribute($attribute): self { |
| 81 | - $this->startStep('does not have attribute "' . $attribute . '"') |
|
| 81 | + $this->startStep('does not have attribute "'.$attribute.'"') |
|
| 82 | 82 | ->assertObjectNotHasAttribute($attribute); |
| 83 | 83 | |
| 84 | 84 | return $this; |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | public function throwsException($exceptionClassOrObject): ObjectExceptionMatcher { |
| 95 | 95 | $class = is_string($exceptionClassOrObject) ? $exceptionClassOrObject : get_class($exceptionClassOrObject); |
| 96 | - $matcher = $this->createInternalMatcherWithDescription(ObjectExceptionMatcher::class, 'I see that exception "' . $class . '"'); |
|
| 96 | + $matcher = $this->createInternalMatcherWithDescription(ObjectExceptionMatcher::class, 'I see that exception "'.$class.'"'); |
|
| 97 | 97 | |
| 98 | 98 | $matcher->exceptionClassOrObject = $exceptionClassOrObject; |
| 99 | 99 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | */ |
| 20 | 20 | public function isExist(): self { |
| 21 | 21 | $this->startStep('is exist') |
| 22 | - ->assertFileExists(); |
|
| 22 | + ->assertFileExists(); |
|
| 23 | 23 | |
| 24 | 24 | return $this; |
| 25 | 25 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | */ |
| 30 | 30 | public function isNotExist(): self { |
| 31 | 31 | $this->startStep('is not exist') |
| 32 | - ->assertFileNotExists(); |
|
| 32 | + ->assertFileNotExists(); |
|
| 33 | 33 | |
| 34 | 34 | return $this; |
| 35 | 35 | } |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | */ |
| 40 | 40 | public function isEqualTo($file): self { |
| 41 | 41 | $this->startStep('is equal to file "' . $file . '"') |
| 42 | - ->assertFileEquals($file); |
|
| 42 | + ->assertFileEquals($file); |
|
| 43 | 43 | |
| 44 | 44 | return $this; |
| 45 | 45 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function isNotEqualTo($file): self { |
| 51 | 51 | $this->startStep('is not equal to file "' . $file . '"') |
| 52 | - ->assertFileNotEquals($file); |
|
| 52 | + ->assertFileNotEquals($file); |
|
| 53 | 53 | |
| 54 | 54 | return $this; |
| 55 | 55 | } |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | */ |
| 60 | 60 | public function isEqualToJsonFile($file): self { |
| 61 | 61 | $this->startStep('is equal to json file "' . $file . '"') |
| 62 | - ->assertJsonFileEqualsJsonFile($file); |
|
| 62 | + ->assertJsonFileEqualsJsonFile($file); |
|
| 63 | 63 | |
| 64 | 64 | return $this; |
| 65 | 65 | } |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | */ |
| 70 | 70 | public function isNotEqualToJsonFile($file): self { |
| 71 | 71 | $this->startStep('is not equal to json file "' . $file . '"') |
| 72 | - ->assertJsonFileNotEqualsJsonFile($file); |
|
| 72 | + ->assertJsonFileNotEqualsJsonFile($file); |
|
| 73 | 73 | |
| 74 | 74 | return $this; |
| 75 | 75 | } |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | */ |
| 80 | 80 | public function isEqualToXmlFile($file): self { |
| 81 | 81 | $this->startStep('is equal to xml file "' . $file . '"') |
| 82 | - ->assertXmlFileEqualsXmlFile($file); |
|
| 82 | + ->assertXmlFileEqualsXmlFile($file); |
|
| 83 | 83 | |
| 84 | 84 | return $this; |
| 85 | 85 | } |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | */ |
| 90 | 90 | public function isNotEqualToXmlFile($file): self { |
| 91 | 91 | $this->startStep('is not equal to xml file "' . $file . '"') |
| 92 | - ->assertXmlFileNotEqualsXmlFile($file); |
|
| 92 | + ->assertXmlFileNotEqualsXmlFile($file); |
|
| 93 | 93 | |
| 94 | 94 | return $this; |
| 95 | 95 | } |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * @return $this |
| 39 | 39 | */ |
| 40 | 40 | public function isEqualTo($file): self { |
| 41 | - $this->startStep('is equal to file "' . $file . '"') |
|
| 41 | + $this->startStep('is equal to file "'.$file.'"') |
|
| 42 | 42 | ->assertFileEquals($file); |
| 43 | 43 | |
| 44 | 44 | return $this; |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * @return $this |
| 49 | 49 | */ |
| 50 | 50 | public function isNotEqualTo($file): self { |
| 51 | - $this->startStep('is not equal to file "' . $file . '"') |
|
| 51 | + $this->startStep('is not equal to file "'.$file.'"') |
|
| 52 | 52 | ->assertFileNotEquals($file); |
| 53 | 53 | |
| 54 | 54 | return $this; |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * @return $this |
| 59 | 59 | */ |
| 60 | 60 | public function isEqualToJsonFile($file): self { |
| 61 | - $this->startStep('is equal to json file "' . $file . '"') |
|
| 61 | + $this->startStep('is equal to json file "'.$file.'"') |
|
| 62 | 62 | ->assertJsonFileEqualsJsonFile($file); |
| 63 | 63 | |
| 64 | 64 | return $this; |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * @return $this |
| 69 | 69 | */ |
| 70 | 70 | public function isNotEqualToJsonFile($file): self { |
| 71 | - $this->startStep('is not equal to json file "' . $file . '"') |
|
| 71 | + $this->startStep('is not equal to json file "'.$file.'"') |
|
| 72 | 72 | ->assertJsonFileNotEqualsJsonFile($file); |
| 73 | 73 | |
| 74 | 74 | return $this; |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * @return $this |
| 79 | 79 | */ |
| 80 | 80 | public function isEqualToXmlFile($file): self { |
| 81 | - $this->startStep('is equal to xml file "' . $file . '"') |
|
| 81 | + $this->startStep('is equal to xml file "'.$file.'"') |
|
| 82 | 82 | ->assertXmlFileEqualsXmlFile($file); |
| 83 | 83 | |
| 84 | 84 | return $this; |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * @return $this |
| 89 | 89 | */ |
| 90 | 90 | public function isNotEqualToXmlFile($file): self { |
| 91 | - $this->startStep('is not equal to xml file "' . $file . '"') |
|
| 91 | + $this->startStep('is not equal to xml file "'.$file.'"') |
|
| 92 | 92 | ->assertXmlFileNotEqualsXmlFile($file); |
| 93 | 93 | |
| 94 | 94 | return $this; |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | public function isJson(): self { |
| 16 | 16 | $this->startStep('is JSON') |
| 17 | - ->assertJson(); |
|
| 17 | + ->assertJson(); |
|
| 18 | 18 | |
| 19 | 19 | return $this; |
| 20 | 20 | } |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | public function isEqualToJsonFile($file): self { |
| 26 | 26 | $this->startStep('is equal to JSON file "' . $file . '"') |
| 27 | - ->assertJsonStringEqualsJsonFile($file); |
|
| 27 | + ->assertJsonStringEqualsJsonFile($file); |
|
| 28 | 28 | |
| 29 | 29 | return $this; |
| 30 | 30 | } |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | */ |
| 35 | 35 | public function isNotEqualToJsonFile($file): self { |
| 36 | 36 | $this->startStep('is not equal to JSON file "' . $file . '"') |
| 37 | - ->assertJsonStringNotEqualsJsonFile($file); |
|
| 37 | + ->assertJsonStringNotEqualsJsonFile($file); |
|
| 38 | 38 | |
| 39 | 39 | return $this; |
| 40 | 40 | } |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | */ |
| 45 | 45 | public function isEqualToJsonString($string): self { |
| 46 | 46 | $this->startStep('is equal to JSON string "' . $string . '"') |
| 47 | - ->assertJsonStringEqualsJsonString($string); |
|
| 47 | + ->assertJsonStringEqualsJsonString($string); |
|
| 48 | 48 | |
| 49 | 49 | return $this; |
| 50 | 50 | } |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | */ |
| 55 | 55 | public function isNotEqualToJsonString($string): self { |
| 56 | 56 | $this->startStep('is not equal to JSON string "' . $string . '"') |
| 57 | - ->assertJsonStringNotEqualsJsonString($string); |
|
| 57 | + ->assertJsonStringNotEqualsJsonString($string); |
|
| 58 | 58 | |
| 59 | 59 | return $this; |
| 60 | 60 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | public function isEqualToFile($file): self { |
| 66 | 66 | $this->startStep('is equal to file "' . $file . '"') |
| 67 | - ->assertStringEqualsFile($file); |
|
| 67 | + ->assertStringEqualsFile($file); |
|
| 68 | 68 | |
| 69 | 69 | return $this; |
| 70 | 70 | } |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | */ |
| 75 | 75 | public function isNotEqualToFile($file): self { |
| 76 | 76 | $this->startStep('is not equal to file "' . $file . '"') |
| 77 | - ->assertStringNotEqualsFile($file); |
|
| 77 | + ->assertStringNotEqualsFile($file); |
|
| 78 | 78 | |
| 79 | 79 | return $this; |
| 80 | 80 | } |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | */ |
| 85 | 85 | public function isEqualToXmlFile($file): self { |
| 86 | 86 | $this->startStep('is equal to XML file "' . $file . '"') |
| 87 | - ->assertXmlStringEqualsXmlFile($file); |
|
| 87 | + ->assertXmlStringEqualsXmlFile($file); |
|
| 88 | 88 | |
| 89 | 89 | return $this; |
| 90 | 90 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | public function isNotEqualToXmlFile($file): self { |
| 96 | 96 | $this->startStep('is not equal to XML file "' . $file . '"') |
| 97 | - ->assertXmlStringNotEqualsXmlFile($file); |
|
| 97 | + ->assertXmlStringNotEqualsXmlFile($file); |
|
| 98 | 98 | |
| 99 | 99 | return $this; |
| 100 | 100 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | */ |
| 105 | 105 | public function isEqualToXmlString($xmlString): self { |
| 106 | 106 | $this->startStep('is equal to XML string "' . $xmlString . '"') |
| 107 | - ->assertXmlStringEqualsXmlString($xmlString); |
|
| 107 | + ->assertXmlStringEqualsXmlString($xmlString); |
|
| 108 | 108 | |
| 109 | 109 | return $this; |
| 110 | 110 | } |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | public function isNotEqualToXmlString($xmlString): self { |
| 116 | 116 | $this->startStep('is not equal to XML string "' . $xmlString . '"') |
| 117 | - ->assertXmlStringNotEqualsXmlString($xmlString); |
|
| 117 | + ->assertXmlStringNotEqualsXmlString($xmlString); |
|
| 118 | 118 | |
| 119 | 119 | return $this; |
| 120 | 120 | } |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | */ |
| 125 | 125 | public function startsWith($prefix): self { |
| 126 | 126 | $this->startStep('starts with "' . $prefix . '"') |
| 127 | - ->assertStringStartsWith($prefix); |
|
| 127 | + ->assertStringStartsWith($prefix); |
|
| 128 | 128 | |
| 129 | 129 | return $this; |
| 130 | 130 | } |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | */ |
| 135 | 135 | public function doesNotStartWith($prefix): self { |
| 136 | 136 | $this->startStep('does not start with "' . $prefix . '"') |
| 137 | - ->assertStringStartsNotWith($prefix); |
|
| 137 | + ->assertStringStartsNotWith($prefix); |
|
| 138 | 138 | |
| 139 | 139 | return $this; |
| 140 | 140 | } |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | */ |
| 145 | 145 | public function endsWith($suffix): self { |
| 146 | 146 | $this->startStep('ends with "' . $suffix . '"') |
| 147 | - ->assertStringEndsWith($suffix); |
|
| 147 | + ->assertStringEndsWith($suffix); |
|
| 148 | 148 | |
| 149 | 149 | return $this; |
| 150 | 150 | } |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | */ |
| 155 | 155 | public function doesNotEndWith($suffix): self { |
| 156 | 156 | $this->startStep('does not end with "' . $suffix . '"') |
| 157 | - ->assertStringEndsNotWith($suffix); |
|
| 157 | + ->assertStringEndsNotWith($suffix); |
|
| 158 | 158 | |
| 159 | 159 | return $this; |
| 160 | 160 | } |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | */ |
| 165 | 165 | public function matchesRegExp($expression): self { |
| 166 | 166 | $this->startStep('matches regular expression "' . $expression . '"') |
| 167 | - ->assertRegExp($expression); |
|
| 167 | + ->assertRegExp($expression); |
|
| 168 | 168 | |
| 169 | 169 | return $this; |
| 170 | 170 | } |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | */ |
| 175 | 175 | public function matchesFormat($format): self { |
| 176 | 176 | $this->startStep('matches format "' . $format . '"') |
| 177 | - ->assertStringMatchesFormat($format); |
|
| 177 | + ->assertStringMatchesFormat($format); |
|
| 178 | 178 | |
| 179 | 179 | return $this; |
| 180 | 180 | } |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | */ |
| 185 | 185 | public function doesNotMatchFormat($format): self { |
| 186 | 186 | $this->startStep('does not match format "' . $format . '"') |
| 187 | - ->assertStringNotMatchesFormat($format); |
|
| 187 | + ->assertStringNotMatchesFormat($format); |
|
| 188 | 188 | |
| 189 | 189 | return $this; |
| 190 | 190 | } |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | */ |
| 195 | 195 | public function matchesFormatFromFile($formatFile): self { |
| 196 | 196 | $this->startStep('matches format from file "' . $formatFile . '"') |
| 197 | - ->assertStringMatchesFormatFile($formatFile); |
|
| 197 | + ->assertStringMatchesFormatFile($formatFile); |
|
| 198 | 198 | |
| 199 | 199 | return $this; |
| 200 | 200 | } |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | */ |
| 205 | 205 | public function doesNotMatchFormatFromFile($formatFile): self { |
| 206 | 206 | $this->startStep('does not match format from file "' . $formatFile . '"') |
| 207 | - ->assertStringNotMatchesFormatFile($formatFile); |
|
| 207 | + ->assertStringNotMatchesFormatFile($formatFile); |
|
| 208 | 208 | |
| 209 | 209 | return $this; |
| 210 | 210 | } |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | */ |
| 215 | 215 | public function contains($needle): self { |
| 216 | 216 | $this->startStep('contains "' . $needle . '"') |
| 217 | - ->assertContains($needle); |
|
| 217 | + ->assertContains($needle); |
|
| 218 | 218 | |
| 219 | 219 | return $this; |
| 220 | 220 | } |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | */ |
| 225 | 225 | public function doesNotContain($needle): self { |
| 226 | 226 | $this->startStep('does not contain "' . $needle . '"') |
| 227 | - ->assertNotContains($needle); |
|
| 227 | + ->assertNotContains($needle); |
|
| 228 | 228 | |
| 229 | 229 | return $this; |
| 230 | 230 | } |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | * @return $this |
| 24 | 24 | */ |
| 25 | 25 | public function isEqualToJsonFile($file): self { |
| 26 | - $this->startStep('is equal to JSON file "' . $file . '"') |
|
| 26 | + $this->startStep('is equal to JSON file "'.$file.'"') |
|
| 27 | 27 | ->assertJsonStringEqualsJsonFile($file); |
| 28 | 28 | |
| 29 | 29 | return $this; |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * @return $this |
| 34 | 34 | */ |
| 35 | 35 | public function isNotEqualToJsonFile($file): self { |
| 36 | - $this->startStep('is not equal to JSON file "' . $file . '"') |
|
| 36 | + $this->startStep('is not equal to JSON file "'.$file.'"') |
|
| 37 | 37 | ->assertJsonStringNotEqualsJsonFile($file); |
| 38 | 38 | |
| 39 | 39 | return $this; |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * @return $this |
| 44 | 44 | */ |
| 45 | 45 | public function isEqualToJsonString($string): self { |
| 46 | - $this->startStep('is equal to JSON string "' . $string . '"') |
|
| 46 | + $this->startStep('is equal to JSON string "'.$string.'"') |
|
| 47 | 47 | ->assertJsonStringEqualsJsonString($string); |
| 48 | 48 | |
| 49 | 49 | return $this; |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | * @return $this |
| 54 | 54 | */ |
| 55 | 55 | public function isNotEqualToJsonString($string): self { |
| 56 | - $this->startStep('is not equal to JSON string "' . $string . '"') |
|
| 56 | + $this->startStep('is not equal to JSON string "'.$string.'"') |
|
| 57 | 57 | ->assertJsonStringNotEqualsJsonString($string); |
| 58 | 58 | |
| 59 | 59 | return $this; |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * @return $this |
| 64 | 64 | */ |
| 65 | 65 | public function isEqualToFile($file): self { |
| 66 | - $this->startStep('is equal to file "' . $file . '"') |
|
| 66 | + $this->startStep('is equal to file "'.$file.'"') |
|
| 67 | 67 | ->assertStringEqualsFile($file); |
| 68 | 68 | |
| 69 | 69 | return $this; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * @return $this |
| 74 | 74 | */ |
| 75 | 75 | public function isNotEqualToFile($file): self { |
| 76 | - $this->startStep('is not equal to file "' . $file . '"') |
|
| 76 | + $this->startStep('is not equal to file "'.$file.'"') |
|
| 77 | 77 | ->assertStringNotEqualsFile($file); |
| 78 | 78 | |
| 79 | 79 | return $this; |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | * @return $this |
| 84 | 84 | */ |
| 85 | 85 | public function isEqualToXmlFile($file): self { |
| 86 | - $this->startStep('is equal to XML file "' . $file . '"') |
|
| 86 | + $this->startStep('is equal to XML file "'.$file.'"') |
|
| 87 | 87 | ->assertXmlStringEqualsXmlFile($file); |
| 88 | 88 | |
| 89 | 89 | return $this; |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * @return $this |
| 94 | 94 | */ |
| 95 | 95 | public function isNotEqualToXmlFile($file): self { |
| 96 | - $this->startStep('is not equal to XML file "' . $file . '"') |
|
| 96 | + $this->startStep('is not equal to XML file "'.$file.'"') |
|
| 97 | 97 | ->assertXmlStringNotEqualsXmlFile($file); |
| 98 | 98 | |
| 99 | 99 | return $this; |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * @return $this |
| 104 | 104 | */ |
| 105 | 105 | public function isEqualToXmlString($xmlString): self { |
| 106 | - $this->startStep('is equal to XML string "' . $xmlString . '"') |
|
| 106 | + $this->startStep('is equal to XML string "'.$xmlString.'"') |
|
| 107 | 107 | ->assertXmlStringEqualsXmlString($xmlString); |
| 108 | 108 | |
| 109 | 109 | return $this; |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * @return $this |
| 114 | 114 | */ |
| 115 | 115 | public function isNotEqualToXmlString($xmlString): self { |
| 116 | - $this->startStep('is not equal to XML string "' . $xmlString . '"') |
|
| 116 | + $this->startStep('is not equal to XML string "'.$xmlString.'"') |
|
| 117 | 117 | ->assertXmlStringNotEqualsXmlString($xmlString); |
| 118 | 118 | |
| 119 | 119 | return $this; |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * @return $this |
| 124 | 124 | */ |
| 125 | 125 | public function startsWith($prefix): self { |
| 126 | - $this->startStep('starts with "' . $prefix . '"') |
|
| 126 | + $this->startStep('starts with "'.$prefix.'"') |
|
| 127 | 127 | ->assertStringStartsWith($prefix); |
| 128 | 128 | |
| 129 | 129 | return $this; |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | * @return $this |
| 134 | 134 | */ |
| 135 | 135 | public function doesNotStartWith($prefix): self { |
| 136 | - $this->startStep('does not start with "' . $prefix . '"') |
|
| 136 | + $this->startStep('does not start with "'.$prefix.'"') |
|
| 137 | 137 | ->assertStringStartsNotWith($prefix); |
| 138 | 138 | |
| 139 | 139 | return $this; |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * @return $this |
| 144 | 144 | */ |
| 145 | 145 | public function endsWith($suffix): self { |
| 146 | - $this->startStep('ends with "' . $suffix . '"') |
|
| 146 | + $this->startStep('ends with "'.$suffix.'"') |
|
| 147 | 147 | ->assertStringEndsWith($suffix); |
| 148 | 148 | |
| 149 | 149 | return $this; |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | * @return $this |
| 154 | 154 | */ |
| 155 | 155 | public function doesNotEndWith($suffix): self { |
| 156 | - $this->startStep('does not end with "' . $suffix . '"') |
|
| 156 | + $this->startStep('does not end with "'.$suffix.'"') |
|
| 157 | 157 | ->assertStringEndsNotWith($suffix); |
| 158 | 158 | |
| 159 | 159 | return $this; |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | * @return $this |
| 164 | 164 | */ |
| 165 | 165 | public function matchesRegExp($expression): self { |
| 166 | - $this->startStep('matches regular expression "' . $expression . '"') |
|
| 166 | + $this->startStep('matches regular expression "'.$expression.'"') |
|
| 167 | 167 | ->assertRegExp($expression); |
| 168 | 168 | |
| 169 | 169 | return $this; |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * @return $this |
| 174 | 174 | */ |
| 175 | 175 | public function matchesFormat($format): self { |
| 176 | - $this->startStep('matches format "' . $format . '"') |
|
| 176 | + $this->startStep('matches format "'.$format.'"') |
|
| 177 | 177 | ->assertStringMatchesFormat($format); |
| 178 | 178 | |
| 179 | 179 | return $this; |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | * @return $this |
| 184 | 184 | */ |
| 185 | 185 | public function doesNotMatchFormat($format): self { |
| 186 | - $this->startStep('does not match format "' . $format . '"') |
|
| 186 | + $this->startStep('does not match format "'.$format.'"') |
|
| 187 | 187 | ->assertStringNotMatchesFormat($format); |
| 188 | 188 | |
| 189 | 189 | return $this; |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * @return $this |
| 194 | 194 | */ |
| 195 | 195 | public function matchesFormatFromFile($formatFile): self { |
| 196 | - $this->startStep('matches format from file "' . $formatFile . '"') |
|
| 196 | + $this->startStep('matches format from file "'.$formatFile.'"') |
|
| 197 | 197 | ->assertStringMatchesFormatFile($formatFile); |
| 198 | 198 | |
| 199 | 199 | return $this; |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | * @return $this |
| 204 | 204 | */ |
| 205 | 205 | public function doesNotMatchFormatFromFile($formatFile): self { |
| 206 | - $this->startStep('does not match format from file "' . $formatFile . '"') |
|
| 206 | + $this->startStep('does not match format from file "'.$formatFile.'"') |
|
| 207 | 207 | ->assertStringNotMatchesFormatFile($formatFile); |
| 208 | 208 | |
| 209 | 209 | return $this; |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | * @return $this |
| 214 | 214 | */ |
| 215 | 215 | public function contains($needle): self { |
| 216 | - $this->startStep('contains "' . $needle . '"') |
|
| 216 | + $this->startStep('contains "'.$needle.'"') |
|
| 217 | 217 | ->assertContains($needle); |
| 218 | 218 | |
| 219 | 219 | return $this; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | * @return $this |
| 224 | 224 | */ |
| 225 | 225 | public function doesNotContain($needle): self { |
| 226 | - $this->startStep('does not contain "' . $needle . '"') |
|
| 226 | + $this->startStep('does not contain "'.$needle.'"') |
|
| 227 | 227 | ->assertNotContains($needle); |
| 228 | 228 | |
| 229 | 229 | return $this; |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | public function hasKey($key) { |
| 16 | 16 | $this->startStep('has key "' . $key . '"') |
| 17 | - ->assertArrayHasKey($key); |
|
| 17 | + ->assertArrayHasKey($key); |
|
| 18 | 18 | |
| 19 | 19 | return $this; |
| 20 | 20 | } |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function doesNotHaveKey($key) { |
| 29 | 29 | $this->startStep('does not have key "' . $key . '"') |
| 30 | - ->assertArrayNotHasKey($key); |
|
| 30 | + ->assertArrayNotHasKey($key); |
|
| 31 | 31 | |
| 32 | 32 | return $this; |
| 33 | 33 | } |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | public function hasSubset($subset, $subsetName = '') { |
| 39 | 39 | $stepName = $subsetName ? "has subset \"{$subsetName}\"" : 'has expected subset'; |
| 40 | 40 | $this->startStep($stepName) |
| 41 | - ->assertArraySubset($subset, false); |
|
| 41 | + ->assertArraySubset($subset, false); |
|
| 42 | 42 | |
| 43 | 43 | return $this; |
| 44 | 44 | } |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | $stepName = $subsetName ? "has exactly the same subset \"{$subsetName}\"" : 'has exactly the same expected subset'; |
| 58 | 58 | |
| 59 | 59 | $this->startStep($stepName) |
| 60 | - ->assertArraySubset($subset, true); |
|
| 60 | + ->assertArraySubset($subset, true); |
|
| 61 | 61 | |
| 62 | 62 | return $this; |
| 63 | 63 | } |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $stepName = $expectedValueName ? "has same size as {$expectedValueName}" : "has same size as expected"; |
| 70 | 70 | |
| 71 | 71 | $this->startStep($stepName) |
| 72 | - ->assertSameSize($expected); |
|
| 72 | + ->assertSameSize($expected); |
|
| 73 | 73 | |
| 74 | 74 | return $this; |
| 75 | 75 | } |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | $stepName = $expectedValueName ? "does not have same size as {$expectedValueName}" : "does not have same size as expected"; |
| 82 | 82 | |
| 83 | 83 | $this->startStep($stepName) |
| 84 | - ->assertNotSameSize($expected); |
|
| 84 | + ->assertNotSameSize($expected); |
|
| 85 | 85 | |
| 86 | 86 | return $this; |
| 87 | 87 | } |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | $stepName = $needleName ? "contains {$needleName}" : "contains expected needle"; |
| 94 | 94 | |
| 95 | 95 | $this->startStep($stepName) |
| 96 | - ->assertContains($needle); |
|
| 96 | + ->assertContains($needle); |
|
| 97 | 97 | |
| 98 | 98 | return $this; |
| 99 | 99 | } |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | $stepName = $needleName ? "does not contain {$needleName}" : "does not contain expected needle"; |
| 106 | 106 | |
| 107 | 107 | $this->startStep($stepName) |
| 108 | - ->assertNotContains($needle); |
|
| 108 | + ->assertNotContains($needle); |
|
| 109 | 109 | |
| 110 | 110 | return $this; |
| 111 | 111 | } |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | */ |
| 116 | 116 | public function containsOnlyValuesOfType($type) { |
| 117 | 117 | $this->startStep('contains only values of type "' . $type . '"') |
| 118 | - ->assertContainsOnly($type); |
|
| 118 | + ->assertContainsOnly($type); |
|
| 119 | 119 | |
| 120 | 120 | return $this; |
| 121 | 121 | } |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | */ |
| 126 | 126 | public function containsOnlyValuesOfNativeType($type) { |
| 127 | 127 | $this->startStep('contains only values of native type "' . $type . '"') |
| 128 | - ->assertContainsOnly($type, true); |
|
| 128 | + ->assertContainsOnly($type, true); |
|
| 129 | 129 | |
| 130 | 130 | return $this; |
| 131 | 131 | } |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | */ |
| 136 | 136 | public function containsOnlyInstancesOf($class) { |
| 137 | 137 | $this->startStep('contains only instances of "' . $class . '"') |
| 138 | - ->assertContainsOnlyInstancesOf($class); |
|
| 138 | + ->assertContainsOnlyInstancesOf($class); |
|
| 139 | 139 | |
| 140 | 140 | return $this; |
| 141 | 141 | } |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | */ |
| 146 | 146 | public function doesNotContainOnlyValuesOfType($type) { |
| 147 | 147 | $this->startStep('does not contain only values of type "' . $type . '"') |
| 148 | - ->assertNotContainsOnly($type, null); |
|
| 148 | + ->assertNotContainsOnly($type, null); |
|
| 149 | 149 | |
| 150 | 150 | return $this; |
| 151 | 151 | } |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | */ |
| 156 | 156 | public function doesNotContainOnlyValuesOfNativeType($type) { |
| 157 | 157 | $this->startStep('does not contain only values of native type "' . $type . '"') |
| 158 | - ->assertNotContainsOnly($type, true); |
|
| 158 | + ->assertNotContainsOnly($type, true); |
|
| 159 | 159 | |
| 160 | 160 | return $this; |
| 161 | 161 | } |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | $stepName = $expectedValueName ? "has count equal to count of {$expectedValueName}" : "has count equal to count of expected"; |
| 168 | 168 | |
| 169 | 169 | $this->startStep($stepName) |
| 170 | - ->assertCount($this->convertToCount($countOrCountable)); |
|
| 170 | + ->assertCount($this->convertToCount($countOrCountable)); |
|
| 171 | 171 | |
| 172 | 172 | return $this; |
| 173 | 173 | } |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | $stepName = $expectedValueName ? "does not have count equal count of {$expectedValueName}" : "does not have count equal count of expected"; |
| 180 | 180 | |
| 181 | 181 | $this->startStep($stepName) |
| 182 | - ->assertNotCount($this->convertToCount($countOrCountable)); |
|
| 182 | + ->assertNotCount($this->convertToCount($countOrCountable)); |
|
| 183 | 183 | |
| 184 | 184 | return $this; |
| 185 | 185 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | * @return $this |
| 14 | 14 | */ |
| 15 | 15 | public function hasKey($key) { |
| 16 | - $this->startStep('has key "' . $key . '"') |
|
| 16 | + $this->startStep('has key "'.$key.'"') |
|
| 17 | 17 | ->assertArrayHasKey($key); |
| 18 | 18 | |
| 19 | 19 | return $this; |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * @return $this |
| 27 | 27 | */ |
| 28 | 28 | public function doesNotHaveKey($key) { |
| 29 | - $this->startStep('does not have key "' . $key . '"') |
|
| 29 | + $this->startStep('does not have key "'.$key.'"') |
|
| 30 | 30 | ->assertArrayNotHasKey($key); |
| 31 | 31 | |
| 32 | 32 | return $this; |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * @return $this |
| 115 | 115 | */ |
| 116 | 116 | public function containsOnlyValuesOfType($type) { |
| 117 | - $this->startStep('contains only values of type "' . $type . '"') |
|
| 117 | + $this->startStep('contains only values of type "'.$type.'"') |
|
| 118 | 118 | ->assertContainsOnly($type); |
| 119 | 119 | |
| 120 | 120 | return $this; |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * @return $this |
| 125 | 125 | */ |
| 126 | 126 | public function containsOnlyValuesOfNativeType($type) { |
| 127 | - $this->startStep('contains only values of native type "' . $type . '"') |
|
| 127 | + $this->startStep('contains only values of native type "'.$type.'"') |
|
| 128 | 128 | ->assertContainsOnly($type, true); |
| 129 | 129 | |
| 130 | 130 | return $this; |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * @return $this |
| 135 | 135 | */ |
| 136 | 136 | public function containsOnlyInstancesOf($class) { |
| 137 | - $this->startStep('contains only instances of "' . $class . '"') |
|
| 137 | + $this->startStep('contains only instances of "'.$class.'"') |
|
| 138 | 138 | ->assertContainsOnlyInstancesOf($class); |
| 139 | 139 | |
| 140 | 140 | return $this; |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * @return $this |
| 145 | 145 | */ |
| 146 | 146 | public function doesNotContainOnlyValuesOfType($type) { |
| 147 | - $this->startStep('does not contain only values of type "' . $type . '"') |
|
| 147 | + $this->startStep('does not contain only values of type "'.$type.'"') |
|
| 148 | 148 | ->assertNotContainsOnly($type, null); |
| 149 | 149 | |
| 150 | 150 | return $this; |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | * @return $this |
| 155 | 155 | */ |
| 156 | 156 | public function doesNotContainOnlyValuesOfNativeType($type) { |
| 157 | - $this->startStep('does not contain only values of native type "' . $type . '"') |
|
| 157 | + $this->startStep('does not contain only values of native type "'.$type.'"') |
|
| 158 | 158 | ->assertNotContainsOnly($type, true); |
| 159 | 159 | |
| 160 | 160 | return $this; |