PhpDeprecationDetector

Analyzer of PHP code to search issues with deprecated functionality in newer interpreter versions.

BSD-3-CLAUSE License

Downloads
724K
Stars
364
Committers
13
PhpDeprecationDetector - 2.0.13: Add "notes" section in report

Published by wapmorgan over 6 years ago

Added section with notes.

PhpDeprecationDetector - 2.0.12: PHP version fix

Published by wapmorgan over 6 years ago

Fixed php version requirement.

PhpDeprecationDetector - 2.0.11: Fixed pass-by-reference call

Published by wapmorgan over 6 years ago

Fixed pass-by-reference call check.

PhpDeprecationDetector - 2.0.10: Interface updates and more accurate analyzer

Published by wapmorgan over 6 years ago

Use phpcf with new interface:
new phpcf output

Now it is more human-readable and pretty.

Added:

  • --exclude option to phpcf: Pass file names to exclude them from scanning. For example: --exclude vendor,tests

Also, fixed few bugs:

  • Bug #21: used stty command on unix systems instead of tput
  • Bug #19: now pass-by-reference fuctionality catched too.
  • Bug #23: false-positive issues about methods named like deprecated functions are not triggered now.
PhpDeprecationDetector - 2.0.9: 7.2 support

Published by wapmorgan about 7 years ago

PHP 7.2 support.

PhpDeprecationDetector - 2.0.8: Return exit status in case of error

Published by wapmorgan over 7 years ago

PhpDeprecationDetector - 2.0.7: Using /usr/bin/env php instead of /usr/bin/php

Published by wapmorgan over 7 years ago

Little update for phpcf for better portability.

PhpDeprecationDetector - 2.0.6: Nicer output format

Published by wapmorgan over 7 years ago

Changed size of output table to fit in terminal.

PhpDeprecationDetector - 2.0.5: Fixed errors on ::class construction

Published by wapmorgan over 7 years ago

Fixed phpcf failing on Class::class construction.

PhpDeprecationDetector - 2.0.4: Fixed checking password_hash() function

Published by wapmorgan over 7 years ago

  • Fixed checking password_hash() w/o third argument.
PhpDeprecationDetector - 2.0.3: Fix scanning class members as function calls.

Published by wapmorgan over 7 years ago

  • Fixed scanning class members as function calls.
PhpDeprecationDetector - 2.0.2: Fix for PHP7

Published by wapmorgan over 7 years ago

Fixed warning in binary with PHP7.

PhpDeprecationDetector - 2.0.1: Update requirements

Published by wapmorgan almost 8 years ago

Changed:

  • docopt version updated.
PhpDeprecationDetector - 2.0.0: New output and improved rules

Published by wapmorgan almost 8 years ago

Changed:

  • phpcf console output. Now it's a table with structured issues sorted by PHP version where issue can have value. Also phpcf prints suggestions about how replace deprecated features.

Added:

  • New PHP 7.0 and 7.1 rules (functions, identifiers and functions usage).
  • Full functions list of deleted and deprecated extensions.
PhpDeprecationDetector - 1.1.0: PHP 7.0 and 7.1 rules

Published by wapmorgan almost 8 years ago

Added deprecations from 7.0 and 7.1.
Set default target to 7.1.

PhpDeprecationDetector - 1.0.1.1: Minor fix

Published by wapmorgan about 9 years ago

Minor fix in phpcf script.

PhpDeprecationDetector - 1.0.1: Bug fixes and updates

Published by wapmorgan about 9 years ago

Changed:

  • Added option --max-size to set maximum size of file to check, if file size is above this limit then file will be skipped.

Fixed:

  • Fixed bug in method names checking when used anonymous function in code.
PhpDeprecationDetector - 1.0.0

Published by wapmorgan over 9 years ago

Package Rankings
Top 1.12% on Packagist.org
Top 6.7% on Proxy.golang.org
Badges
Extracted from project README
Latest Stable Version Total Downloads License
Related Projects