PHP Classes
elePHPant
Icontem

PHP Migration Tool Verification: Analyse and find issues to migrate PHP code

Recommend this page to a friend!
  Info   View files Documentation   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-04-11 (9 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 99 This week: 99All time: 9,155 This week: 1Up
Version License PHP version Categories
php72migration 1.0.0GNU General Publi...5PHP 5, Utilities and Tools, Parsers
Description Author

This package can analyse and find issues to migrate PHP code.

It can scan for PHP source code files in a given directory and analyse them to find potencial problemas that may happen when you try to execute those files in PHP 7.2.

The package can find code that issues errors or warnings. Currently the class can:

- Find class functions with duplicated names
- Find deprecated __autoload statements
- Find deprecated each statements
- Find deprecated functions like png2wbmp, jpeg2wbmp, gmp_random, read_exif_data, mysql_select_db, mysql_connect, mysql_query, mysql_num_rows, mysql_result
- Find deprecated create function statements
- Find functions and syntax that can be deprecated in later versions like the end PHP tag ?>, strip_tags and mb_strings.

Name: Moisés Lima <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 4204344 in Brazil Brazil
Week rank: 2 Up1 in Brazil Brazil Up

Details

php7.2-verify-migration-tool

Bot to detect, report errors, deprecated functions to php7.2 migration.

The project is in Twitch.tv at https://www.twitch.tv/themoiza

Add permission to execute in terminal:

chmod +x scan.php

How to execute:

./scan.php /home/yourproject e

No parameters: scan only erros

./scan.php

set dir to scan, 1st param

./scan.php /home/yourproject

e: scan only erros

./scan.php e

w: scan only warnings

./scan.php w

q: quiet, show nothing on console

./scan.php q

all: scan all

./scan.php all
  Files folder image Files  
File Role Description
Files folder imageClass (3 files)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation
Plain text file scan.php Class Class source
Accessible without login Plain text file site.css Data Auxiliary data

  Files folder image Files  /  Class  
File Role Description
  Plain text file Colors.php Class Class source
  Plain text file Erros.php Class Class source
  Plain text file Warnings.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:99
This week:99
All time:9,155
This week:1Up