BackwardCompatibilityCheck
BackwardCompatibilityCheck copied to clipboard
:ab: Tool to compare two revisions of a class API to check for BC breaks
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...
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...
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...
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...
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...
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()`...
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...
Take following example: ```php class Counter { private $count = 0; public function increment() : void { $this->count += 1; } public function count() : int { return $this->count; }...
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...