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
- moved XMLHelper to the util namespace
- bumped version to 1.2.0 (and completely ignoring semver B-) )
- updated infection documentation with stdin2classtype-filter script description
Copy file name to clipboardExpand all lines: doc/Infection.md
+41-4Lines changed: 41 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,48 @@ this script collects the paths defined in your CODEOWNERS file for given codeown
34
34
35
35
this script accepts a list of files and intersects them with the paths defined in your CODEOWNERS file for given codeowner. the intersected result is printed as comma separated list which can be used as a filter value for, for example, php infection.
36
36
37
+
> [!CAUTION]
38
+
> the `stdin2codeowner-filter.pl` script requires either an optimised or an authoritative classmap file so make sure to generate one of those in your configuration (see example below).
this script accepts a list of files and intersects them with the paths defined in your CODEOWNERS file for given codeowner.
67
+
after which a given list of class types are excluded from that list. possible types are `class`, `interface`, `trait`, `enum`, `method_enum`.
68
+
37
69
### assumptions
38
70
39
-
this script assumes the presence of the CODEOWNERS file in the root directory of you project.
40
-
though configurable in the `stdin2codeowner-filter.pl` file, for now no plans to make that configurable or accept it as input parameter.
71
+
this script assumes the presence of the `PHP_EXCLUDE_TYPES` environment variable and should contain a comma separated list of class types to exclude.
41
72
42
73
> [!CAUTION]
43
-
> the `stdin2codeowner-filter.pl` script requires either an optimised or an authoritative classmap file so make sure to generate one of those in your configuration (see example below).
74
+
> the `stdin2classtype-filter.pl` script requires either an optimised or an authoritative classmap file so make sure to generate one of those in your configuration (see example below).
75
+
also the classes are expected to be conform PSR-4 standards (i.e. the filename matches the classname).
76
+
77
+
> [!NOTE]
78
+
> enum class types are differentiated as `enum` and `method_enum` where the later is an enumeration containing methods (for which typically mutants _can_ be generated).
44
79
45
80
46
81
### example config
@@ -58,10 +93,11 @@ though configurable in the `stdin2codeowner-filter.pl` file, for now no plans to
0 commit comments