BackwardCompatibilityCheck icon indicating copy to clipboard operation
BackwardCompatibilityCheck copied to clipboard

:ab: Tool to compare two revisions of a class API to check for BC breaks

Results 54 BackwardCompatibilityCheck issues
Sort by recently updated
recently updated
newest added

Fixes #374 NOTE - I have not tested this end to end - not entirely sure how to set up GPG to use the private key without nuking my own...

enhancement
github_actions

As per: https://twitter.com/s_bergmann/status/1475014835129757699 Looks like the "release-phar" action did not run (can't verify, I'm on phone) It should be triggered by creating the release. However, my guess is that because...

bug
help wanted

Functions that are otherwise working fine cannot have `trigger_error()` expressions added to them, as that: * breaks downstream consumers (output, loggers, test suites) * introduces an unwanted side-effected, which could...

enhancement
bc break

Hi, I've got these messages: ``` [BC] CHANGED: Default parameter value for parameter $nextAutoIndex of PHPStan\Type\Constant\ConstantArrayType#__construct() changed from 0 to array ( 0 => 0, ) [BC] CHANGED: The parameter...

bug
help wanted

Hi, I just noticed an oddity in the logic - the tool compares current HEAD against the last minor release, meaning even if there's 2.2.5, it will compare HEAD against...

enhancement
bc break

Assume we have the following class hierarchy: ```php class A { public function m(): void {} } class B extends A {} class C extends A {} ``` When `A::m()`...

enhancement
question

Because the PHP Archives (PHARs) of this tool are currently not signed, the `--force-accept-unsigned` option is required when using [Phive](https://phar.io/) to install/update this tool. Please consider signing the PHP Archives...

enhancement

Take following example: ```php class Counter { private $count = 0; public function increment() : void { $this->count += 1; } public function count() : int { return $this->count; }...

enhancement

It is confusing, at least to me, that this tool does not compare to the current state of the working copy and ignores uncommitted changes. ``` $ git status On...

enhancement