Skip to content

Releases: uptimeproject/php-cs-fixer-config

Strict types and no lines between constants

27 Jul 12:42
42d1e40
Compare
Choose a tag to compare

Constants

const A = 'a';

const B = 'b';

Will become

const A = 'a';
const B = 'b';

The spacing of one line will still be enforced for methods and properties, just not for constants.

Strict types

Strict types will now by default be enabled for all files in a project. Make sure to disable the rule if you're working with a legacy project that breaks in such a case.

Modify ruleset

19 Jul 14:52
b41fbc0
Compare
Choose a tag to compare
Merge pull request #2 from RomkeVdMeulen/patch-1

Disable yoda_style