Skip to content

Commit

Permalink
phpcs: Moodle Code Checker v3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchamp committed Mar 27, 2024
1 parent f67fdb5 commit 29c4215
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/advanced_passcode_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* PHPunit testcase class.
*/
class advanced_passcode_test extends basic_testcase {
final class advanced_passcode_test extends basic_testcase {
/**
* Fake data from get_user_security_settings().
* @var object
Expand Down
2 changes: 1 addition & 1 deletion tests/error_handling_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* PHPunit testcase class.
*/
class error_handling_test extends basic_testcase {
final class error_handling_test extends basic_testcase {
/**
* Exception for when the meeting isn't found on Zoom.
* @var not_found_exception
Expand Down
2 changes: 1 addition & 1 deletion tests/get_meeting_reports_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* PHPunit testcase class.
* @covers \mod_zoom\task\get_meeting_reports
*/
class get_meeting_reports_test extends advanced_testcase {
final class get_meeting_reports_test extends advanced_testcase {
/**
* Scheduled task object.
* @var \mod_zoom\task\get_meeting_reports
Expand Down
2 changes: 1 addition & 1 deletion tests/mod_zoom_grade_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* PHPunit testcase class.
*/
class mod_zoom_grade_test extends advanced_testcase {
final class mod_zoom_grade_test extends advanced_testcase {
/**
* @var \stdClass Course record.
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/mod_zoom_invitation_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* PHPunit testcase class for invitations.
* @covers \mod_zoom\invitation
*/
class mod_zoom_invitation_test extends advanced_testcase {
final class mod_zoom_invitation_test extends advanced_testcase {
/**
* Setup to ensure that fixtures are loaded.
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/mod_zoom_webservice_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* PHPunit testcase class.
* @covers \mod_zoom\webservice
*/
class mod_zoom_webservice_test extends advanced_testcase {
final class mod_zoom_webservice_test extends advanced_testcase {
/**
* @var object Anonymous class to mock \curl.
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/privacy/mod_zoom_provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @coversDefaultClass \mod_zoom\privacy\provider
*/
class mod_zoom_provider_test extends provider_testcase {
final class mod_zoom_provider_test extends provider_testcase {
/** @var object The zoom instance object. */
protected $zoominstance;

Expand Down
1 change: 1 addition & 0 deletions view.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
* Get the display name for a Zoom user.
* This is wrapped in a function to avoid unnecessary API calls.
*
* @package mod_zoom
* @param string $zoomuserid Zoom user ID.
* @return ?string
*/
Expand Down

0 comments on commit 29c4215

Please sign in to comment.