You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding Analysis Action and Fixes to the Configuration (#72)
* Enhance report generation with new CI formats and refactor Markdown handling
- Added support for new CI report formats: Checkstyle, JUnit, SARIF, GitLab Code Quality, and GitHub Actions.
- Improved HTML and Markdown report generation with a single table configuration option.
- Refactored MarkdownReport for better file handling and class section management, enhancing code readability and maintainability.
- Updated tests to validate new report formats and configurations.
* Update output files to include configuration and cache status
- Added configuration file paths and cache status to various output files for improved clarity and debugging.
- Updated output formats for all relevant test cases to reflect the new configuration and cache information.
* Refactor configuration management and update file references
- Replaced instances of `config.yml` with `phpcca.yaml` across the codebase to standardize configuration file usage.
- Introduced a new `phpcca.yaml` file containing cognitive metrics configuration settings.
- Updated README.md to reflect the new copyright format.
- Adjusted GitHub Actions workflow to utilize the new configuration file.
* Update configuration file references to phpcca.yaml
- Changed all instances of cca.yaml to phpcca.yaml across documentation and codebase for consistency.
- Updated README.md, CI-Integration.md, and Configuration.md to reflect the new configuration file name.
- Modified InitCommand and related tests to create and reference phpcca.yaml instead of cca.yaml.
* Update cognitive metrics configuration in phpcca.yaml
- Changed the setting for showOnlyMethodsExceedingThreshold from false to true to enhance cognitive metrics reporting.
* Refactor CognitiveMetricsCommandCoverageTest to use a centralized test configuration method
- Introduced a private method `withTestConfig` to streamline the execution of tests with a specified configuration file.
- Updated all test cases in `CognitiveMetricsCommandCoverageTest` to utilize the new method for improved readability and maintainability.
Copy file name to clipboardExpand all lines: docs/Configuration.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@
2
2
3
3
## Creating a configuration file
4
4
5
-
Run `init` to create a `cca.yaml` in your project:
5
+
Run `init` to create a `phpcca.yaml` in your project:
6
6
7
7
```bash
8
8
bin/phpcca init
9
9
bin/phpcca init --silent
10
-
bin/phpcca init --path=/path/to/cca.yaml
10
+
bin/phpcca init --path=/path/to/phpcca.yaml
11
11
```
12
12
13
-
When `cca.yaml` exists in the working directory, `analyse` and `churn` pick it up automatically. You only need `--config` for a custom path or filename.
13
+
When `phpcca.yaml` exists in the working directory, `analyse` and `churn` pick it up automatically. You only need `--config` for a custom path or filename.
14
14
15
15
## Passing a configuration file
16
16
@@ -20,7 +20,7 @@ You can specify another configuration file by passing it to the config options:
0 commit comments