Skip to content

Commit 5672cc8

Browse files
author
Paul M. Jones
committed
expand compliance validation
now includes items from php-pds/skeleton_research#4 (thanks @stof)
1 parent 6423391 commit 5672cc8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/ComplianceValidator.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ protected function checkDocs($lines)
214214
'doc/',
215215
'guide/',
216216
'phpdoc/',
217+
'apidocs/',
218+
'apidoc/',
219+
'api-reference/',
220+
'user_guide/',
221+
'manuals/',
222+
'phpdocs/',
217223
]);
218224
}
219225

@@ -245,6 +251,11 @@ protected function checkPublic($lines)
245251
'public_html/',
246252
'publish/',
247253
'pages/',
254+
'javascripts/',
255+
'icons/',
256+
'imgs/',
257+
'wwwroot/',
258+
'font/',
248259
]);
249260
}
250261

@@ -272,6 +283,7 @@ protected function checkSrc($lines)
272283
'code/',
273284
'classes/',
274285
'func/',
286+
'src-dev/',
275287
]);
276288
}
277289

@@ -282,6 +294,10 @@ protected function checkTests($lines)
282294
'unit-tests/',
283295
'phpunit/',
284296
'testing/',
297+
'unittest/',
298+
'unit_tests/',
299+
'unit_test/',
300+
'phpunit-tests/',
285301
]);
286302
}
287303

0 commit comments

Comments
 (0)