Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: Code style and unit test failures #2

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/DrupalPatchChecker.php
Expand Up @@ -10,7 +10,8 @@
/**
* Checks to see if patches contain hook_update_N().
*/
class DrupalPatchChecker implements PluginInterface {
class DrupalPatchChecker implements PluginInterface
{

protected $composer;

Expand Down
2 changes: 1 addition & 1 deletion tests/DrupalPatchCheckerUnitTest.php
Expand Up @@ -26,7 +26,7 @@ public function testCheckPatchFileArrayForHookUpdateNreturnsCorrectLines() {
$expected = [
'myfile.patch contains hook_update_N() on Line 2.',
'myfile.patch contains hook_update_N() on Line 3.',
'myfile.patch contains hook_update_N() on Line 4.',
'myfile.patch contains hook_update_N() on Line 6.',
];
$this->assertEquals($expected, $actual);
}
Expand Down