Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007848TestLinkApplication Development Standardspublic2017-02-08 11:482018-02-22 11:53
Reportermodir 
Assigned Tofman 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version1.9.16 (2016 Q4) 
Fixed in Version 
Summary0007848: Several files with parse errors on PHP 7.1
DescriptionI wanted to test now if testLink is ready for PHP 7.1 and with my tool I found several files which even have parse errors:

PHP Parse error: syntax error, unexpected 'help' (T_STRING) in ./locale/nl_NL/texts.php on line 86

PHP Parse error: syntax error, unexpected '<<' (T_SL) in ./lib/testcases/tcCompareVersions-tocheck.php on line 122

PHP Parse error: syntax error, unexpected 'if' (T_IF) in ./lib/testcases/archiveDataNew.php on line 213

PHP Parse error: syntax error, unexpected ')' in ./lib/functions/common2.php on line 467

PHP Parse error: syntax error, unexpected 'code' (T_STRING) in ./third_party/user_contribution/test_smtp_mail.php on line 2

PHP Fatal error: 'break' not in the 'loop' or 'switch' context in ./third_party/codeplex/PHPExcel/Calculation/Functions.php on line 570


As a side note: All these files won't work anymore at one point in the future. I recommend you to update the following libraries in the near future.

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; TLSmarty has a deprecated constructor in ./lib/functions/tlsmarty.inc.php on line 110
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; build_mgr has a deprecated constructor in ./lib/functions/testplan.class.php on line 7718
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; milestone_mgr has a deprecated constructor in ./lib/functions/testplan.class.php on line 8242
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dBug has a deprecated constructor in ./lib/functions/code_testing/dBug.php on line 49
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; results has a deprecated constructor in ./lib/functions/results.class.php on line 78
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; newResults has a deprecated constructor in ./lib/functions/results.class.php on line 1923
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_oci8 has a deprecated constructor in ./third_party/adodb/drivers/adodb-oci8.old.inc.php on line 55
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordset_oci8 has a deprecated constructor in ./third_party/adodb/drivers/adodb-oci8.old.inc.php on line 1230
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_ext_oci8 has a deprecated constructor in ./third_party/adodb/drivers/adodb-oci8.old.inc.php on line 1508
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Value has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 18
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Message has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 126
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Server has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 272
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Request has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 441
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Client has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 472
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Error has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 583
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Date has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 615
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_Base64 has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 659
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_IntrospectionServer has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 670
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; IXR_ClientMulticall has a deprecated constructor in ./third_party/xml-rpc/class-IXR.php on line 814
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Config_File has a deprecated constructor in ./third_party/smarty/libs/Config_File.class.php on line 38
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in ./third_party/smarty/libs/Smarty.class.php on line 64
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty_Compiler has a deprecated constructor in ./third_party/smarty/libs/Smarty_Compiler.class.php on line 35
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dBug has a deprecated constructor in ./third_party/dBug/dBug.php on line 49
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; FCKeditor has a deprecated constructor in ./third_party/fckeditor/fckeditor_php4.php on line 74
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; TestMatrix has a deprecated constructor in ./third_party/codeplex/PHPExcel/Shared/JAMA/tests/TestMatrix.php on line 5
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; PclZip has a deprecated constructor in ./third_party/codeplex/PHPExcel/Shared/PCLZip/pclzip.lib.php on line 190
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_XML has a deprecated constructor in ./third_party/adodb_xml/class.ADODB_XML.php on line 21
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XMLTag has a deprecated constructor in ./third_party/adodb_xml/class.xml.php on line 132
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XMLFile has a deprecated constructor in ./third_party/adodb_xml/class.xml.php on line 321
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CKEditor has a deprecated constructor in ./third_party/ckeditor/ckeditor_php4.php on line 18
TagsNo tags attached.
Database (MySQL,Postgres,etc)not relevant
Browser
PHP Version7.1
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships
related to 0007847closedfman Tests are not listed with PHP 7.1 
child of 0007817closedfman Availables hot-fixes for 1.9.16 & How To get full fixed package from GitHub 

-  Notes
(0025982)
fman (administrator)
2017-02-08 18:37

>> PHP Parse error: syntax error, unexpected ')' in ./lib/functions/common2.php on line 467
ignore it this file has to be removed
(0025983)
fman (administrator)
2017-02-08 21:34

>> PHP Fatal error: 'break' not in the 'loop' or 'switch' context in ./third_party/codeplex/PHPExcel/Calculation/Functions.php on line 570

already fixed

>> PHP Parse error: syntax error, unexpected 'if' (T_IF) in ./lib/testcases/archiveDataNew.php on line 213

ignore it this file has to be removed
(0025985)
fman (administrator)
2017-02-08 21:45

find . -name "*.php" -print0 | xargs -0 -n1 -P8 php -l > /var/tmp/phplint.log

- Issue History
Date Modified Username Field Change
2017-02-08 11:48 modir New Issue
2017-02-08 18:37 fman Note Added: 0025982
2017-02-08 21:34 fman Note Added: 0025983
2017-02-08 21:45 fman Note Added: 0025985
2017-02-08 22:10 fman Assigned To => fman
2017-02-08 22:10 fman Status new => assigned
2017-02-08 22:11 fman QA Team - Task Workflow Status => TBD
2017-02-08 22:11 fman Summary Several files with parse errors => Several files with parse errors on PHP 7.1
2017-02-08 22:12 fman Relationship added related to 0007847
2017-02-08 22:13 fman Relationship added child of 0007817



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker