-
Notifications
You must be signed in to change notification settings - Fork 46
Add PHP CS Fixer and Support Checkov Configuration files #2713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| rss_title: Codacy release notes RSS feed | ||
| rss_href: /feed_rss_created.xml | ||
| --- | ||
|
|
||
|
|
||
| # Adding PHP CS Fixer as new supported tool – July 2026 | ||
|
Check failure on line 7 in docs/release-notes/cloud/cloud-2026-07-adding-phpcsfixer-checkov-config-files.md
|
||
|
|
||
|
|
||
| ## PHP CS Fixer | ||
|
|
||
| We're excited to announce support for [PHP-CS-Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer), a popular tool that fixes your PHP code to follow standard coding style rules. With this addition, Codacy can now automatically analyze your PHP projects for style violations and report them directly in your dashboard. | ||
|
|
||
| **How it works:** | ||
|
|
||
| - PHP-CS-Fixer runs as a fully integrated Codacy engine, so there's nothing to install or configure locally. | ||
| - Simply enable the tool in your repository settings and Codacy will run it automatically as part of your regular analysis. | ||
|
Check failure on line 17 in docs/release-notes/cloud/cloud-2026-07-adding-phpcsfixer-checkov-config-files.md
|
||
| - You can configure rules directly through the Codacy UI, or use your repository's own `.php-cs-fixer.dist.php` (or `.php-cs-fixer.php`) file — if specific patterns are selected in Codacy, those take precedence over the repository's config file. | ||
|
Check failure on line 18 in docs/release-notes/cloud/cloud-2026-07-adding-phpcsfixer-checkov-config-files.md
|
||
|
|
||
| **To get started:** | ||
|
|
||
| 1. Go to your repository settings in Codacy. | ||
| 2. Enable PHP CS Fixer under the list of supported tools. | ||
| 3. Select the patterns you'd like to enforce, or rely on your repository's existing configuration file. | ||
|
|
||
| Refer to our [documentation](https://github.com/codacy/codacy-php-cs-fixer) for detailed setup instructions. | ||
|
|
||
|
|
||
| ## Now Checkov supports configuration files | ||
|
|
||
| Previously, Checkov analysis on Codacy could only be configured through the Codacy UI. Now, Codacy also supports Checkov configuration files — simply add a `.checkov.yaml` or `.checkov.yml` file to your repository and Codacy will automatically pick it up during analysis — but don't forget, you need to enable the configuration file in the Repository > Code Patterns > Checkov > "Use Checkov configuration file found in the repository" | ||
|
Check failure on line 31 in docs/release-notes/cloud/cloud-2026-07-adding-phpcsfixer-checkov-config-files.md
|
||
|
|
||
|  | ||
|
|
||
|
|
||
| If you have any questions or need help, please contact <mailto:support@codacy.com>. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚪ LOW RISK
Nitpick: The link title should use parallel structure and the correct preposition.