Showing 1,792 of 1,794 total issues

Identical blocks of code found in 2 locations. Consider refactoring.
Open

        onEscape: function () {
            this.value = this.lastValueValid;
            this.$el.querySelector('input').blur();
        },
Severity: Minor
Found in js/src/vue-components/inline-edit.component.js and 1 other location - About 35 mins to fix
public/js/atk-vue-inline-edit.js on lines 84..87

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 47.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 2 locations. Consider refactoring.
Open

        var hoverableCells = Array.from(self.rContainer.querySelectorAll("*:nth-child(-n+" + self.config.showMonths + ") > ." + cellClass));
Severity: Minor
Found in public/js/vendor-vue-flatpickr.js and 1 other location - About 35 mins to fix
public/external/flatpickr/dist/flatpickr.js on lines 1942..1942

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 47.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 2 locations. Consider refactoring.
Open

    onEscape: function () {
      this.value = this.lastValueValid;
      this.$el.querySelector('input').blur();
    },
Severity: Minor
Found in public/js/atk-vue-inline-edit.js and 1 other location - About 35 mins to fix
js/src/vue-components/inline-edit.component.js on lines 69..72

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 47.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 2 locations. Consider refactoring.
Open

    const KWS = [
      "anyfunc",
      "block",
      "br",
      "br_if",
Severity: Minor
Found in public/external/@highlightjs/cdn-assets/highlight.js and 1 other location - About 35 mins to fix
public/external/@highlightjs/cdn-assets/highlight.min.js on lines 1150..1150

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 47.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 2 locations. Consider refactoring.
Open

keyword:["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"]
Severity: Minor
Found in public/external/@highlightjs/cdn-assets/highlight.min.js and 1 other location - About 35 mins to fix
public/external/@highlightjs/cdn-assets/highlight.js on lines 12503..12549

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 47.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 2 locations. Consider refactoring.
Open

      if (this.options.handle && event.target && !closest(event.target, this.options.handle)) {
        return;
      }
Severity: Minor
Found in public/external/@shopify/draggable/build/umd/index.js and 1 other location - About 35 mins to fix
public/external/@shopify/draggable/build/umd/index.js on lines 479..481

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 47.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Identical blocks of code found in 2 locations. Consider refactoring.
Open

            if (self.input.getAttribute("step"))
                self.mobileInput.step = String(self.input.getAttribute("step"));
Severity: Minor
Found in public/external/flatpickr/dist/flatpickr.js and 1 other location - About 35 mins to fix
public/js/vendor-vue-flatpickr.js on lines 1830..1831

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 47.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Method name "_jsEncode" should not be prefixed with an underscore to indicate visibility
Open

    protected function _jsEncode($value): string
Severity: Minor
Found in src/Js/JsExpression.php by phpcodesniffer

Method name "_getProperAction" should not be prefixed with an underscore to indicate visibility
Open

    private function _getProperAction($response): JsExpressionable
Severity: Minor
Found in src/JsCallback.php by phpcodesniffer

Possible parse error: class missing opening or closing brace
Open

class Table extends Lister
Severity: Minor
Found in src/Table.php by phpcodesniffer

Method name "_unsetFromTagTree" should not be prefixed with an underscore to indicate visibility
Open

    protected function _unsetFromTagTree(TagTree $tagTree, int $k): void
Severity: Minor
Found in src/HtmlTemplate.php by phpcodesniffer

Property name "$_constructorArgs" should not be prefixed with an underscore to indicate visibility
Open

    public $_constructorArgs = [];
Severity: Minor
Found in src/Js/JsChain.php by phpcodesniffer

Method name "_renderArgs" should not be prefixed with an underscore to indicate visibility
Open

    private function _renderArgs(array $args = []): string
Severity: Minor
Found in src/Js/JsChain.php by phpcodesniffer

Property name "$_addLater" should not be prefixed with an underscore to indicate visibility
Open

    protected ?array $_addLater = [];
Severity: Minor
Found in src/AbstractView.php by phpcodesniffer

Property name "$_jsActions" should not be prefixed with an underscore to indicate visibility
Open

    protected array $_jsActions = [];
Severity: Minor
Found in src/View.php by phpcodesniffer

Possible parse error: class missing opening or closing brace
Open

class Context extends RawMinkContext implements BehatContext
Severity: Minor
Found in src/Behat/Context.php by phpcodesniffer

Property name "$_filesCache" should not be prefixed with an underscore to indicate visibility
Open

    private static array $_filesCache = [];
Severity: Minor
Found in src/HtmlTemplate.php by phpcodesniffer

Property name "$_library" should not be prefixed with an underscore to indicate visibility
Open

    public string $_library = '$';
Severity: Minor
Found in src/Js/Jquery.php by phpcodesniffer

Method name "_typecastLoadField" should not be prefixed with an underscore to indicate visibility
Open

    protected function _typecastLoadField(Field $field, $value)
Severity: Minor
Found in src/Persistence/Ui.php by phpcodesniffer

Possible parse error: class missing opening or closing brace
Open

class Table extends Lister
Severity: Minor
Found in src/Table.php by phpcodesniffer
Severity
Category
Status
Source
Language