Fix checking generic mixed type based on config (#2885), thanks @schlndh!
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the composer group with 4 updates: phpmd/phpmd, phpstan/phpstan, squizlabs/php_codesniffer and szepeviktor/phpstan-wordpress.
Updates
phpmd/phpmd
from 2.14.1 to 2.15.0Release notes
Sourced from phpmd/phpmd's releases.
Changelog
Sourced from phpmd/phpmd's changelog.
Commits
74a1f56
Merge pull request #1053 from phpmd/release/2.15.0-release85f6e35
Fix release date00074e3
Merge pull request #1052 from phpmd/refactor/short-variable-nameb081e8b
Merge pull request #1051 from phpmd/cleanup-symfony-test60cc797
Merge pull request #1050 from phpmd/test/fix-coverage-class0755e76
Add changelog for PHPMD 2.15.041bb13c
Cleanup coverage annotation and PHPDoc typece02a27
Fix deprecation to pass null to strlen() in ShortMethodNamec386c2f
Cleanup no longer needed symfony downgrade step4a75765
Merge pull request #1049 from phpmd/fix/symfony-compatibilityUpdates
phpstan/phpstan
from 1.10.38 to 1.10.57Release notes
Sourced from phpstan/phpstan's releases.
... (truncated)
Commits
1627b1d
PHPStan 1.10.5711268e5
Updated PHPStan to commit 11268e5eebb2b147007fdc4902d91a34181755944d5bf20
Updated PHPStan to commit 4d5bf2049c124fb7cfbb2caa1f1ab32f2e2e8eb4a21253e
Update rector-srcfea5b69
Update bladestan7c75d21
Updated PHPStan to commit 7c75d210cfb3459e7e4f53b0a58d5ead7bdb8c968f82b79
Updated PHPStan to commit 8f82b799c5e65424d85a79ffdc60b3ea14d957316363932
Updated PHPStan to commit 6363932c56678f5d49a960f65b09fb2c11cd7dd3b60d12c
Updated PHPStan to commit b60d12cb8bbe9c7a9ee317ea998ae386836b75ba4e1bfac
Updated PHPStan to commit 4e1bfacafb0cd4a4dd89946d211205fb0ba9cef5Updates
squizlabs/php_codesniffer
from 3.7.2 to 3.8.1Commits
Updates
szepeviktor/phpstan-wordpress
from 1.3.0 to 1.3.2Release notes
Sourced from szepeviktor/phpstan-wordpress's releases.
Commits
b8516ed
Fix dynamic return type extension forwp_die()
(#204)78db560
Spellcheck dot filesaeab557
Upgrade Typosa523869
Synchronize with new stubs (#202)4ed6cf2
Add dynamic return type extension forwp_die()
(#201)76f7835
Add WP_PLUGIN_DIR constant (#193)e35941c
Upgrade Typos6eccde1
Remove unnecessary tests for mysql2date extension (#192)25605b7
Remove unnecessary tests for current_time extension (#191)679adfe
Fix _get_list_table extension (#190)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show