Git Product home page Git Product logo

Comments (4)

hansegucker avatar hansegucker commented on September 28, 2024

Try a automatically test like this to migrate: https://github.com/Alexia/php7mar
The first idea (look upside) isn't good.

from obiblio.

hansegucker avatar hansegucker commented on September 28, 2024

Here is the result:

2017-11-28T21:09:27+01:00
Scanning /var/www/html/obiblio
Including file extensions: php
Processed 33524 lines contained in 315 files.
Processing took 14.402975082397 seconds.

critical

/var/www/html/obiblio/classes/Biblio.php

  • oldClassConstructors
  • Line 31: function Biblio () {

/var/www/html/obiblio/classes/BiblioCopy.php

  • oldClassConstructors
  • Line 32: function BiblioCopy () {

/var/www/html/obiblio/classes/BiblioCopyQuery.php

  • oldClassConstructors
  • Line 20: function BiblioCopyQuery() {

/var/www/html/obiblio/classes/BiblioFieldQuery.php

  • oldClassConstructors
  • Line 21: function BiblioFieldQuery() {

/var/www/html/obiblio/classes/BiblioHoldQuery.php

  • oldClassConstructors
  • Line 20: function BiblioHoldQuery() {

/var/www/html/obiblio/classes/BiblioQuery.php

  • oldClassConstructors
  • Line 28: function BiblioQuery() {

/var/www/html/obiblio/classes/BiblioSearchQuery.php

  • oldClassConstructors
  • Line 27: function BiblioSearchQuery() {
  • deprecatedFunctions
  • Line 194: $this->_rowCount = implode(mysql_fetch_row(mysql_query('select found_rows();')));

/var/www/html/obiblio/classes/BiblioStatusHistQuery.php

  • oldClassConstructors
  • Line 21: function BiblioStatusHistQuery() {

/var/www/html/obiblio/classes/CircQuery.php

  • oldClassConstructors
  • Line 20: function CircQuery() {

/var/www/html/obiblio/classes/DmQuery.php

  • deprecatedFunctions
  • Line 58: $MySQLn = explode('.', implode('', explode('-', mysql_get_server_info())));

/var/www/html/obiblio/classes/Error.php

  • oldClassConstructors
  • Line 17: function Error($msg) {
  • Line 28: function FieldError($field, $msg) {
  • Line 66: function DbError($sql, $msg, $dberror) {

/var/www/html/obiblio/classes/InstallQuery.php

  • oldClassConstructors
  • Line 10: function InstallQuery() {
  • deprecatedFunctions
  • Line 117: $MySQLn = explode('.', implode('', explode('-', mysql_get_server_info())));

/var/www/html/obiblio/classes/Iter.php

  • oldClassConstructors
  • Line 31: function MapIter($callback, $iter) {
  • Line 51: function NumberedIter($iter) {
  • Line 71: function SliceIter($skip, $len, $iter) {

/var/www/html/obiblio/classes/Lay.php

  • oldClassConstructors
  • Line 540: function Lay_Underline(&$display, $length, $width) {
  • Line 609: function Lay_Top_Container(&$display) {
  • Line 627: function Lay($paper='letter', $orientation='portrait') {

/var/www/html/obiblio/classes/Localize.php

  • oldClassConstructors
  • Line 21: function Localize ($locale, $section) {

/var/www/html/obiblio/classes/Member.php

  • oldClassConstructors
  • Line 38: function Member () {

/var/www/html/obiblio/classes/MemberAccountQuery.php

  • oldClassConstructors
  • Line 20: function MemberAccountQuery() {

/var/www/html/obiblio/classes/MemberAccountTransaction.php

  • oldClassConstructors
  • Line 27: function MemberAccountTransaction () {

/var/www/html/obiblio/classes/PDF.php

  • oldClassConstructors
  • Line 56: function PDF($format, $orientation) {

/var/www/html/obiblio/classes/Query.php

  • oldClassConstructors
  • Line 13: function Query() {
  • Line 317: function DbIter($results) {
  • Line 335: function DbOld($results, $id) {
  • deprecatedFunctions
  • Line 34: $link = mysql_connect(OBIB_HOST,OBIB_USERNAME,OBIB_PWD);
  • Line 38: mysql_error()));
  • Line 40: $rc = mysql_select_db(OBIB_DATABASE, $link);
  • Line 44: mysql_error($link)));
  • Line 87: $r = mysql_query($sql, $this->_link);
  • Line 89: Fatal::dbError($sql, 'Database query failed', mysql_error());
  • Line 98: return mysql_insert_id($this->_link);
  • Line 220: $SQL .= "'".mysql_real_escape_string($arg, $this->_link)."'";
  • Line 223: $SQL .= mysql_real_escape_string($arg, $this->_link);
  • Line 273: while($row = mysql_fetch_assoc($r)) {
  • Line 321: return mysql_num_rows($this->results);
  • Line 324: $r = mysql_fetch_assoc($this->results);
  • Line 343: return mysql_num_rows($this->results);
  • Line 351: return mysql_fetch_row($this->results);
  • Line 354: return mysql_fetch_array($this->results, MYSQL_BOTH);
  • Line 358: return mysql_fetch_assoc($this->results);
  • Line 363: mysql_data_seek($this->results, 0);

/var/www/html/obiblio/classes/Rpt.php

  • oldClassConstructors
  • Line 684: function RptIter($sqls, $params) {

/var/www/html/obiblio/classes/Staff.php

  • oldClassConstructors
  • Line 36: function Staff () {

/var/www/html/obiblio/classes/Table.php

  • oldClassConstructors
  • Line 16: function Table($echolink=NULL, $checkbox=false) {
  • variableInterpolation
  • Line 102: echo TableFuncs::$col['func']($col, $row, $this->_params);

/var/www/html/obiblio/classes/UpgradeQuery.php

  • oldClassConstructors
  • Line 8: function UpgradeQuery() {

/var/www/html/obiblio/classes/UsmarcBlockDmQuery.php

  • oldClassConstructors
  • Line 19: function UsmarcBlockDmQuery() {

/var/www/html/obiblio/classes/UsmarcSubfieldDmQuery.php

  • oldClassConstructors
  • Line 19: function UsmarcSubfieldDmQuery() {

/var/www/html/obiblio/classes/UsmarcTagDmQuery.php

  • oldClassConstructors
  • Line 19: function UsmarcTagDmQuery() {

/var/www/html/obiblio/install/index.php

  • deprecatedFunctions
  • Line 22: $mysql_date = implode(mysql_fetch_row(mysql_query('select sysdate();')));

/var/www/html/obiblio/opac/CircQuery.php

  • oldClassConstructors
  • Line 20: function CircQuery() {

/var/www/html/obiblio/shared/common.php

  • deprecatedFunctions
  • Line 90: function mysql_real_escape_string($s, $link) {
  • Line 91: return mysql_escape_string($s);

nuance

/var/www/html/obiblio/classes/Query.php

  • funcGetArg
  • Line 173: $fmt = func_get_arg(0);
  • Line 190: $arg = func_get_arg($i++);

/var/www/html/obiblio/shared/common.php

  • funcGetArg
  • Line 96: $a = func_get_args();
  • Line 101: $a = func_get_args();

from obiblio.

hansegucker avatar hansegucker commented on September 28, 2024

The current version of scan:

Scanning /var/www/html/obiblio
Including file extensions: php
Processed 33599 lines contained in 315 files.
Processing took 14.419512033463 seconds.

critical

/var/www/html/obiblio/classes/Iter.php

  • oldClassConstructors
  • Line 31: function MapIter($callback, $iter) {
  • Line 51: function NumberedIter($iter) {
  • Line 71: function SliceIter($skip, $len, $iter) {

/var/www/html/obiblio/classes/Lay.php

  • oldClassConstructors
  • Line 540: function Lay_Underline(&$display, $length, $width) {
  • Line 609: function Lay_Top_Container(&$display) {
  • Line 627: function Lay($paper='letter', $orientation='portrait') {

/var/www/html/obiblio/classes/OError.php

  • oldClassConstructors
  • Line 71: function DbOError($sql, $msg, $dberror)

/var/www/html/obiblio/classes/Query.php

  • oldClassConstructors
  • Line 341: function DbIter($results)
  • Line 363: function DbOld($results, $id)

/var/www/html/obiblio/classes/Rpt.php

  • oldClassConstructors
  • Line 684: function RptIter($sqls, $params) {

/var/www/html/obiblio/classes/Table.php

  • variableInterpolation
  • Line 103: echo TableFuncs::$col['func']($col, $row, $this->_params);

/var/www/html/obiblio/opac/CircQuery.php

  • oldClassConstructors
  • Line 20: function CircQuery() {

nuance

/var/www/html/obiblio/classes/Query.php

  • funcGetArg
  • Line 149: $fmt = func_get_arg(0);
  • Line 166: $arg = func_get_arg($i++);

/var/www/html/obiblio/shared/common.php

  • funcGetArg
  • Line 97: $a = func_get_args();
  • Line 102: $a = func_get_args();

from obiblio.

hansegucker avatar hansegucker commented on September 28, 2024

The most of critical "errors" are solved now.

from obiblio.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.