Commit 4f46435
Merge pull request #1147 from WordPress/1146-improve-direct_file_access
Improve `direct_file_access` check to ignore class-only files
Co-authored-by: davidperezgar <davidperez@git.wordpress.org>
Co-authored-by: ernilambar <nilambar@git.wordpress.org>
Co-authored-by: marekdedic <marekdedic@git.wordpress.org>
Co-authored-by: frantorres <frantorres@git.wordpress.org>
Co-authored-by: lloc <realloc@git.wordpress.org>4 files changed
Lines changed: 715 additions & 10 deletions
File tree
- includes/Checker/Checks/Plugin_Repo
- tests/phpunit
- testdata/plugins/test-plugin-direct-file-access-without-errors
- tests/Checker/Checks
0 commit comments