Showing 1,783 of 1,785 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 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

        function redraw() {
            if (self.config.noCalendar || self.isMobile)
                return;
            buildMonthSwitch();
            updateNavigationCurrentMonth();
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 1536..1542

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/js/vendor-vue-flatpickr.js and 1 other location - About 35 mins to fix
public/external/flatpickr/dist/flatpickr.js on lines 2567..2568

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

        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

            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

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

    function redraw() {
        if (self.config.noCalendar || self.isMobile)
            return;
        buildMonthSwitch();
        updateNavigationCurrentMonth();
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 2268..2274

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 "_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

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

    protected function _typecastSaveField(Field $field, $value): ?string
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

Possible parse error: class missing opening or closing brace
Open

class Table extends Lister
Severity: Minor
Found in src/Table.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/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

Opening brace of a class must be on the line after the definition
Open

class ProxyModel extends Model {}
Severity: Minor
Found in src/Misc/ProxyModel.php by phpcodesniffer

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

    protected HtmlTemplate $_tIcon;

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

    protected function _addControl(Control $control, Field $field): Control
Severity: Minor
Found in src/Form/Layout.php by phpcodesniffer

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

    private static array $_realpathCache = [];
Severity: Minor
Found in src/HtmlTemplate.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

Opening brace of a class must be on the line after the definition
Open

class Layout extends View {}
Severity: Minor
Found in src/Layout.php by phpcodesniffer
Severity
Category
Status
Source
Language