A new migration wizard will effortlessly migrate all your @phpstan-ignore-line and @phpstan-ignore-next-line to the new @phpstan-ignore comment style with error identifiers. The old comment style is dangerous because it ignores all errors, current and future, on that line.
Revamped UI for much more comfortable viewing and browsing of reported errors
The new UI also lets you browse ignored errors, from ignoreErrors, from your baseline and also ignored locally in source code using comments
Streaming errors during launch: You don't have to wait for the analysis to complete, you can see errors as they come in during the analysis
Support for mapping file paths to the host filesystem when running in Docker or remotely
Try it out by running PHPStan with --pro CLI option
Checking truthiness of @phpstan-pure above functions and methods
Check new/function call/method call/static method call on a separate line without any side effects even without @phpstan-pure PHPDoc tag on the declaration side
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:
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 all group with 3 updates: phpstan/phpstan, phpstan/phpstan-strict-rules and rector/rector.
Updates
phpstan/phpstan
from 1.10.67 to 1.11.0Release notes
Sourced from phpstan/phpstan's releases.
... (truncated)
Commits
666cb17
PHPStan 1.11.02871964
PHPStan 1.11 With Error Identifiers, PHPStan Pro Reboot and Much Mored5a4746
Updated PHPStan to commit d5a4746e91feacdceffe66d00d4976ecaa4a96736c85acc
Updated PHPStan to commit 6c85acc5c209b52fad7e6eaafa6d09d96e5550420463255
Updated PHPStan to commit 046325529b05150ca8b76e408faf8bf1deb6c29549498ce
Updated PHPStan to commit 49498ce062e1c0844be5b9d506ea53dbbf5354d2783d9bb
Update BACKERS.md39ce042
Updated PHPStan to commit 39ce0425737cdbacfee5fbc08160d023cb5bc63973521c3
Updated PHPStan to commit 73521c30c5f057305ece7ef67fc0cd448768a1567069037
merge.php - output identifier stats into stderrUpdates
phpstan/phpstan-strict-rules
from 1.5.5 to 1.6.0Release notes
Sourced from phpstan/phpstan-strict-rules's releases.
Commits
363f921
Update lock-closed-issues.ymlbd4fada
Merge remote-tracking branch 'origin/1.5.x' into 1.6.xc7b4d28
Merge remote-tracking branch 'origin/1.5.x' into 1.6.x1a51fae
Merge remote-tracking branch 'origin/1.5.x' into 1.6.xb5233d5
Fix buildd0dc2f0
Update README.md85fdc50
Merge remote-tracking branch 'origin/1.5.x' into 1.6.x3d0ba5f
Merge remote-tracking branch 'origin/1.5.x' into 1.6.x3d33475
Fix UselessCastRuleTest.2bc3967
Update metcalfc/changelog-generator action to v4.3.1Updates
rector/rector
from 1.0.4 to 1.0.5Release notes
Sourced from rector/rector's releases.
Commits
73eb63e
Rector 1.0.5322f3ad
Updated Rector to commit 48fc55d89350f24521a197c04b5512452a3b50fcfe89136
Updated Rector to commit 558f44d5939be4314d76f4850a34be3590e65bfdf7723ed
Updated Rector to commit ef84a1a722c39839de1bcd79e0d3558b3e7d935ded1310b
Updated Rector to commit acb0b5d3ad760e7253fb6f49b4047ec6226384d49da012c
Updated Rector to commit bb90e0bbafee5e47720d9fda8f7e46fad5bd90a2dcdff77
Updated Rector to commit 8371040f72445fda4e96f29783b5de5351524c8a582a864
Updated Rector to commit 650dcc6394c6df206772350e525311f8080e50772dc9d28
Updated Rector to commit 6649713eb98b016d5503163cd8cbea534ae61f2e5c55f54
Updated Rector to commit 4789b516d98b619f2e04900ab0ae442eb94a5348Dependabot 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