Skip to content

Commit 85d4387

Browse files
MAXakaWIZARDDavertMik
authored andcommitted
PSR-2 compliance (#3105)
* Add composer.lock to .gitignore * Put direct link to coding standards description * Fix spacing * Fix code style for ext and symfony-shim * Fix PSR2 compliance issues * Fix PSR2 compliance issues * Add generated test files to gitginore * Fix PSR2 compliance issues in tests * Get rid of long code lines in tests to comply PSR2 * Get rid of long code lines to comply PSR2 * Add code style rule set * Fix wrong indentation * Improve code style
1 parent f236abf commit 85d4387

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/Codeception/Module/Sequence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ public function _afterSuite()
9696
require_once __DIR__ . '/../Util/sqs.php';
9797
} else {
9898
throw new ModuleException('Codeception\Module\Sequence', "function 'sq' and 'sqs' already defined");
99-
}
99+
}

src/Codeception/Util/sq.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ function sq($id = null)
1313
}
1414
return $sequence;
1515
}
16-
17-
}
16+
}

tests/unit/Codeception/Module/SequenceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ public function testSuiteSequences()
2626
$module->_afterSuite();
2727
$this->assertNotEquals($old, sqs(1));
2828
}
29-
}
29+
}

0 commit comments

Comments
 (0)