Skip to content

Commit

Permalink
Ignore some basic PSR1 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanphp committed Mar 2, 2024
1 parent 4f583e2 commit 08939ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/Yii.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*
* @author Qiang Xue <[email protected]>
* @since 2.0
* @phpcs:disable PSR1.Files.SideEffects.FoundWithSymbols
* @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace
*/
class Yii extends \yii\BaseYii
{
Expand Down
2 changes: 2 additions & 0 deletions framework/helpers/BaseStringHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ public static function matchWildcard($pattern, $string, $options = [])
* @return string
* @see https://www.php.net/manual/en/function.ucfirst.php
* @since 2.0.16
* @phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps
*/
public static function mb_ucfirst($string, $encoding = 'UTF-8')
{
Expand All @@ -478,6 +479,7 @@ public static function mb_ucfirst($string, $encoding = 'UTF-8')
* @return string
* @see https://www.php.net/manual/en/function.ucwords
* @since 2.0.16
* @phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps
*/
public static function mb_ucwords($string, $encoding = 'UTF-8')
{
Expand Down

0 comments on commit 08939ef

Please sign in to comment.