View Issue Details

IDProjectCategoryView StatusLast Update
17105Development Otherpublic2021-02-17 12:52
Reporterollehar Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version4.x.0-dev 
Target Version4.x.0-dev 
Summary17105: New service class to deal with PHP 7/8 issues
DescriptionSome changes are happening between PHP 7 and 8. A class can be added to deal with this.

PHPInterop7, PHPInterop8 for PHP 7 and 8

Then in Yii config, inject component based on PHP version you're running

```
'components' => [
  'phpInterop' => [
    'class' => PHP_VERSION_ID < 80000 ? 'PHPInterop7' : 'PHPInterop8'
  ]
]
```

Example of Scrutinizer not being smart enough: https://scrutinizer-ci.com/g/LimeSurvey/LimeSurvey/inspections/2c4abff7-81ea-4826-bc11-37f386b1371a/code-structure/operation/QuestionTheme%3A%3AconvertLS3toLS4
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-02-17 12:52 ollehar New Issue
2021-02-17 12:52 ollehar Description Updated View Revisions
2021-02-17 12:52 ollehar Description Updated View Revisions