shopware / shopware/shopware

Introduce new PHPStan rule to check for native return types of methods

Open
#7,140 0 comments 0 reactions 1 assignee Claimed by @mitelg View on GitHub
component/core domain/framework priority/low
Dominant language
PHP
Stars
3.4k
Forks
1.2k
Avg merge
2d 23h
Merged PRs (30d)
433

Description

Similar to the rule, where we check if every property has a native type, a PHPStan rule should be implemented to check, if the return types have native types.
If not, those should be added, if needed with a deprecation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.