Dealing with function/class parameter Phpstan errors
Bug #1953396 reported by
Dianne Tennent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Invalid
|
High
|
Unassigned |
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:
These can be verified by running;
phpstan analyse htdocs
And searching for "parameter" and "parameters"
summary: |
- Dealing with function parameters Phpstan errors + Dealing with function/class parameters Phpstan errors |
summary: |
- Dealing with function/class parameters Phpstan errors + Dealing with function/class parameter Phpstan errors |
description: | updated |
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → High |
milestone: | none → 22.04.0 |
Changed in mahara: | |
status: | In Progress → Invalid |
milestone: | 22.04.0 → none |
To post a comment you must log in.
Patch for "main" branch: https:/ /reviews. mahara. org/12289