Conversation
|
If phpstan is the tool being kept, all repos should first migrate their prefixed annotations to |
|
We think that's fine, and we'll test that with a search and replace of |
|
@greg0ire I'm not opposed to remove Psalm at all. I just hinted that this replacement should be done in all projects (ideally before they stop using psalm) |
|
Yeah, thanks for pointing that out, it made us discuss it more in depth, and come to the conclusion that it would be nicer to try the change before merging this. This will be released as a major version, and projects that want to keep using Psalm can copy paste the code I'm removing. |
SenseException
left a comment
There was a problem hiding this comment.
I too use both tools in my OS projects and always got covered by one of them when the other put a blind eye to an issue. If every Doctrine project is okay with dropping psalm, we don't need a split in two separate workflows, which would be an alternative.
Does it matter if the replacements of psalm-annotations happen after a merge? I believed that these annotations were compatible to each of the two tools.
|
Okay, nevermind. I just saw #51 😅 |
|
Where was the discussion about dropping Psalm? |
|
@SenseException valid annotations are compatible with both tools. But reporting of invalid annotations is different, and you want invalid annotations in your own code to be reported by the tool you use. @ostrolucky probably at the gathering of part of the Doctrine team taking place these days. |
|
@stof you're correct, it's a discussion we had with @derrabus @alcaeus @GromNaN @beberlei @morozov . The reasons invoked were:
|
|
We need a rebase here. 🙂 |
|
Converted to draft for the time being. Out projects still rely on the Psalm job being present, so let's sort that out first. |
We have decided to stop running two static analysers on our repositories, because of the extra maintenance it causes to us.
0128d61 to
4b328b8
Compare
|
@derrabus I believe that's addressed now, for the most part. |
We have decided to stop running two static analysers on our repositories, because of the extra maintenance it causes to us.