Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ local/codechecker/phpcs/bin/phpcs --standard=moodle --sniffs=moodle.PHPUnit.TestCaseNames course && echo "yay"
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/indicators_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 41 | WARNING | PHPUnit testcase name "core_course_indicators_testcase" does not match file name "indicators_test"
- 41 | WARNING | PHUnit class "core_course_indicators_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/services_content_item_service_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- ------------------------------------------------------------------------------------------------------------------------------------
- 25 | ERROR | PHPUnit class namespace "tests\course" does not match expected file namespace "core_course"
- 38 | WARNING | PHPUnit testcase name "services_content_item_service_testcase" does not match file name
- | | "services_content_item_service_test"
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/events_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 34 | WARNING | PHPUnit testcase name "core_course_events_testcase" does not match file name "events_test"
- 34 | WARNING | PHUnit class "core_course_events_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/exporters_content_item_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- ------------------------------------------------------------------------------------------------------------------------------------
- 25 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- 38 | WARNING | PHPUnit testcase name "exporters_course_content_item_testcase" does not match file name
- | | "exporters_content_item_test"
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/targets_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 42 | WARNING | PHPUnit testcase name "core_analytics_targets_testcase" does not match file name "targets_test"
- 42 | WARNING | PHUnit class "core_analytics_targets_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/modlib_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 32 | WARNING | PHPUnit testcase name "core_course_modlib_testcase" does not match file name "modlib_test"
- 32 | WARNING | PHUnit class "core_course_modlib_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/management_helper_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 36 | WARNING | PHPUnit testcase name "core_course_management_helper_test" does not match file name "management_helper_test"
- 36 | WARNING | PHUnit class "core_course_management_helper_test" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/content_item_readonly_repository_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- ------------------------------------------------------------------------------------------------------------------------------------
- 25 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- 38 | WARNING | PHPUnit testcase name "content_item_readonly_repository_testcase" does not match file name
- | | "content_item_readonly_repository_test"
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/notifications_test.php
- ---------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AFFECTING 1 LINE
- ---------------------------------------------------------------------------------------------------------------
- 17 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- ---------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/courselib_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 33 | WARNING | PHPUnit testcase name "core_course_courselib_testcase" does not match file name "courselib_test"
- 33 | WARNING | PHUnit class "core_course_courselib_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/category_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 31 | WARNING | PHPUnit testcase name "core_course_category_testcase" does not match file name "category_test"
- 31 | WARNING | PHUnit class "core_course_category_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/caching_content_item_readonly_repository_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- ------------------------------------------------------------------------------------------------------------------------------------
- 25 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- 38 | WARNING | PHPUnit testcase name "caching_content_item_readonly_repository_testcase" does not match file name
- | | "caching_content_item_readonly_repository_test"
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/restore_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 38 | WARNING | PHPUnit testcase name "core_course_restore_testcase" does not match file name "restore_test"
- 38 | WARNING | PHUnit class "core_course_restore_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/course_delete_modules_test.php
- ---------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AFFECTING 1 LINE
- ---------------------------------------------------------------------------------------------------------------
- 25 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- ---------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/course_summary_exporter_test.php
- ---------------------------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- ---------------------------------------------------------------------------------------------------------------------------------
- 17 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- 32 | WARNING | PHPUnit testcase name "course_summary_exporter_testcase" does not match file name "course_summary_exporter_test"
- ---------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/exporters_content_items_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- ------------------------------------------------------------------------------------------------------------------------------------
- 25 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- 38 | WARNING | PHPUnit testcase name "exporters_course_content_items_testcase" does not match file name
- | | "exporters_content_items_test"
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/content_item_test.php
- -----------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- -----------------------------------------------------------------------------------------------------------------
- 25 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- 41 | WARNING | PHPUnit testcase name "content_item_testcase" does not match file name "content_item_test"
- -----------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/courserequest_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 32 | WARNING | PHPUnit testcase name "core_course_courserequest_testcase" does not match file name "courserequest_test"
- 32 | WARNING | PHUnit class "core_course_courserequest_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/course_image_cache_test.php
- -----------------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- -----------------------------------------------------------------------------------------------------------------------
- 17 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- 34 | WARNING | PHPUnit testcase name "course_image_cache_testcase" does not match file name "course_image_cache_test"
- -----------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/category_hooks_test.php
- ---------------------------------------------------------------------------------------------------------------------------
- FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
- ---------------------------------------------------------------------------------------------------------------------------
- 26 | ERROR | PHPUnit class namespace "tests\core_course" does not match expected file namespace "core_course"
- 38 | WARNING | PHPUnit testcase name "core_course_category_hooks_testcase" does not match file name "category_hooks_test"
- ---------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/externallib_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 40 | WARNING | PHUnit class "externallib_test" does not have any namespace. It is recommended to add it to the "core_course"
- | | namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/privacy_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 38 | WARNING | PHPUnit testcase name "core_course_privacy_testcase" does not match file name "privacy_test"
- 38 | WARNING | PHUnit class "core_course_privacy_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/customfield_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 38 | WARNING | PHPUnit testcase name "core_course_customfield_testcase" does not match file name "customfield_test"
- 38 | WARNING | PHUnit class "core_course_customfield_testcase" does not have any namespace. It is recommended to add it to the
- | | "core_course" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/tests/search_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 39 | WARNING | PHPUnit testcase name "course_search_testcase" does not match file name "search_test"
- 39 | WARNING | PHUnit class "course_search_testcase" does not have any namespace. It is recommended to add it to the "core_course"
- | | namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/format/weeks/tests/format_weeks_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 37 | WARNING | PHPUnit testcase name "format_weeks_testcase" does not match file name "format_weeks_test"
- 37 | WARNING | PHUnit class "format_weeks_testcase" does not have any namespace. It is recommended to add it to the "format_weeks"
- | | namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/format/weeks/tests/observer_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 34 | WARNING | PHPUnit testcase name "format_weeks_observer_testcase" does not match file name "observer_test"
- 34 | WARNING | PHUnit class "format_weeks_observer_testcase" does not have any namespace. It is recommended to add it to the
- | | "format_weeks" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/format/tests/base_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 26 | WARNING | PHUnit class "base_test" does not have any namespace. It is recommended to add it to the "core_courseformat"
- | | namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- FILE: /Users/stronk7/git_moodle/moodle/course/format/topics/tests/format_topics_test.php
- ------------------------------------------------------------------------------------------------------------------------------------
- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
- ------------------------------------------------------------------------------------------------------------------------------------
- 37 | WARNING | PHPUnit testcase name "format_topics_testcase" does not match file name "format_topics_test"
- 37 | WARNING | PHUnit class "format_topics_testcase" does not have any namespace. It is recommended to add it to the
- | | "format_topics" namespace, using more levels if needed, in order to match the code being tested
- ------------------------------------------------------------------------------------------------------------------------------------
- Time: 8.42 secs; Memory: 64.01MB
Add Comment
Please, Sign In to add comment