phpstan-laminas-framework icon indicating copy to clipboard operation
phpstan-laminas-framework copied to clipboard

Laminas Framework 3 extensions for PHPStan

Results 24 phpstan-laminas-framework issues
Sort by recently updated
recently updated
newest added

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/Slamdunk/phpstan-laminas-framework). ## Awaiting Schedule The following updates are...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [phpunit/phpunit](https://phpunit.de/) ([source](https://redirect.github.com/sebastianbergmann/phpunit)) | `^9.6.21` -> `^11.4.0` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/11.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

renovate

I don't know why but it's not loading some helpers. Is there something I should configure? ![image](https://user-images.githubusercontent.com/1959742/214391408-4c3d6e49-5574-42aa-9a4e-7c9239fbb374.png) `.neon` ![image](https://user-images.githubusercontent.com/1959742/214391624-d3130d22-55dc-4416-b6e4-1e1aca1f5f7d.png) `service-manager.php` ![image](https://user-images.githubusercontent.com/1959742/214392131-e1d648b1-b44c-4fe0-99cf-a571a46fb1a6.png)

When I run rector with this extension rector fails. Running phpstan works fine. Ping @samsonasik ``` [ERROR] Could not process "module/EcommerceApi/tests/integration/ElasticsearchProductsCollectionQueryTest.php" file, due to: "System error: "Unable to resolve service...

I have few modules which do someting like this: ```php class Module { public function onBootstrap(MvcEvent $event): void { $config = $event->getApplication()->getServiceManager()->get('config'); // .... } } ``` This code hangs...

I would like to check in specific cases that response is `Laminas\ApiTools\ApiProblem\ApiProblemResponse`, but: ``` Instanceof between Laminas\Http\PhpEnvironment\Response and Laminas\ApiTools\ApiProblem\ApiProblemResponse will always evaluate to false. ```

As you know, a zend-mvc view has fields that `__get` can return, used like this: ``` $page = $this->getView()->page; ``` PHPStan says `Access to an undefined property` which makes sense....

question

See https://github.com/Slamdunk/phpstan-laminas-framework/issues/5#issuecomment-582316400

Right now this PHPStan extension is not compatible with Laminas ServiceManager v4 which was released on March 4 2024: https://github.com/laminas/laminas-servicemanager/releases/tag/4.0.0 There's probably more to it than the obvious issue described...