Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 3.5.3

Bug #20100 incorrect Function mysql() has been deprecated report
Submitted: 2013-10-15 20:54 UTC
From: addshore Assigned: squiz
Status: Closed Package: PHP_CodeSniffer (version Unknown)
PHP Version: Irrelevant OS: scrutinizer-ci
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 21 + 6 = ?

 [2013-10-15 20:54 UTC] addshore (Add Shore)
Description: ------------ As can be seen at https://scrutinizer- WikibaseDatabase/issues/files/src/MySQL/MySQLIndexSqlBuil der.php?filter%5Blabels%5D%5B%5D=2 the line 'namespace Wikibase\Database\MySQL;' seems to trigger the message 'Function mysql() has been deprecated' Expected result: ---------------- I would not expect this to happen


 [2013-10-23 07:51 UTC] squiz (Greg Sherwood)
-Status: Open +Status: Closed -Assigned To: +Assigned To: squiz
I couldn't replicate the mysql error specifically (probably a php version difference) but I think I replicated the general issue anyway. I've made a fix here: 949e9194b5bc08