Download the PHP package automattic/jetpack-analyzer without Composer

On this page you can find all versions of the php package automattic/jetpack-analyzer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of jetpack-analyzer with dependencies

Informations about the package jetpack-analyzer

Jetpack Code Analyzer

Analyzes public classes, methods, variables and functions to search for breaking changes between versions

Running

API

Declarations

This class represents a list of public declarations accumulated from one or more files.

Public declarations include:

Declarations can find each declaration by scanning files and directories using $declarations->scan( $dir, $exclude = array() ).

You can print, load, and save those declarations as CSV.

You can also generate a list of differences between old and new code bases, e.g. Jetpack 7.4 and Jetpack 7.5, using ->find_differences( $previous_declarations ), which returns an instance of Automattic\Jetpack\Analyzer\Differences.

You can use instances of Declarations as input to (new Differences())->find( $new_codebase, $old_codebase )

Supported declarations:

Differences

A list of differences can be used to check compatibity against a set of invocations.

This is performed by parsing any external file looking for invocations. If those invocations match any functions, methods, classes or properties that have been changed between the two Jetpack versions, then a list of warnings or errors will be produced.

Supported differences:

Invocations

A list of invocations of every relevant type:

This is ALL invocations of these types. To find just the invocations of missing/different functions, look at Warnings below.

Supported invocations:

Warnings

A list of warnings generated by comparing an Invocations object with a Differences object.

Supported warnings:


Version
Requires nikic/php-parser Version ^4.2

The package automattic/jetpack-analyzer contains the following files

Loading the files please wait ....