-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phan: Allow deleting baseline files (#36857)
In many cases it's pointless to keep around the empty baseline files, ideally they should never be repopulated. Update the tooling to allow for these to be deleted, in which case they won't be re-created by `--update-baseline`. But in case for some reason one does need to be re-created, add a `--force-update-baseline` option to allow for that. Also update the GitHub Action checking for baseline changes to handle these, and also to handle changes in pseudo-project baselines that wasn't done in #36467. For the moment I'm only actually removing the empty baselines for stuff Garage maintains. We can look at the rest in a followup.
- Loading branch information
Showing
18 changed files
with
90 additions
and
174 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
.github/actions/tool-setup/composer-plugin/.phan/baseline.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
projects/packages/changelogger/changelog/add-phan-allow-removing-baselines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: removed | ||
Comment: Remove empty Phan baseline. No change to functionality. | ||
|
||
|
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
projects/packages/codesniffer/changelog/add-phan-allow-removing-baselines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: removed | ||
Comment: Remove empty Phan baseline. No change to functionality. | ||
|
||
|
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
projects/packages/ignorefile/changelog/add-phan-allow-removing-baselines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: removed | ||
Comment: Remove empty Phan baseline. No change to functionality. | ||
|
||
|
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
projects/packages/phpcs-filter/changelog/add-phan-allow-removing-baselines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: removed | ||
Comment: Remove empty Phan baseline. No change to functionality. | ||
|
||
|
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
projects/packages/stub-generator/changelog/add-phan-allow-removing-baselines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: removed | ||
Comment: Remove empty Phan baseline. No change to functionality. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.