Skip to content
Snippets Groups Projects

3365312-phpcs fixing

4 unresolved threads

Closes #3365312

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
15 15
16 16 var breadcrumbWidth = 0;
17 17 $bcBlock.find('ol > li').each(function (index, elem) {
18 breadcrumbWidth += $(elem).outerWidth(true);
18 breadcrumbWidth += $(elem).outerWidth(TRUE);
  • 12 12 ],
    13 13 resolver(base) {
    14 14 const [type, name] = base.split('-');
    15 if (!type || !name) return null;
    15 if (!type || !name) { return NULL;
    16 }
  • 25 26 }
    26 27 /* eslint-disable-next-line no-restricted-syntax */
    27 28 for (const candidatePath of candidatePaths) {
    28 const path = `${candidatePath}/${name}`;
    29 const path = `${candidatePath} / ${name}`;
  • 37 38 catch (err) {
    38 39 /* eslint-disable-next-line no-console */
    39 40 console.log(`Could not determine directory for ${type} ${name}`);
    40 return null;
    41 return NULL;
    41 42 }
  • I would suggest to avoid passing JavaScript files to PHP_CodeSniffer, since it tries to apply PHP rules to files where those rules should not be applied.

  • bindu r added 1 commit

    added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 7ca3a92d - Fixed the remaining warnings/errors

    Compare with previous version

  • Please register or sign in to reply
    Loading