CHANGELOG.md
# Changelog
## [Unreleased](https://github.com/bmitch/Codor/tree/HEAD)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.2.3...HEAD)
## [1.2.3](https://github.com/bmitch/Codor/tree/1.2.3) (2022-06-17)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.2.2...1.2.3)
**Fixed bugs:**
- PropertyDeclarationSniff bug? [\#108](https://github.com/bmitch/Codor/issues/108)
**Merged pull requests:**
- Improve the way to retrieve the properties name [\#154](https://github.com/bmitch/Codor/pull/154) ([villfa](https://github.com/villfa))
- Sniff to limit the use of new in constructor [\#153](https://github.com/bmitch/Codor/pull/153) ([kevin-schmitt](https://github.com/kevin-schmitt))
## [1.2.2](https://github.com/bmitch/Codor/tree/1.2.2) (2021-12-27)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.2.1...1.2.2)
**Closed issues:**
- What issue choice for contribution? [\#151](https://github.com/bmitch/Codor/issues/151)
- Available for php8 [\#149](https://github.com/bmitch/Codor/issues/149)
- Thinks it is returning null when filtering out nulls in Laravel collection [\#130](https://github.com/bmitch/Codor/issues/130)
**Merged pull requests:**
- Thinks it is returning null when filtering out nulls in Laravel collection [\#152](https://github.com/bmitch/Codor/pull/152) ([kevin-schmitt](https://github.com/kevin-schmitt))
- Test with PHP-8.1 [\#150](https://github.com/bmitch/Codor/pull/150) ([villfa](https://github.com/villfa))
## [1.2.1](https://github.com/bmitch/Codor/tree/1.2.1) (2021-02-13)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.2.0...1.2.1)
**Fixed bugs:**
- Undefined array index when a function is after a class [\#147](https://github.com/bmitch/Codor/issues/147)
**Merged pull requests:**
- Fix undefined array index [\#148](https://github.com/bmitch/Codor/pull/148) ([villfa](https://github.com/villfa))
- Require CI tools only in dev mode [\#146](https://github.com/bmitch/Codor/pull/146) ([villfa](https://github.com/villfa))
- Cache Composer artifacts [\#145](https://github.com/bmitch/Codor/pull/145) ([villfa](https://github.com/villfa))
- Use composer-bin-plugin [\#144](https://github.com/bmitch/Codor/pull/144) ([villfa](https://github.com/villfa))
- Move from Travis to GH-Actions [\#143](https://github.com/bmitch/Codor/pull/143) ([villfa](https://github.com/villfa))
## [1.2.0](https://github.com/bmitch/Codor/tree/1.2.0) (2020-10-29)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.1.1...1.2.0)
**Closed issues:**
- composer.json is not strictly valid [\#136](https://github.com/bmitch/Codor/issues/136)
- Typo `ternery` should be `ternary` [\#131](https://github.com/bmitch/Codor/issues/131)
- Update `code\_sniffer` version up to ^3.\* [\#127](https://github.com/bmitch/Codor/issues/127)
**Merged pull requests:**
- Prepare changelog for 1.2.0 [\#142](https://github.com/bmitch/Codor/pull/142) ([villfa](https://github.com/villfa))
- Add support for PHP 8 [\#141](https://github.com/bmitch/Codor/pull/141) ([villfa](https://github.com/villfa))
- Enable Github actions [\#140](https://github.com/bmitch/Codor/pull/140) ([villfa](https://github.com/villfa))
- Fix and normalize composer.json [\#139](https://github.com/bmitch/Codor/pull/139) ([villfa](https://github.com/villfa))
- Create .gitattributes [\#138](https://github.com/bmitch/Codor/pull/138) ([villfa](https://github.com/villfa))
- Use PHPUnit bridge [\#137](https://github.com/bmitch/Codor/pull/137) ([villfa](https://github.com/villfa))
- Fix typo [\#135](https://github.com/bmitch/Codor/pull/135) ([villfa](https://github.com/villfa))
- Update dependencies [\#134](https://github.com/bmitch/Codor/pull/134) ([villfa](https://github.com/villfa))
- handleProtectedVariableToken needs 2 parameters [\#133](https://github.com/bmitch/Codor/pull/133) ([szepeviktor](https://github.com/szepeviktor))
- Update dependencies [\#129](https://github.com/bmitch/Codor/pull/129) ([bmitch](https://github.com/bmitch))
- Update version of phpcs up to ^3.0 [\#128](https://github.com/bmitch/Codor/pull/128) ([brutto](https://github.com/brutto))
- update changelog [\#126](https://github.com/bmitch/Codor/pull/126) ([bmitch](https://github.com/bmitch))
## [1.1.1](https://github.com/bmitch/Codor/tree/1.1.1) (2017-11-01)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.1.0...1.1.1)
**Closed issues:**
- MixedReturnTypeSniff - Check for `comment\_opener` index before assuming it is there. [\#123](https://github.com/bmitch/Codor/issues/123)
**Merged pull requests:**
- update changelog [\#125](https://github.com/bmitch/Codor/pull/125) ([bmitch](https://github.com/bmitch))
- Fixes \#123 - MixedReturnTypeSniff - check for `comment\_opener` index … [\#124](https://github.com/bmitch/Codor/pull/124) ([bmitch](https://github.com/bmitch))
## [1.1.0](https://github.com/bmitch/Codor/tree/1.1.0) (2017-10-20)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.0.7...1.1.0)
**Closed issues:**
- Add a "downloads" badge [\#117](https://github.com/bmitch/Codor/issues/117)
- Sniff to prevent `mixed` type hints and return types? [\#110](https://github.com/bmitch/Codor/issues/110)
- Add instanceof to list of forbidden functions [\#106](https://github.com/bmitch/Codor/issues/106)
- Add churn-php [\#104](https://github.com/bmitch/Codor/issues/104)
- Add Sniff to check for the use of instance of function [\#102](https://github.com/bmitch/Codor/issues/102)
**Merged pull requests:**
- Clean up code [\#122](https://github.com/bmitch/Codor/pull/122) ([bmitch](https://github.com/bmitch))
- Add mixed return sniff [\#120](https://github.com/bmitch/Codor/pull/120) ([fentie](https://github.com/fentie))
- added download button [\#118](https://github.com/bmitch/Codor/pull/118) ([d35k](https://github.com/d35k))
- Readme fix [\#115](https://github.com/bmitch/Codor/pull/115) ([bmitch](https://github.com/bmitch))
- readme update [\#113](https://github.com/bmitch/Codor/pull/113) ([bmitch](https://github.com/bmitch))
- Updated changelog [\#109](https://github.com/bmitch/Codor/pull/109) ([bmitch](https://github.com/bmitch))
- Fixes \#106 - prevent instance from being used within source code [\#107](https://github.com/bmitch/Codor/pull/107) ([bmitch](https://github.com/bmitch))
- Fixes \#104 - Added churn-php [\#105](https://github.com/bmitch/Codor/pull/105) ([bmitch](https://github.com/bmitch))
- Update gitignore [\#103](https://github.com/bmitch/Codor/pull/103) ([bmitch](https://github.com/bmitch))
## [1.0.7](https://github.com/bmitch/Codor/tree/1.0.7) (2017-08-19)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.0.6...1.0.7)
**Merged pull requests:**
- Add PHP 7.2 to Travis-CI build [\#101](https://github.com/bmitch/Codor/pull/101) ([bmitch](https://github.com/bmitch))
## [1.0.6](https://github.com/bmitch/Codor/tree/1.0.6) (2017-08-01)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.0.5...1.0.6)
**Closed issues:**
- Sniff to warn when extending a class. [\#90](https://github.com/bmitch/Codor/issues/90)
**Merged pull requests:**
- Fixes \#90 [\#95](https://github.com/bmitch/Codor/pull/95) ([bmitch](https://github.com/bmitch))
## [1.0.5](https://github.com/bmitch/Codor/tree/1.0.5) (2017-07-30)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.0.4...1.0.5)
**Closed issues:**
- Fix final class sniff [\#92](https://github.com/bmitch/Codor/issues/92)
- Final classes - ensure no protected methods or members [\#89](https://github.com/bmitch/Codor/issues/89)
- Add https://github.com/Roave/SecurityAdvisories [\#67](https://github.com/bmitch/Codor/issues/67)
**Merged pull requests:**
- Fixes \#67 [\#94](https://github.com/bmitch/Codor/pull/94) ([bmitch](https://github.com/bmitch))
- Fixes \#92 [\#93](https://github.com/bmitch/Codor/pull/93) ([bmitch](https://github.com/bmitch))
- Fixes \#89 [\#91](https://github.com/bmitch/Codor/pull/91) ([bmitch](https://github.com/bmitch))
## [1.0.4](https://github.com/bmitch/Codor/tree/1.0.4) (2017-06-01)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.0.3...1.0.4)
**Fixed bugs:**
- ConstructorLoopSniff breaks on interfaces with constructors [\#86](https://github.com/bmitch/Codor/issues/86)
**Merged pull requests:**
- Fixes \#86 [\#87](https://github.com/bmitch/Codor/pull/87) ([bmitch](https://github.com/bmitch))
## [1.0.3](https://github.com/bmitch/Codor/tree/1.0.3) (2017-06-01)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.0.2...1.0.3)
**Closed issues:**
- Sniff to prevent undeclared member variables. [\#84](https://github.com/bmitch/Codor/issues/84)
- Sniff to look for conditionals or loops within a constructor. [\#71](https://github.com/bmitch/Codor/issues/71)
**Merged pull requests:**
- Fixes \#84 [\#85](https://github.com/bmitch/Codor/pull/85) ([bmitch](https://github.com/bmitch))
- Fixes \#71 [\#83](https://github.com/bmitch/Codor/pull/83) ([bmitch](https://github.com/bmitch))
## [1.0.2](https://github.com/bmitch/Codor/tree/1.0.2) (2017-04-10)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.0.1...1.0.2)
**Closed issues:**
- Codor.Syntax.LinesAfterMethod breaks on interfaces [\#80](https://github.com/bmitch/Codor/issues/80)
- Fix namespaces [\#77](https://github.com/bmitch/Codor/issues/77)
- Sniff to restrict number of lines between end of function and next function. [\#76](https://github.com/bmitch/Codor/issues/76)
**Merged pull requests:**
- Fixes \#80 [\#81](https://github.com/bmitch/Codor/pull/81) ([bmitch](https://github.com/bmitch))
- Fixes \#76 [\#79](https://github.com/bmitch/Codor/pull/79) ([bmitch](https://github.com/bmitch))
- Fixes \#77 [\#78](https://github.com/bmitch/Codor/pull/78) ([bmitch](https://github.com/bmitch))
- Standardizing folder structure [\#72](https://github.com/bmitch/Codor/pull/72) ([bmitch](https://github.com/bmitch))
## [1.0.1](https://github.com/bmitch/Codor/tree/1.0.1) (2017-04-01)
[Full Changelog](https://github.com/bmitch/Codor/compare/1.0.0...1.0.1)
**Closed issues:**
- \[PHP7\] Null Coalesce Operator check [\#63](https://github.com/bmitch/Codor/issues/63)
**Merged pull requests:**
- Fixes \#63 [\#70](https://github.com/bmitch/Codor/pull/70) ([bmitch](https://github.com/bmitch))
## [1.0.0](https://github.com/bmitch/Codor/tree/1.0.0) (2017-04-01)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.11...1.0.0)
**Closed issues:**
- Make a PHP7 version [\#68](https://github.com/bmitch/Codor/issues/68)
- Remote security checker until it is back working again. [\#65](https://github.com/bmitch/Codor/issues/65)
**Merged pull requests:**
- Fixes \#68 [\#69](https://github.com/bmitch/Codor/pull/69) ([bmitch](https://github.com/bmitch))
- Fixes \#65 [\#66](https://github.com/bmitch/Codor/pull/66) ([bmitch](https://github.com/bmitch))
## [0.0.11](https://github.com/bmitch/Codor/tree/0.0.11) (2017-03-28)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.10...0.0.11)
**Closed issues:**
- Add info on how to supress for sections of code in README [\#43](https://github.com/bmitch/Codor/issues/43)
- Sniff for method flag parameters [\#28](https://github.com/bmitch/Codor/issues/28)
- Sniff for when constructor has too many interfaces passed in. [\#27](https://github.com/bmitch/Codor/issues/27)
**Merged pull requests:**
- Fixes \#28 [\#64](https://github.com/bmitch/Codor/pull/64) ([bmitch](https://github.com/bmitch))
- Fixes \#43 [\#62](https://github.com/bmitch/Codor/pull/62) ([bmitch](https://github.com/bmitch))
## [0.0.10](https://github.com/bmitch/Codor/tree/0.0.10) (2017-03-27)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.9...0.0.10)
**Implemented enhancements:**
- Remove any levels of indentation \> 1 [\#40](https://github.com/bmitch/Codor/issues/40)
**Closed issues:**
- Fix breaking build [\#60](https://github.com/bmitch/Codor/issues/60)
- Functions containing forbidden words fail when it is part of a whole word [\#58](https://github.com/bmitch/Codor/issues/58)
- Fix tab indention on test cases to spaces [\#46](https://github.com/bmitch/Codor/issues/46)
**Merged pull requests:**
- Loosening the belt here, fixes \#60 [\#61](https://github.com/bmitch/Codor/pull/61) ([bmitch](https://github.com/bmitch))
- :bug: Fix parsing disallowed words in function names [\#59](https://github.com/bmitch/Codor/pull/59) ([darcyrush](https://github.com/darcyrush))
- Fixes \#46 [\#57](https://github.com/bmitch/Codor/pull/57) ([bmitch](https://github.com/bmitch))
## [0.0.9](https://github.com/bmitch/Codor/tree/0.0.9) (2016-12-30)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.8...0.0.9)
**Merged pull requests:**
- :art: Refactor to remove codingStandardsIgnore annotation [\#56](https://github.com/bmitch/Codor/pull/56) ([winkbrace](https://github.com/winkbrace))
- Updated changelog [\#55](https://github.com/bmitch/Codor/pull/55) ([bmitch](https://github.com/bmitch))
## [0.0.8](https://github.com/bmitch/Codor/tree/0.0.8) (2016-12-29)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.7...0.0.8)
**Merged pull requests:**
- Try catch [\#54](https://github.com/bmitch/Codor/pull/54) ([winkbrace](https://github.com/winkbrace))
- Updated changelog [\#53](https://github.com/bmitch/Codor/pull/53) ([bmitch](https://github.com/bmitch))
## [0.0.7](https://github.com/bmitch/Codor/tree/0.0.7) (2016-12-29)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.6...0.0.7)
**Merged pull requests:**
- :art: Clean up and refactor to remove @codingStandardsIgnore annotation [\#52](https://github.com/bmitch/Codor/pull/52) ([winkbrace](https://github.com/winkbrace))
- Updated changelog [\#51](https://github.com/bmitch/Codor/pull/51) ([bmitch](https://github.com/bmitch))
## [0.0.6](https://github.com/bmitch/Codor/tree/0.0.6) (2016-12-28)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.5...0.0.6)
**Implemented enhancements:**
- ignore try-catch block as indentation [\#45](https://github.com/bmitch/Codor/issues/45)
**Fixed bugs:**
- Doesn't work with Atom Linter-PHPCS? [\#44](https://github.com/bmitch/Codor/issues/44)
**Closed issues:**
- Sniff for nested if statements. [\#38](https://github.com/bmitch/Codor/issues/38)
**Merged pull requests:**
- Include PHP 7 in tests [\#50](https://github.com/bmitch/Codor/pull/50) ([bmitch](https://github.com/bmitch))
- Realted to \#45 [\#49](https://github.com/bmitch/Codor/pull/49) ([bmitch](https://github.com/bmitch))
- Fixes \#38 [\#47](https://github.com/bmitch/Codor/pull/47) ([bmitch](https://github.com/bmitch))
## [0.0.5](https://github.com/bmitch/Codor/tree/0.0.5) (2016-12-11)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.4...0.0.5)
**Closed issues:**
- Sniff for only 1 level of indentation. [\#23](https://github.com/bmitch/Codor/issues/23)
**Merged pull requests:**
- Fixes \#23 [\#39](https://github.com/bmitch/Codor/pull/39) ([bmitch](https://github.com/bmitch))
## [0.0.4](https://github.com/bmitch/Codor/tree/0.0.4) (2016-12-10)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.3...0.0.4)
**Closed issues:**
- Make rules configurable? [\#26](https://github.com/bmitch/Codor/issues/26)
**Merged pull requests:**
- Fixes \#26 [\#36](https://github.com/bmitch/Codor/pull/36) ([bmitch](https://github.com/bmitch))
## [0.0.3](https://github.com/bmitch/Codor/tree/0.0.3) (2016-12-10)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.2...0.0.3)
**Closed issues:**
- Tests to test returned error message [\#17](https://github.com/bmitch/Codor/issues/17)
**Merged pull requests:**
- Fixes \#17 [\#35](https://github.com/bmitch/Codor/pull/35) ([bmitch](https://github.com/bmitch))
## [0.0.2](https://github.com/bmitch/Codor/tree/0.0.2) (2016-12-09)
[Full Changelog](https://github.com/bmitch/Codor/compare/0.0.1...0.0.2)
**Closed issues:**
- Sniff for functions with "or" or "and" in the name. [\#33](https://github.com/bmitch/Codor/issues/33)
**Merged pull requests:**
- Fixes \#33 [\#34](https://github.com/bmitch/Codor/pull/34) ([bmitch](https://github.com/bmitch))
## [0.0.1](https://github.com/bmitch/Codor/tree/0.0.1) (2016-12-06)
[Full Changelog](https://github.com/bmitch/Codor/compare/42921f82c9641fd1bb7d78895e888b3b8266103e...0.0.1)
**Closed issues:**
- Class length sniff [\#22](https://github.com/bmitch/Codor/issues/22)
- Parameter length sniff not picking up interfaces. [\#19](https://github.com/bmitch/Codor/issues/19)
- Sniffer to prevent returning null [\#15](https://github.com/bmitch/Codor/issues/15)
- Changes to CodeSniffRunner [\#14](https://github.com/bmitch/Codor/issues/14)
- Run the package against itself [\#13](https://github.com/bmitch/Codor/issues/13)
- Sniff to limit number of parameters [\#10](https://github.com/bmitch/Codor/issues/10)
- Add Travis-CI build [\#1](https://github.com/bmitch/Codor/issues/1)
**Merged pull requests:**
- Remove redundant code [\#32](https://github.com/bmitch/Codor/pull/32) ([bmitch](https://github.com/bmitch))
- Test function with no return value [\#31](https://github.com/bmitch/Codor/pull/31) ([bmitch](https://github.com/bmitch))
- Fixes \#22 [\#30](https://github.com/bmitch/Codor/pull/30) ([bmitch](https://github.com/bmitch))
- Fixes \#13 [\#21](https://github.com/bmitch/Codor/pull/21) ([bmitch](https://github.com/bmitch))
- Fixes \#19 [\#20](https://github.com/bmitch/Codor/pull/20) ([bmitch](https://github.com/bmitch))
- Fixes \#15 [\#18](https://github.com/bmitch/Codor/pull/18) ([bmitch](https://github.com/bmitch))
- Fixes \#14 [\#16](https://github.com/bmitch/Codor/pull/16) ([bmitch](https://github.com/bmitch))
- Fixes \#10 [\#12](https://github.com/bmitch/Codor/pull/12) ([bmitch](https://github.com/bmitch))
- Sniff the sniffs [\#11](https://github.com/bmitch/Codor/pull/11) ([bmitch](https://github.com/bmitch))
- update readme [\#9](https://github.com/bmitch/Codor/pull/9) ([bmitch](https://github.com/bmitch))
- Added Function Length Sniff [\#8](https://github.com/bmitch/Codor/pull/8) ([bmitch](https://github.com/bmitch))
- Add badges [\#7](https://github.com/bmitch/Codor/pull/7) ([bmitch](https://github.com/bmitch))
- Added code coverage [\#6](https://github.com/bmitch/Codor/pull/6) ([bmitch](https://github.com/bmitch))
- Added security checker [\#5](https://github.com/bmitch/Codor/pull/5) ([bmitch](https://github.com/bmitch))
- Added PHPLOC and PHP CPD [\#4](https://github.com/bmitch/Codor/pull/4) ([bmitch](https://github.com/bmitch))
- Added PHPMD [\#3](https://github.com/bmitch/Codor/pull/3) ([bmitch](https://github.com/bmitch))
- Fixes \#1 [\#2](https://github.com/bmitch/Codor/pull/2) ([bmitch](https://github.com/bmitch))
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*