Testing command: phpcbf --standard=Drupal .

The following line in CSS:

        background: #072237;

is converted into:

  background: 1072237;

so # character is changed to 1. Is it correct?

Here is the whole context:

    .mortgage-calculator h2 {
        background: #072237;
        color: #fff;
        font-weight: normal;
        height: 50px;
        line-height: 50px;
        padding: 0 0 0 30px;
    }

The same for:

        border-top: 5px solid #000;

is changed to:

  border-top: 5px solid 1000;

Comments

kenorb created an issue. See original summary.

kenorb’s picture

Issue summary: View changes
klausi’s picture

Component: Coder Review » Coder Sniffer
Status: Active » Postponed

This is a problem upstream in PHPCS, postponed on https://github.com/squizlabs/PHP_CodeSniffer/pull/838

  • klausi committed a8dbb72 on 8.x-2.x
    Issue #2611236: Updated PHPCS dependency to fix CSS tokenizer bug
    
klausi’s picture

Status: Postponed » Fixed

This has now been merged upstream. Please update to a dev version of PHPCS since the change has not been released yet.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.