forked from PHPMailer/PHPMailer
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
general code style fixes (PHPMailer#1241)
* use instanceof instead of is_a is_a is deprecated since 5.0.0 in favour of instanceof operator http://php.net/is_a this allows using class aliases instead of strings * do not assign null to class properties that is default behaviour of php engine * use stripos instead of stristr * use faster $array[]= $value instead of array_push * add SuspiciousAssignmentsInspection noinspection to shut up ide * use call_user_func with defined args * avoid overwriting $error parameter * apply more yoda-style
- Loading branch information
Showing
4 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters