Skip to content

Commit

Permalink
Merge pull request #27 from SpacePossum/master_readme_linebreaks
Browse files Browse the repository at this point in the history
Linebreak after title
  • Loading branch information
SpacePossum authored Nov 22, 2016
2 parents 126dd38 + 9f1e96f commit f8e8ec4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ The asserts are provided using Traits so no changes are needed in the hierarchy

The additional asserts are provided through the Traits:

- **FileExistsAssertTrait**
- **FileExistsAssertTrait**<br/>
Replaces the PHPUnit `assertFileExists` method. This assert does not pass if there is a directory rather than a file.
- **FileSystemAssertTrait**
- **FileSystemAssertTrait**<br/>
Provides asserts for testing directories, files and symbolic links.
- **RangeAssertTrait**
- **RangeAssertTrait**<br/>
Provides asserts for testing values with ranges.
- **ScalarAssertTrait**
- **ScalarAssertTrait**<br/>
Provides asserts for testing of scalars such as integer, float, etc.
- **StringsAssertTrait**
- **StringsAssertTrait**<br/>
Provides asserts for testing of strings.
- **XMLAssertTrait**
- **XMLAssertTrait**<br/>
Additional PHPUnit asserts for testing XML based logic.

See Traits and asserts listing for more details.
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPUnit/Tests/ReadMe/ReadMeGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function generateReadMe(array $classes)
$shortClass = substr($class, strrpos($class, '\\') + 1);
$classDoc = $properties['classDoc'];

$listing .= sprintf("\n- **%s**\n %s", $shortClass, $classDoc['summary']);
$listing .= sprintf("\n- **%s**<br/>\n %s", $shortClass, $classDoc['summary']);
$doc .= sprintf("\n## %s\n###### %s\n%s\n", $shortClass, $class, $classDoc['doc']);
if ('' !== $classDoc['doc']) {
$doc .= "\n";
Expand Down

0 comments on commit f8e8ec4

Please sign in to comment.