Skip to content

Releases: bigbite/phpcs-config

v2.0.1

19 Feb 18:01
718bd95
Compare
Choose a tag to compare

What's Changed

  • chore(deps-dev): bump phpstan/phpstan from 1.10.41 to 1.10.48 by @dependabot in #135
  • chore(deps): bump phpcsstandards/phpcsextra from 1.1.2 to 1.2.1 by @dependabot in #136
  • chore(deps): bump phpcsstandards/phpcsutils from 1.0.8 to 1.0.9 by @dependabot in #137
  • chore(deps): bump squizlabs/php_codesniffer from 3.7.2 to 3.8.0 by @dependabot in #138
  • chore(deps-dev): bump phpstan/phpstan from 1.10.48 to 1.10.55 by @dependabot in #140
  • chore(deps-dev): bump phpstan/phpstan from 1.10.55 to 1.10.58 by @dependabot in #145
  • Remove PEAR.Commenting.InlineComment sniff by @jonmcp in #144
  • Remove duplicate rules by @jonmcp in #146
  • chore(deps): bump squizlabs/php_codesniffer from 3.8.0 to 3.8.1 by @dependabot in #141
  • Bump PHPCS and PHPUnit versions by @jonmcp in #147

Full Changelog: v2.0.0...v2.0.1

v2.0.0

13 Nov 16:49
29bd13c
Compare
Choose a tag to compare

This release requires WPCS 3.0.0 and VIP WPCS 3.0.0, and contains breaking changes.

