Skip to content

Releases: movisio/nais-cs

Core v2, PHP 8.1

03 Oct 12:12
Compare
Choose a tag to compare
  • Require PHP 8.1
  • Update slevomat/coding-standard to v8
  • Enabled new sniffs UselessConstantTypeHint, UnionTypeHintFormat and RequireNonCapturingCatch

2.0.2

26 Oct 12:51
Compare
Choose a tag to compare
  • Allow usage with Composer v2

2.0.0

17 Jun 10:11
56b4e3c
Compare
Choose a tag to compare
  • Require PHP 7.4
  • Update to slevomat/coding-standard 6
  • Remove lock on phpcs version
  • Replace SlevomatCodingStandard.TypeHints.TypeHintDeclaration excludes with new SlevomatCodingStandard.TypeHints.*TypeHint ones
  • Remove UselessParentheses check (was too strict and clashed with readability)
  • Exclude a handful of minor PSR-12 spacing rules

1.3.2

06 Jan 11:45
Compare
Choose a tag to compare

Exclude all in assets directory

1.3.1

06 Jan 07:59
8fa7fcd
Compare
Choose a tag to compare

Repair .css and .js exclude patterns

1.3.0

04 Dec 11:07
Compare
Choose a tag to compare

change some excludes to relative

prepare 1.2.4

27 Sep 06:51
Compare
Choose a tag to compare
  • limit codesniffer to 3.4.* (3.5.0 brought better PSR12 which currently collides with the slevomat config)

1.2.3

26 Aug 10:25
76940a0
Compare
Choose a tag to compare
  • CSS files no longer checked by phpcs

1.2.2: - Eslint command is now called from node_modules in pre-commmit hook

31 Jul 05:38
Compare
Choose a tag to compare

1.2.1

25 Jul 12:08
Compare
Choose a tag to compare

Fixed Eslint pre commit hook only for .js files