This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 230224

Summary: PHP static code analysis setting per project
Product: php Reporter: jpd4nt
Component: CodeAssignee: Tomas Mysik <tmysik>
Status: NEW ---    
Severity: normal CC: jlahoda, junichi11
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description jpd4nt 2013-05-24 10:58:35 UTC
Can the settings for static code analysis be per project as the projects i deal with use different standards.
Comment 1 Tomas Mysik 2013-05-24 11:41:46 UTC
@jlahoda: Honzo, do you think that this enhancement is doable?

Thanks.
Comment 2 Tomas Mysik 2014-01-09 07:56:27 UTC
Thinking about it, I am not sure how it would work because one can create a custom Static Code configuration - what to do if the project has its own configuration as well??
Comment 3 kacer 2016-08-19 04:49:05 UTC
This could work the same way as already works with test tools.
In project properties add section "Code Analysis" with custom settings for individual tools - "Use Custom Code Sniffer", "Use Custom Standard", etc.

Ability to setup these tools on project level is becoming more important with use of composer - projects can use different versions of tools.