php7mar icon indicating copy to clipboard operation
php7mar copied to clipboard

PHP 7 Migration Assistant Report (MAR)

Results 33 php7mar issues
Sort by recently updated
recently updated
newest added

Hi, The line numbers in the logs are all wrong (approximatly 30 lines less). ``` #### /blabla.ph * foreachByReference * Line 195: ` foreach ($aStats as $sKey => &$mValue)` ```...

(Funnily) running php7mar with php 7.2 results in: ``` Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /Users/xxx/php7mar/classes/scanner.php on line 95 ``` Fix...

- Convert the scanner to a Directory Iterator - Removed the skip blank lines to allow for correct line numbers - Added trim of whitespace to skip tab/space only lines...

I can't tell why this is being thrown, but whatever class was being processed apparently causied `$tokens = token_get_all("");` to throw this warning. ``` Warning: Unterminated comment starting line 1...

Does php7mar detect ArgumentCountError? http://php.net/manual/en/migration71.incompatible.php I had that error recently when upgrading a codebase from php 5.6 to 7.1 It caused a critical error (white screen) but i didn't see...

This is easy with [Box](https://github.com/box-project/box2). See https://github.com/elgentos/masquerade/blob/master/box.json for an example configuration.

Replace the blank spaces of the generated file name, which make them more easy to manipulate on Linux.

According to http://php.net/manual/en/reserved.variables.httprawpostdata.php the global $HTTP_RAW_POST_DATA is removed in PHP 7+. It did not show up running the critical report.

I don't seem to be able to create a report with the results of the test. My report looks like this 2017-06-17T10:11:49+02:00 Scanning C:\xampp\htdocs\job\index.php Including file extensions: php Processed 99...