Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[v2.10.0]

Changed

  • disable default ignore for dot/vcs files for single files #663

[v2.9.0]

Added

  • Add option to set timeout #595

Fixed

  • fix readonly final class architecture side effect issue PHP8.2 #645
  • add quotes around binary path #655
  • Fix error: The option "preset" with value "wordpress" is invalid #646
  • Fix non-existing default property #652
  • PHP 8.2 fix for dynamic property $exclude #653
  • Prevent the runner to swallow its threads error #641

Changed

  • Update GitHub actions #633
  • Test against php 8.3 #660

[v2.8.0]

Added

  • Added Laravel 10 and PHP 8.1 Support #626
  • fix string interpolation deprecation messages in PHP 8.2 #628

Changed

[v2.7.0]

Added

  • Added support for slevomat/coding-standard:8.0 (#611)

Changed

  • Fixed some wording and typos (#606)
  • Docs: fixed typo (#608)
  • Fixes typos in stub files. (#607)
  • Grammar change (#610)

[v2.6.1]

Changed

  • Changed the foreground color of the box labels in console output (#600)

[v2.6.0]

Added

  • Describe how to exclude insight per particular method (#543)

Changed

  • Update diff dependency (#599)

[v2.5.0]

Added

  • Add WordPress adapter (#378)

Changed

  • docs: Add White border to work on Dark Mode Theme (#545)
  • Fix always loading CodeSniffer tokens (#542)
  • Handle summary option in JsonFormatter (#541)
  • Fixing required dependencies (#591)
  • Update GH actions to run successfully (#597)
  • Fix typos (#594)

[v2.4.0]

Added

  • add laravel 9 to GH actions test suite (#581)

Changed

  • Allow psr/simple-cache ^2.0 and ^3.0 (#580)

[v2.3.0]

Changed

  • Feature/doc updates (#571)
  • Update config key for ordered class elements fixer (#574)
  • Remove composer dependency, insights, and tests (#575)

[v2.2.0]

Fixed

  • Fix ComposerLoader (#566)
  • Fix exclude ForbiddenGlobals sniff (#562)

Changed

  • Bump docker to php 8.0 (#570)

[v2.1.0]

Added

  • Support for Laravel 9

[v2.0.1]

Fixed

  • Fix double slash when inspect absolute folder path at first level of root (#509)
  • Fix retrieving composer binary path in SyntaxCheck (#505)
  • Fix in documentations (#507, #515)

Changed

  • More robust docker example in doc (#516)

[v2.0.0]

Added

Fixed

  • Performance issues (#382, #387, #405)
  • Check that lock file exist (#389)
  • Avoid conflict with phpcs config file (#402)
  • Clean display message without file target (#404)
  • IDE Link with colors (#413)
  • No error trigger when Details Message issue contains console styling (#447)
  • Excluded files from Cyclomatic Complexity are no more take in account for score (#460)

Changed

  • Refactoring code (#391, #393)
  • Process Security Checks during the project inspection (#406)
  • Drop Travis-CI and use GithubAction (#448)
  • Drop object-calisthenics/phpcs-calisthenics-rules dependency (#477)

Deprecated

  • Some Insights hare now deprecated or namespace changed. Find them [here (#477)]#477

[v1.14.1]

Changed

  • Switch service to discover vulnerabilities (#453)

[v1.14.0]

Added

  • ddd & tinker as forbidden method names Laravel (#364)
  • Support to Laravel 7 (#369)
  • min-requirements configurable through file (#362)

Fixed

  • Hanging on invalid php code (#358)
  • Aggregates diffs in the same error (#377)

Changed

  • Removed Static closure advice on Laravel (e9d2a62)

[v1.13.0]

Added

  • Sort issues by file, line, function and lastly message (#348)
  • Support multiple formatters (#357)
  • Support custom class formatters (#357)
  • Added diff from fixer to JSON formatter (#356)
  • Check PHP version from composer to determine native type hint (#347)
  • Added GitHub Action formatter (#344)

Fixed

  • Prevent failing on empty namespace (#352)

[v1.12.0]

Added

  • Text coloring per section (#339)
  • Support to slevomat coding standard 6 (#342)

[v1.11.1]

Fixed

  • Exclusion in ForbiddenFinalClasses Insight (#326)

[v1.11.0]

Added

  • Support to Symfony 5 (#324)

[v1.10.3]

Fixed

  • Assert IDE is defined before resolving it (#319)

[v1.10.2]

Fixed

  • Exclusion in ForbiddenTraits Insight (#316)

[v1.10.1]

Changed

  • Reorganize place of some Insights (#313)

Fixed

  • Duplicate empty comment Insight (#311)
  • Remove VoidReturnFixer in laravel Preset (#312)

[v1.10.0]

Added

  • Checkstyle formatter (#271)
  • PHP CS Fixer Wrapper (#219)
  • Responsive view in Console (#273)
  • IDE Url handler (#265)
  • Offline usage (#292)
  • Directory exclusion in Insights config (#293)
  • Favicon in website (#281)

Changed

  • Drop easy coding standard dependency (#252)
  • Use a configuration class (#283)
  • Improve verbose progress bar (#291)

Fixed

[v1.9.0]

Added

  • Better support to Laravel Lumen (#247)

Fixed

  • Issue when internal insight code is an integer (6c6650f)

[v1.8.1]

Fixed

[v1.8.0]

Added

  • Authorize analyse of one file or specific directory (#195)
  • Configure search use in annotation (#196)
  • Add changelog to website (#204)
  • Json & Console formatters (#201)

Fixed

  • Merge config with default config (#196)

[v1.7.0]

Added

  • ComposerMustBeValid and ComposerLockMustBeFresh insights (#169)
  • CyclomaticComplexityIsHigh max complexity is now configurable (#190)
  • Possibility of ignoring files on specific insight (#182)
  • Possibility of disable ForbiddenSecurityInsight (#175) (#187)

Fixed

  • Non used files are no included anymore while requiring php insights (#189)

[v1.6.0]

Added

  • Laravel preset now ignores model attribute setters (#154)
  • Ignores package managers folders by default (#144)
  • Ignores blade.php files (#155)
  • You can now exclude files and directories (#75)
  • Automatic docker image build on new release (#160)

Changed

  • Upgraded sensiolabs/security-checker dependency to ^6.0 (#158)

Fixed

  • Fixed a bug with optional type hints increasing cyclomatic complexity (#150)

[v1.5.0]

Added

  • Better support with nette dependencies

Fixed

  • Complexity over 100.0

[v1.4.0]

Added

  • Drupal preset (#120)
  • Display insight class name on verbose mode (#139)

[v1.3.1]

Fixed

  • Missing option --disable-security-check (#106)
  • Overwrite of existing preset config options (#111)
  • [Laravel Preset] Ignores TelescopeServiceProvider::class (#113)

[v1.3.0]

Added

Fixed

  • Exit error code on security issues (#106)

[v1.2.1]

Fixed

  • Wrong insight RequireShortTernaryOperatorSniff (7e10c18)
  • Missing dependency ext-iconv (#90)

[v1.2.0]

Adds

  • Forces getting 1.2 using composer require

[v1.1.1]

Fixed

[v1.1.0]

Adds

  • Options --min-quality, --min-complexity, --min-architecture, --min-style (#67)

Fixed

  • Issue when composer require key is empty (#76)
  • Issues displaying scores above 10 (#57)

[v1.0.5]

Fixed

  • [Laravel Preset] Ignores ide_helper_models (#51)

[v1.0.4]

Fixed

  • PHP warning while using --no-interaction option (f68e13a)

[v1.0.3]

Fixed

[v1.0.2]

Fixed

[v1.0.1]

Fixed

  • [Laravel Preset] Ignores _ide_helper.php (#46)

[v1.0.0]

Added

  • First version