2017 © Pedro Peláez
 

library php-symbol-diff

Identify changes in PHP code by symbol (class/method)

image

totten/php-symbol-diff

Identify changes in PHP code by symbol (class/method)

  • Saturday, May 5, 2018
  • by totten
  • Repository
  • 2 Watchers
  • 0 Stars
  • 2,443 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 9 % Grown

The README.md

php-symbol-diff

This command compares two PHP source files and identifies the names of any symbols (classes, functions, methods, properties) which were added, removed, or modified., (*1)

# Compare two files
php-symbol-diff old.php new.php

# Compare a file with an older revision in git
git show abcd1234:/some/file.php | php-symbol-diff /dev/stdin some/file.php

# Compare all the files in different git commits
git-php-symbol-diff v1.0 v1.1

# Compare all files in a subdirectory for different git commits
git-php-symbol-diff v1.0 v1.1 -- my/sub/dir

Testing

Run phpunit., (*2)

Tests are based on \PHPUnit_Framework_TestCase, which is no longer provided by the latest PHPUnit. The tests have been successfully with PHPUnit 3, 4, and 5., (*3)

The Versions

05/05 2018

dev-master

9999999-dev

Identify changes in PHP code by symbol (class/method)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tim Otten

06/08 2015

dev-delme2

dev-delme2

Identify changes in PHP code by symbol (class/method)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tim Otten

06/08 2015

dev-delme

dev-delme

Identify changes in PHP code by symbol (class/method)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tim Otten