Skip to content

v0.5.0 - trailing commas and spaces around operators

Compare
Choose a tag to compare
@krzysztofrewak krzysztofrewak released this 06 Sep 17:14
· 52 commits to main since this release
02df56d

Issues #26 and #30 were implemented with pull requests #32 and #31 respectively. With these changes ECS will require:

  • adding trailing commas in all multiline arrays and methods,
  • adding spaces around almost all operators.

So:

        return $this->testParameters(
            "a"===$this->getValue()
        );

shoud be changed into:

        return $this->testParameters(
            "a" === $this->getValue(),
        );