Menu

#312 Support PHP 8.0 - Required parameter follows optional parameter

6.4.2
closed
None
Trunk
Upkeep
8.0
Unknow
2021-03-13
2021-01-15
No

We need to decide what is the best default value of these last parameters or rewrite some code.


function checkExists($id = FALSE, $title, $titleShort, $type)

Deprecated: Required parameter $title follows optional parameter $id in /home/lkppo/devel/wikindx/trunk/core/collection/COLLECTION.php on line 194

Deprecated: Required parameter $titleShort follows optional parameter $id in /home/lkppo/devel/wikindx/trunk/core/collection/COLLECTION.php on line 194

Deprecated: Required parameter $type follows optional parameter $id in /home/lkppo/devel/wikindx/trunk/core/collection/COLLECTION.php on line 194


function displayEditForm($initialDisplay = FALSE, $groups)

Deprecated: Required parameter $groups follows optional parameter $initialDisplay in /home/lkppo/devel/wikindx/trunk/core/modules/edit/EDITKEYWORDGROUP.php on line 692


function promptFieldNames($entries, $inputTypes, $map, $invalidFieldNames, $strings = FALSE, $formData)

Deprecated: Required parameter $formData follows optional parameter $strings in /home/lkppo/devel/wikindx/trunk/core/modules/import/IMPORTCOMMON.php on line 1204


function getPaging($conditions, $joins, $conditionsOneField, $table = 'resource', $subQ, $QS = FALSE)

Deprecated: Required parameter $subQ follows optional parameter $table in /home/lkppo/devel/wikindx/trunk/core/lists/PAGINGALPHA.php on line 69


function openFile($string = FALSE, $extension, $mode = 'w')

Deprecated: Required parameter $extension follows optional parameter $string in /home/lkppo/devel/wikindx/trunk/components/plugins/importexportbib/EXPORTCOMMON.php on line 68

Related

News: 2021/03/wikindx-v642-released

Discussion

  • Mark Grimshaw

    Mark Grimshaw - 2021-01-30

    I can change these if you want.

    Mark

     
    • Stéphane Aulery

      If you are confident yes, otherwise we can stay I had a PHP 8.0 to test that all work as expected.

       
  • Mark Grimshaw

    Mark Grimshaw - 2021-02-02

    Done.

    Mark

     
  • Mark Grimshaw

    Mark Grimshaw - 2021-02-02
    • status: open --> pending
     
  • Stéphane Aulery

    • Target: Unknown --> Next
     
  • Stéphane Aulery

    • Target: Next --> 6.4.2
     
  • Stéphane Aulery

    • status: pending --> closed
     

Log in to post a comment.