cosmocode/dokuwiki-plugin-issuelinks

View on GitHub

Showing 899 of 899 total issues

Only one argument is allowed per line in a multi-line function call
Open

                $this->assertArrayHasKey($key, $meta,
Severity: Minor
Found in _test/general.test.php by phpcodesniffer

Line exceeds 120 characters; contains 158 characters
Open

                    'next' => 'https://gitlab.cosmocode.de/api/v3/groups/dokuwiki/projects?id=dokuwiki&page=2&per_page=20&private_token=TGVvcy_D6MMCXxnZALTc',
Severity: Minor
Found in _test/util.test.php by phpcodesniffer

Line exceeds 120 characters; contains 160 characters
Open

            'Both ' . DOKU_PLUGIN . 'issuelinks/conf/default.php and ' . DOKU_PLUGIN . 'issuelinks/conf/metadata.php have to exist and contain the same keys.');
Severity: Minor
Found in _test/general.test.php by phpcodesniffer

Line exceeds 120 characters; contains 441 characters
Open

                '<https://gitlab.cosmocode.de/api/v3/groups/dokuwiki/projects?id=dokuwiki&page=2&per_page=20&private_token=TGVvcy_D6MMCXxnZALTc>; rel="next", <https://gitlab.cosmocode.de/api/v3/groups/dokuwiki/projects?id=dokuwiki&page=1&per_page=20&private_token=TGVvcy_D6MMCXxnZALTc>; rel="first", <https://gitlab.cosmocode.de/api/v3/groups/dokuwiki/projects?id=dokuwiki&page=2&per_page=20&private_token=TGVvcy_D6MMCXxnZALTc>; rel="last"',
Severity: Minor
Found in _test/util.test.php by phpcodesniffer

Line exceeds 120 characters; contains 168 characters
Open

                '<https://api.github.com/repositories/48178744/commits?page=2>; rel="next", <https://api.github.com/repositories/48178744/commits?page=23>; rel="last"',
Severity: Minor
Found in _test/util.test.php by phpcodesniffer

Line exceeds 120 characters; contains 159 characters
Open

                    'first' => 'https://gitlab.cosmocode.de/api/v3/groups/dokuwiki/projects?id=dokuwiki&page=1&per_page=20&private_token=TGVvcy_D6MMCXxnZALTc',
Severity: Minor
Found in _test/util.test.php by phpcodesniffer

Inline control structures are not allowed
Open

        if (!$db) return;
Severity: Minor
Found in helper/db.php by phpcodesniffer

Line exceeds 120 characters; contains 157 characters
Open

                    'last' => 'https://gitlab.cosmocode.de/api/v3/groups/dokuwiki/projects?id=dokuwiki&page=2&per_page=20&private_token=TGVvcy_D6MMCXxnZALTc'
Severity: Minor
Found in _test/util.test.php by phpcodesniffer

Line exceeds 120 characters; contains 129 characters
Open

$lang['error: upstream forbidden'] = 'The currently associated user does not have the rights to access this issue or repository';
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Line exceeds 120 characters; contains 186 characters
Open

$lang['upstream issue: auto update'] = "This comment has been created by a bot and will be automatically updated. See [www.sprintdoc.de](https://www.sprintdoc.de) for more information.";
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Line exceeds 120 characters; contains 136 characters
Open

$lang['upstream issue: no pages edited'] = 'Currently no [documentation](%s) changes have been marked as related to this issue.' . "\n";
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Line exceeds 120 characters; contains 127 characters
Open

$lang['text gitlab: generate api key'] = 'Please go to %s and generate a new token for this plugin with the <b>api</b> scope.';
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

$lang['no git commits'] = 'There are no git commits associated with this issue in jira. Hence there can be no suggestions.';
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Line exceeds 120 characters; contains 134 characters
Open

$lang['upstream issue: pages edited'] = 'The following [documentation](%s) pages have been edited in context with this issue:' . "\n";
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Line exceeds 120 characters; contains 165 characters
Open

$lang['jira:webhook settings link'] = 'All webhooks currently active in your Jira can be found at Jira\'s advanced system settings page in the webhooks subsection.';
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Line exceeds 120 characters; contains 234 characters
Open

$lang['error:system too many requests'] = 'This system has made too many requests to GitHub. Please try again/continue after %s. Please note that this time may be either UTC or server-time or your local time depending on your setup.';
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Line exceeds 120 characters; contains 174 characters
Open

$lang['text:repo admin'] = 'Below are the repositories of the organisation/group to which the authorized user has access to. Click on the icon to create/delete the webhook.';
Severity: Minor
Found in lang/en/lang.php by phpcodesniffer

Class name "admin_plugin_issuelinks_repoadmin" is not in camel caps format
Open

class admin_plugin_issuelinks_repoadmin extends DokuWiki_Admin_Plugin
Severity: Minor
Found in admin/repoadmin.php by phpcodesniffer

No space found after comma in function call
Open

        saveWikiText('testpage','[[jira>SPR-281]] [[jira>TW-7]]','test summary');

Opening brace should be on a new line
Open

    public function test_jiralink_oldrev() {
Severity
Category
Status
Source
Language