Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Deprecation Detector Laravel Package

wapmorgan/php-deprecation-detector

PhpDeprecationDetector scans PHP projects for deprecated functions, constants, variables, ini directives, behavior changes, and reserved identifiers that may break on newer PHP versions. Available as a PHAR or Composer tool, with console scanning and JSON reports.

View on GitHub
Deep Wiki
Context7
2.0.33
2.0.32

another fix for symfony/console 6.2

2.0.31

Fix for symfony/console 6.2 by @Axent96

2.0.30

Merged #68, #70, #72 :

2.0.29
2.0.28
2.0.27
2.0.26

PHP version bumped to 8.0

2.0.25

PhpCodeFixer is renamed to PhpDeprecationDetector because this name defines better library's purpose. phpcf is renamed to phpdd.

2.0.24
  • Added compatability with symfony/console 5.0 version (#51).
  • Added --after (-a) option to start initial PHP version for checks (#52). Usage: phpcf -a 7.0 ... - checks only for >=7.0 issues.
2.0.23
  • Fixed #47: An error occured when test is ok and symfony/console 4.4 is installed.
  • Fixed #48: Make -e more smarter: exclude by absolute path (starting from directory where scanning is started) and by basename of file / directory. (@fwolfsjaeger)
2.0.22
  • Fixed rules for 7.4
  • Added test for 7.4
2.0.21

Added checks for php 7.4

2.0.20

Changed requirement of Symfony/Console. Now it requires ^3.4 or ^4.0.

2.0.19
  • Added option to print report in json to STDOUT instead of file: pass --output-json=-.
  • Changed format of console report:
    • Notes and suggestions injected into report table.
    • Added color highlighting to report.
  • Removed false-positive results for constans and functions with reserved identifiers as names (like int()).
  • Removed false-positive result for passing-by-reference to call_user_func_array().
  • Added messages about problems occured during analyzing.
2.0.18
  • Changed output to tables for each php-interpreter version.
  • Added ability to output result into json file (--output-json file option).
  • Fixed checking used functions with whitespace after function name (dl ('dll'))
  • Fixed #34: usage of PHP5.6-specific feature replaced to 5.4-compatible.
  • Fixed #36: fixed a lot of warnings on functions usage checker.
  • Fixed #38: invokeArgs() does not throw warnings with arguments passed by reference.
  • Fixed #39: skipped files added to result.
  • Fixed #40: checker for used identifiers is not case-insensitive.
  • Fixed #41: ini_get() does not throw warnings now.
2.0.17

Fixed bugs in checks.

2.0.16
  • Added checks for PHP 7.3.
2.0.15
  • Added option --skip-checks to exclude some checks
  • Improved check for PHP4 constructors, fixed preg_replace check and little fixes (@fwolfsjaeger)
2.0.14

Analyzer:

  • Allow to configure parsable file extensions (--file-extensions).
  • Fixed false-positive alarm when a class has a static method with the same name as class (e.g. Widget::widget). It is mostly used as factory pattern.

Interface:

  • Hide errors when file does not exist.
  • Adjusted file path truncation in output.

Fixed:

  • Fixed getting terminal information on Windows, when printer or something similar is connected to computer.
2.0.13

Added section with notes.

2.0.12

Fixed php version requirement.

2.0.11

Fixed pass-by-reference call check.

2.0.10

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.
2.0.9

PHP 7.2 support.

2.0.8
2.0.7

Little update for phpcf for better portability.

2.0.6

Changed size of output table to fit in terminal.

2.0.5

Fixed phpcf failing on Class::class construction.

2.0.4
  • Fixed checking password_hash() w/o third argument.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky