Releases: console-helpers/code-insight
Releases · console-helpers/code-insight
v0.0.2
Added
- Added
testscommand, that shows missing test files for given source files. - Added
--formatoption tobccommand to allow generating BC report in different formats: text, html, json. - The list of BC checkers now can be configured in new
bc_checkersarray-type setting of.code-insight.jsonfile. - Added
synccommand to sync database with the code. - Added
--source-project-forkand--target-project-forkoptions forbccommand to allow operating on different (forked) version of database for same project. - Added
--project-forkoptions toreportcommand to allow operating on different (forked) version of database for same project. - Added
--project-forkoptions tosynccommand to allow operating on different (forked) version of database for same project. - Added
cache.providersetting to~/.code-insight/config.jsonfile, that can be set tomemcacheto use locally installed Memcache server for caching. - Adding/removing
staticfrom class property/method is considered as a BC break. - Allow specifying BC breaks, that were detected but should be ignored via
bc_ignoresetting in.code-insight.jsonfile. - The project paths are now auto-completed in Bash.
Changed
- The
refreshoption ofreportcommand was removed in favor of newsynccommand. - The
code-insight.sqlitedatabase is now stored in~/.code-insightfolder's sub-folder instead of scanned project folder. - Data processed by
bccommand is now cached for 1 hour for performance reasons. This however results in project code changes not being detected within that hour. - The
source-project-pathargument ofbccommand is no longer required, when--source-project-forkoption is specified. - The BC breaks are sorted by element alphabetically (e.g. several BC breaks from same class would be shown next to each other).
Fixed
- The
in syncstate of changed files wasn't updated on subsequent code syncs resulting is slower syncing process. - The non-tag methods in TagProcessor classes were detected as tags.
- Renaming of PHP5 into PHP4 constructor is no longer considered a BC break.
- Changes to protected members in final classes are no longer considered a BC break.
- Adding new optional parameters to the function/method no longer considered a BC break.
- Making existing parameter of a function/method into optional no longer considered a BC break.
- BC breaks weren't sorted by their type (class > constant > property > method).