Skip to content

Commit

Permalink
Follow PEAR coding standard, also in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelpichler committed Mar 11, 2011
1 parent 3127bf8 commit 6679e3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
@@ -1,3 +1,9 @@
phpmd-1.1.0 (2011/03/ )
========================

- Implemented #10474873: Add rule for PHP's goto statement. Implemented
with commit #.

phpmd-1.0.1 (2011/02/12)
========================

Expand Down
Expand Up @@ -78,7 +78,7 @@ class PHP_PMD_Integration_GotoStatementIntegrationTest extends PHP_PMD_AbstractT
*/
public function testReportContainsGotoStatementWarning()
{
$reportfile = self::createTempFileUri();
$file = self::createTempFileUri();

PHP_PMD_TextUI_Command::main(
array(
Expand All @@ -87,10 +87,10 @@ public function testReportContainsGotoStatementWarning()
'text',
'design',
'--reportfile',
$reportfile
$file
)
);

self::assertContains('utilizes a goto statement.', file_get_contents($reportfile));
self::assertContains('utilizes a goto statement.', file_get_contents($file));
}
}

0 comments on commit 6679e3a

Please sign in to comment.