2017 © Pedro Peláez
 

library php7-checker

Detect parts of your code that should be updated to be PHP7 compatible

image

jolicode/php7-checker

Detect parts of your code that should be updated to be PHP7 compatible

  • Monday, August 31, 2015
  • by pyrech
  • Repository
  • 16 Watchers
  • 12 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php7-checker

This project is now deprecated in favor of php7cc., (*1)

~~php7-checker is a PHP library that parses your code and statically detects some errors that could prevent it to run on PHP7.~~, (*2)

~~Disclamer: this tool is a static analyzer. As it doesn't run your code it's far from being 100% reliable. If you need to ensure that some code will run on PHP 7, nothing will do a better job than a complete test suite run on the targeted version of PHP. If you want to test it locally (f.e. because your code is not open source), you can still have a look to JoliCi.~~, (*3)

Installation

Globally (Composer)

To install php7-checker, install Composer and issue the following command:, (*4)

./composer.phar global require jolicode/php7-checker

Then, make sure you have ~/.composer/vendor/bin in your PATH, and you're good to go:, (*5)

export PATH="$PATH:$HOME/.composer/vendor/bin"

Usage

You can run the checker on a given file or directory:, (*6)

php7-checker /path/to/dir
php7-checker /path/to/file

Further documentation

Discover more by reading the docs:, (*7)

You can see the current and past versions using one of the following:, (*8)

And finally some meta documentation:, (*9)

Credits

License

php7-checker is licensed under the MIT License - see the LICENSE file for details., (*10)

The Versions

31/08 2015

dev-master

9999999-dev

Detect parts of your code that should be updated to be PHP7 compatible

  Sources   Download

MIT

The Requires

 

The Development Requires

check php7 compatible