← Back to team overview

mahara-contributors team mailing list archive

[Bug 1953396] Re: Dealing with function/class parameter Phpstan errors

 

** Description changed:

+ Fixing syntax errors in preparation for PHP8 upgrade. This patch does
+ not include 3rd party libraries.
+ 
  e.g. Class SystemException constructor invoked with 0 parameters, 1-2
  required.
  
  e.g. Parameter #1 $parser of method dbQuerySet::_tag_close() is not
  passed by reference but parameter #1 $parser of method
  dbObject::_tag_close() is passed by reference.
+ 
+ These can be verified by running;
+ phpstan analyse htdocs
+ 
+ And searching for "parameter" and "parameters"

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1953396

Title:
  Dealing with function/class parameter Phpstan errors

Status in Mahara:
  New

Bug description:
  Fixing syntax errors in preparation for PHP8 upgrade. This patch does
  not include 3rd party libraries.

  e.g. Class SystemException constructor invoked with 0 parameters, 1-2
  required.

  e.g. Parameter #1 $parser of method dbQuerySet::_tag_close() is not
  passed by reference but parameter #1 $parser of method
  dbObject::_tag_close() is passed by reference.

  These can be verified by running;
  phpstan analyse htdocs

  And searching for "parameter" and "parameters"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1953396/+subscriptions



References