-
I was thinking it would be nice to try it before there is a full release. If I just upgrade api-platform/core, everything is working fine. However, if I follow release suggestions about replacing it w…
-
```php
class Test {
private Collection $collection;
/**
* @psalm-mutation-free
*/
public function test(): array
{
return $this->collection->toArra…
-
Introducing a static analysis tool would allow to have a layer similar to TypeScript's type checking.
[PHPStan](https://phpstan.org/) is a good option, but we would need to make sure it does not de…
-
**Package ecosystem**
`composer`
**Package manager version**
irrelevant
**Language version**
irrelevant
**Manifest location and content prior to update**
`/composer.json`
https://github.…
-
PHPUnit executes `setUp()` and other `@before` methods on each test run, so with regards to the test (`test*()` and `@test`) methods they behave more or less like a constructor.
When analyzing test…
-
GitHub Advanced Securityは、GitHub Actions+psalmとの組み合わせで PHPも解析できるみたい。
やってみたいなぁ。
https://github.com/githubevents/JapanMeetup/discussions/10#discussioncomment-527946
psalm
https://psalm.dev/
Act…
-
Psalm has a list of templated functions here:
https://github.com/vimeo/psalm/blob/master/src/Psalm/Internal/Stubs/CoreGenericFunctions.php
The big benefit of those is that they allow static anal…
-
### Bug Report
| Q | A
|------------ | ------
| Version(s) | 1.39.0
#### Summary
When Psalm is installed using [`psalm/phar`](https://packagist.org/packages/psalm/phar)…
-
👋 I noticed that my Codeception tests pass even if I expect a different type of error from psalm.
**Steps To Reproduce**
Write a gherkin test snippet and include `Then I see these errors` in the t…
-
Hello
we need something like this
```