Releases: denzyldick/phanalist
Added initial version for Sarif output.
In this release, the initial working version of Sarif support has been implemented.
There are still some things to fix, but I need to make a release, or I won't be able to test the new output in
with Phanalist action listed on the GitHub Marketplace.
There is no need to update your project to this version right now.
With the Sarif output, Phanalist can display the violations in the GitHub UI instead of in the weblog output.
On the road to 1.0
- If the config does not exist, it will be created without confirmation. @SerheyDolgushev
- Config hint messages (created/used) are shown only for non-quiet and non-JSON runs. @SerheyDolgushev
- Performance improvement. @SerheyDolgushev
- Tests and improved documentation. @SerheyDolgushev
- Added Composer package. @denzyldick
- Decreased docker image size. @denzyldick
Luminous Renewal
Today is the time for a new release.
This release is dedicated to 1 of the @SerheyDolgushev who has been making some exciting PR.
- The initiation of the Rules has been moved to where they should be.
- Renamed directory argument to config (it was a bit confusing when ran it the first time).
- Added optional src argument.
- Made possible to specify settings for the rules (E7 is a good example),
- Added code and description for each rule
- Moved Config to a separate module
- Refactoring & Clippy
On the road to our first 1.0 release.
Reviving Brilliance.
Disable a specific rule.
I added the ability to disable a specific rule in this new release. In the configuration file created
when initiating Phanalist, you can add the specific rules you want to disable under the disabled field.
disable:
- E003
- E006
In the above example, the rules E003
and E006
are disabled. When running Phanalist, every suggestion has an ID. These ids are displayed next to the suggestion.
Cyclomatic Complexity.
In this update, Phanalist can calculate the cyclomatic complexity of a method. If the value calculated is higher than the current threshold of 10, you will get a suggestion to improve your code.
Happy coding 🌮
Bug fixes.
Bug fixes and improvements.
More checks.
In this new release, Phanalist can detect the following codes smells:
- Having a try/catch with an empty catch block that doesn't do anything.
- Defining a method that has too many parameters. The maximum is 5.
Happy coding 🎉
0.1.14
If there is no configuration file in this new version, Phanalist will ask you if you want to create this missing configuration file. This configuration file is named phanalist.yaml
and will be made in the working directory.
When running Phanalist with a configuration file already created, it will be parsed at runtime and use the information inside.
Phanalist.yaml
- The
src
field is where your code is located. - The
storage
field is where the in-memory database should store the file information. - The
disable
field is if you want to disable 1 of the rules.
src: ./src
storage: /tmp/phanalist
disable:
- DUMMY_ERROR
Improved color output.
v0.1.13 Removed red