Showing 899 of 899 total issues
Class name "util_plugin_issuelinks_test" is not in camel caps format Open
class util_plugin_issuelinks_test extends DokuWikiTest {
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
'Key $conf[\'' . $key . '\'] missing in ' . DOKU_PLUGIN . 'issuelinks/conf/default.php');
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
$this->assertEquals(gettype($conf), gettype($meta),
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
'Both ' . DOKU_PLUGIN . 'issuelinks/conf/default.php and ' . DOKU_PLUGIN . 'issuelinks/conf/metadata.php have to exist and contain the same keys.');
- Exclude checks
Opening brace should be on a new line Open
public function setUp() {
- Exclude checks
Class name "helper_plugin_issuelinks_util" is not in camel caps format Open
class helper_plugin_issuelinks_util extends DokuWiki_Plugin
- Exclude checks
Opening brace should be on a new line Open
public function test_parseHTTPLinkHeaders($linkHeader, $expected_links, $msg) {
- Exclude checks
Class name "helper_plugin_issuelinks_data" is not in camel caps format Open
class helper_plugin_issuelinks_data extends DokuWiki_Plugin
- Exclude checks
Class name "helper_plugin_issuelinks_db" is not in camel caps format Open
class helper_plugin_issuelinks_db extends DokuWiki_Plugin
- Exclude checks
The variable $ID is not named in camelCase. Open
private function saveLinkToDatabase($pmServiceName, $project, $issue_id, $isMergeRequest)
{
global $ID;
$currentRev = @filemtime(wikiFN($ID));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $INFO is not named in camelCase. Open
public function repoAdminToggle(Doku_Event $event, $param)
{
if ($event->data !== 'issuelinks_repo_admin_toggle') {
return;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $pagerev_issues is not named in camelCase. Open
public function test_jiralink() {
// arrange
global $ID;
$ID = 'testpage';
saveWikiText('testpage','[[jira>SPR-281]] [[jira>TW-7]]','test summary');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ID is not named in camelCase. Open
private function saveLinkToDatabase($pmServiceName, $project, $issue_id, $isMergeRequest)
{
global $ID;
$currentRev = @filemtime(wikiFN($ID));
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $INPUT is not named in camelCase. Open
public function handleAjax(Doku_Event $event, $param)
{
if ($event->data !== 'plugin_issuelinks') {
return;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $INPUT is not named in camelCase. Open
public function run()
{
/** @var \helper_plugin_issuelinks_util $util */
$util = plugin_load('helper', 'issuelinks_util');
if (!$util) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $INPUT is not named in camelCase. Open
public function run()
{
/** @var \helper_plugin_issuelinks_util $util */
$util = plugin_load('helper', 'issuelinks_util');
if (!$util) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $INPUT is not named in camelCase. Open
protected function appendServicePage($html, $serviceID)
{
$serviceProvider = ServiceProvider::getInstance();
$services = $serviceProvider->getServices();
$service = $services[$serviceID]::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $INPUT is not named in camelCase. Open
public function repoAdminToggle(Doku_Event $event, $param)
{
if ($event->data !== 'issuelinks_repo_admin_toggle') {
return;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $meta_file is not named in camelCase. Open
public function test_plugin_conf()
{
$conf_file = __DIR__ . '/../conf/default.php';
if (file_exists($conf_file)) {
include($conf_file);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $INPUT is not named in camelCase. Open
protected function appendServicePage($html, $serviceID)
{
$serviceProvider = ServiceProvider::getInstance();
$services = $serviceProvider->getServices();
$service = $services[$serviceID]::getInstance();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}