Changelog

  • Modify the ruleset's PHPCS ruleset to use the ruleset included in WPCS v3.0.0
  • Upgrade and reorganise dependencies to reflect changes introduced in WPCS v3.0.0
  • Upgrade BigBite.Files.FileName sniff to reflect changes introduced in WPCS v3.0.0
  • Skip output of BigBite.Files.FileName.NotHyphenatedLowercase error if covered by other error codes (fixes #96)
  • Introduce several new sniffs - see "Sniff changes" below
  • Fixes #119

Sniff changes

For the full list of upstream changes, see the WPCS release notes and VIP WPCS release notes

We have also introduced several new sniffs that have been made available as a result of the incredible work of the WPCS team:

Universal.FunctionDeclarations.NoLongClosures
Detects "long" closures and recommends using a named function instead.
Configured to warn at 5 lines and error at 8 lines.
This has potential to cause new errors in your projects if you heavily utilise closures.
This is a good thing, because long closures have always been discouraged by our style guide in a WordPress context.

Universal.FunctionDeclarations.RequireFinalMethodsInTraits
Enforces qualified methods (i.e. not abstract) in traits to be declared as final when such methods are not declared as private.

Universal.Operators.DisallowLogicalAndOr
Enforces the use of boolean operators (&&, ||) instead of logical operators (and, or).

Known breaking changes

Universal.NamingConventions.NoReservedKeywordParameterNames
A new upstream sniff which disallows use of "reserved" keywords as function parameter names ($list, $class`, etc.).

Universal.FunctionDeclarations.NoLongClosures
A new sniff which disallows the use of "long" closures, in favour of named functions.

Universal.UseStatements.NoUselessAliases
Disallows renaming of imports where there is no collision (use Foo\Bar\Baz as Qux).

v2.0.0-beta.2

07 Nov 09:43
7548c97
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

What's Changed

  • chore(deps): bump phpcsstandards/phpcsextra from 1.1.1 to 1.1.2 by @dependabot in #124
  • chore(deps): bump wp-coding-standards/wpcs from 3.0.0 to 3.0.1 by @dependabot in #125
  • chore(deps): bump dealerdirect/phpcodesniffer-composer-installer from 0.7.2 to 1.0.0 by @dependabot in #126
  • chore(deps-dev): bump phpstan/phpstan from 1.10.38 to 1.10.40 by @dependabot in #128
  • chore(deps-dev): bump phpstan/phpstan from 1.10.40 to 1.10.41 by @dependabot in #130

Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2

v2.0.0-beta.1

13 Oct 10:45
86e157f
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

What's Changed

  • Remove Travis and move routines to CircleCI by @ampersarnie in #68
  • Bump phpstan/phpstan from 1.9.2 to 1.9.3 by @dependabot in #69
  • Bump phpstan/phpstan from 1.9.3 to 1.9.4 by @dependabot in #70
  • Bump phpstan/phpstan from 1.9.4 to 1.9.7 by @dependabot in #73
  • Bump phpcsstandards/phpcsdevtools from 1.2.0 to 1.2.1 by @dependabot in #74
  • Bump phpstan/phpstan from 1.9.7 to 1.9.8 by @dependabot in #75
  • Bump phpstan/phpstan from 1.9.8 to 1.9.9 by @dependabot in #76
  • Bump phpstan/phpstan from 1.9.9 to 1.9.11 by @dependabot in #77
  • Bump phpstan/phpstan from 1.9.11 to 1.9.12 by @dependabot in #78
  • Bump phpstan/phpstan from 1.9.12 to 1.9.13 by @dependabot in #79
  • Bump phpstan/phpstan from 1.9.13 to 1.9.14 by @dependabot in #80
  • Bump phpstan/phpstan from 1.9.14 to 1.9.17 by @dependabot in #82
  • Bump phpstan/phpstan from 1.9.17 to 1.9.18 by @dependabot in #83
  • Bump phpstan/phpstan from 1.9.18 to 1.10.1 by @dependabot in #84
  • Bump squizlabs/php_codesniffer from 3.7.1 to 3.7.2 by @dependabot in #85
  • Bump phpstan/phpstan from 1.10.1 to 1.10.2 by @dependabot in #86
  • Bump phpstan/phpstan from 1.10.2 to 1.10.3 by @dependabot in #87
  • Bump phpstan/phpstan from 1.10.3 to 1.10.4 by @dependabot in #88
  • Bump phpstan/phpstan from 1.10.4 to 1.10.5 by @dependabot in #89
  • Bump phpstan/phpstan from 1.10.5 to 1.10.6 by @dependabot in #90
  • Bump phpstan/phpstan from 1.10.6 to 1.10.7 by @dependabot in #91
  • Bump phpstan/phpstan from 1.10.7 to 1.10.8 by @dependabot in #92
  • Bump phpstan/phpstan from 1.10.8 to 1.10.9 by @dependabot in #93
  • Bump phpstan/phpstan from 1.10.9 to 1.10.10 by @dependabot in #94
  • Bump phpstan/phpstan from 1.10.10 to 1.10.11 by @dependabot in #95
  • Bump phpstan/phpstan from 1.10.11 to 1.10.13 by @dependabot in #97
  • chore(deps-dev): bump phpstan/phpstan from 1.10.13 to 1.10.14 by @dependabot in #98
  • chore(deps-dev): bump phpstan/phpstan from 1.10.14 to 1.10.15 by @dependabot in #99
  • chore(deps-dev): bump phpstan/phpstan from 1.10.15 to 1.10.16 by @dependabot in #100
  • chore(deps-dev): bump phpstan/phpstan from 1.10.16 to 1.10.18 by @dependabot in #101
  • chore(deps-dev): bump phpstan/phpstan from 1.10.18 to 1.10.19 by @dependabot in #102
  • chore(deps-dev): bump phpstan/phpstan from 1.10.19 to 1.10.20 by @dependabot in #103
  • chore(deps-dev): bump phpstan/phpstan from 1.10.20 to 1.10.21 by @dependabot in #104
  • chore(deps-dev): bump phpstan/phpstan from 1.10.21 to 1.10.22 by @dependabot in #105
  • chore(deps-dev): bump phpstan/phpstan from 1.10.22 to 1.10.23 by @dependabot in #106
  • chore(deps-dev): bump phpstan/phpstan from 1.10.23 to 1.10.24 by @dependabot in #107
  • chore(deps-dev): bump phpstan/phpstan from 1.10.24 to 1.10.25 by @dependabot in #108
  • chore(deps-dev): bump phpstan/phpstan from 1.10.25 to 1.10.26 by @dependabot in #109
  • chore(deps-dev): bump phpstan/phpstan from 1.10.26 to 1.10.27 by @dependabot in #110
  • chore(deps-dev): bump phpstan/phpstan from 1.10.27 to 1.10.28 by @dependabot in #111
  • chore(deps-dev): bump phpstan/phpstan from 1.10.28 to 1.10.29 by @dependabot in #112
  • chore(deps-dev): bump phpstan/phpstan from 1.10.29 to 1.10.30 by @dependabot in #113
  • chore(deps-dev): bump phpstan/phpstan from 1.10.30 to 1.10.32 by @dependabot in #114
  • v2.0.0 by @jonmcp in #116
  • chore(deps-dev): bump phpstan/phpstan from 1.10.32 to 1.10.38 by @dependabot in #123

Full Changelog: v1.2.0...v2.0.0-beta.1

v1.2.0

06 Dec 14:41
1f9c037
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.2.0

v1.1.2

26 Aug 08:48
f2b85f9
Compare
Choose a tag to compare

What's Changed

  • Allow PHPCS to cache its report results by @jonmcp in #19
  • Bump phpcsstandards/phpcsdevtools from 1.1.0 to 1.1.1 by @dependabot in #24
  • Bump squizlabs/php_codesniffer from 3.6.2 to 3.7.0 by @dependabot in #37
  • Bump phpstan/phpstan from 1.5.4 to 1.7.14 by @dependabot in #38
  • Add PHP 8.0 support by @jonmcp in #41
  • Bump squizlabs/php_codesniffer from 3.7.0 to 3.7.1 by @dependabot in #43
  • Bump phpstan/phpstan from 1.7.14 to 1.8.0 by @dependabot in #45
  • Bump phpstan/phpstan from 1.8.0 to 1.8.1 by @dependabot in #46
  • Bump phpstan/phpstan from 1.8.1 to 1.8.2 by @dependabot in #47

New Contributors

Full Changelog: v1.1.1...v1.1.2

v1.1.1

20 Apr 16:25
1121b4f
Compare
Choose a tag to compare

What's Changed

  • Remove index.php from file exclusions by @jonmcp in #18

Full Changelog: v1.1.0...v1.1.1

v1.1.0

14 Apr 13:34
c18b0f4
Compare
Choose a tag to compare

What's Changed

  • Add Sniffing support for interfaces and traits by @jonmcp in #16

Full Changelog: v1.0.1...v1.1.0

v1.0.1

05 Apr 16:01
301fa2e
Compare
Choose a tag to compare

What's Changed

  • Create LICENSE by @jonmcp in #8
  • Create CODE_OF_CONDUCT.md by @jonmcp in #9
  • Add templates for issues/PRs by @jonmcp in #10
  • Add contribution guidelines by @jonmcp in #11
  • Add Travis CI builds by @jonmcp in #12
  • Add list of files/dirs to ignore when creating archives by @jonmcp in #13
  • Declare non-feature branches by @jonmcp in #14

Full Changelog: v1.0.0...v1.0.1

v1.0.0

05 Apr 11:24
cda8aa7
Compare
Choose a tag to compare

What's Changed

  • Update installation instructions by @jonmcp in #2
  • Proposal to modify the ruleset by @jonmcp in #1
  • Add CI installation instructions into README.md by @jonmcp in #3
  • #4 fix path to config in readme by @g-elwell in #5
  • Add sniff for file name conventions by @jonmcp in #6

New Contributors

  • @jonmcp made their first contribution in #2
  • @g-elwell made their first contribution in #5

Full Changelog: https://github.com/bigbite/phpcs-config/commits/v1.0.0