Closed paulholden closed 2 years ago
Mentioned by @stronk7 - we should check whether the file contains a /behat/ folder in it's path, rather than it's immediate descendant having that name:
/behat/
https://github.com/moodlehq/moodle-local_codechecker/blob/5f4cf1540f6ec9f1dd24c38a906a809fe4b9cef3/moodle/Sniffs/Files/MoodleInternalSniff.php#L50-L53
See MDL-72696 (fails for file lib/behat/form_field/behat_form_inplaceeditable_select.php)
lib/behat/form_field/behat_form_inplaceeditable_select.php
Mentioned by @stronk7 - we should check whether the file contains a
/behat/
folder in it's path, rather than it's immediate descendant having that name:https://github.com/moodlehq/moodle-local_codechecker/blob/5f4cf1540f6ec9f1dd24c38a906a809fe4b9cef3/moodle/Sniffs/Files/MoodleInternalSniff.php#L50-L53
See MDL-72696 (fails for file
lib/behat/form_field/behat_form_inplaceeditable_select.php
)