Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cakephp Codesniffer Laravel Package

cakephp/cakephp-codesniffer

CakePHP coding standard for PHP_CodeSniffer. Fully PSR-12 compliant plus additional CakePHP-specific sniffs and fixers. Install via Composer and run phpcs with --standard=CakePHP (or use a phpcs.xml) to check and auto-fix your code.

View on GitHub
Deep Wiki
Context7
5.3.1

What's Changed

Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.3.0...5.3.1

5.3.0

What's Changed

Updated to use PHP_CodeSniffer 4.0.

Potentially breaking change: If you get an error about missing sniffs, you should remove the installed_paths config from your phpcs config file.

Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.2.2...5.3.0

4.7.1

What's Changed

Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/4.7.0...4.7.1

5.2.2

What's Changed

Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.2.1...5.2.2

5.1.2

What's Changed

Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.1.1...5.1.2

4.7.0
5.0.1

What's Changed

Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.0.0...5.0.1

5.0.0

The 5.0 release will be used by cake 5 core and plugin packages. The primary changes involve type declarations and type hints for PHP 8.0+.

What's Changed

Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/4.6.0...5.0.0

4.5.1

Changes

  • Cleaned up various sniffs
  • Cleaned up ruleset
4.5.0
  • Allow attribute between docblock and function. #327
4.4.2

Changes

  • Disable requiring $object::class explicitly so it isn't enabled by default on php 8.
4.4.1
  • Update list of magic functions. #325
4.4.0
  • Bump up dependency versions. #324
4.3.0

Changes

  • Removed PSR-2 standard that was added before PSR-12 standard.

    The PSR-12 standard adds the appropriate PSR-2 sniffs.

4.2.4

Changes

  • Removed deprecated SlevomatCodingStandard.Classes.UnusedPrivateElements sniff.
4.2.3
  • Allow running on PHP 8.
4.2.2

Fixes

  • Removed CakePHP.Commenting.FunctionComment.InvalidReturn due to issues with compound types. Most of the functionality is already provided by SlevomatCodingStandard.TypeHints.LongTypeHints.UsedLongTypeHint.
4.2.1

Fixes

  • Disabled the SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariable rule as the other related rules were disabled in earlier releases, and this rule being enabled prevents advanced static analyzer types from being used.
4.2.0

Improvements

  • Added SingleQuoteSniff
  • Upgraded slevomat/coding-standard dependency
4.1.1

Updates

  • Allow {[@inheritDoc](https://github.com/inheritDoc)} function comments to inherit [@param](https://github.com/param) and [@return](https://github.com/return) tags if none are specified.
  • Removed unused function tag comment sniffs.
4.1.0

Updates

  • Disabled NoAssignment error from inline docblocks #281
  • Add sniff to maintain new/empty line consistency in docblocks. #283 Added sniffs for {@inheritDoc} -> @inheritDoc and spelling warning #287

Fixes

  • Fix check for empty comment for @throws tag. #290
  • Clamp down Slevomat CS to <6.2. #291
4.0.1

Bump dependency slevomat/coding-standard to v6.

4.0.0

Shiny new ruleset based off PSR-12 for CakePHP 4.0.

3.3.0

New Rules

  • The trailing comma sniff from the upcoming 4.x rules has been backported to make future upgrades and backports easier.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor