Open
Conversation
5f06ba4 to
bd0b0d9
Compare
bd0b0d9 to
9f20596
Compare
9f20596 to
d847423
Compare
d847423 to
b02c3b5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.34->^3.0^1.10->^2.0^1.1->^2.0^1.0->^2.0^3.1->^4.0^2.5->^3.0Release Notes
pestphp/pest (pestphp/pest)
v3.7.4Compare Source
--compactoption to coveragev3.7.3Compare Source
v3.7.2Compare Source
v3.7.1Compare Source
v3.7.0Compare Source
v3.6.0Compare Source
Full Changelog: pestphp/pest@v3.5.2...v3.6.0
v3.5.2Compare Source
Full Changelog: pestphp/pest@v3.5.1...v3.5.2
v3.5.1Compare Source
Full Changelog: pestphp/pest@v3.5.0...v3.5.1
v3.5.0Compare Source
feat: support for nested describe blocks by @jshayes in https://github.com/pestphp/pest/pull/1295
fix: issue where a describe block will prevent a
beforeEachcall from executing by @jshayes in https://github.com/pestphp/pest/pull/1294v3.4.2Compare Source
Full Changelog: pestphp/pest@v3.4.1...v3.4.2
v3.4.1Compare Source
chore: uses stable versions of collision and termwind (with PHP 8.4 support)
v3.4.0Compare Source
feat: php v8.4 support
v3.3.2Compare Source
docs: fixes composer command by @AbdellahBoutmad in https://github.com/pestphp/pest/pull/1293
fix: missing policy suffix test by @olivernybroe in https://github.com/pestphp/pest/pull/1292
v3.3.1Compare Source
chore: bumps dependencies
v3.3.0Compare Source
feat: uses phpunit
v11.4.0.v3.2.5Compare Source
fix: missing
middlewaremethod on allowable public methods on controllers on laravel preset by @CamKem in https://github.com/pestphp/pest/pull/1280fix: strict types expectation to allows for comments above declaration by @midnite81 in https://github.com/pestphp/pest/pull/1279
v3.2.4Compare Source
fix:
App\Exceptions\Handlerignored on laravel presetv3.2.3Compare Source
feat: laravel preset now ignores concerns on App\Enums and App\Features by @jeremynikolic in https://github.com/pestphp/pest/pull/1275
v3.2.2Compare Source
fix: auto-complete on
->presetmethodv3.2.1Compare Source
fix: fix: missing
!=and!==on newtoUseStrictEqualityarch expectationv3.2.0Compare Source
feat: adds
toUseStrictEqualityarch expectationv3.1.0Compare Source
feat: adds
mutatesfunction. https://pestphp.com/docs/mutation-testingv3.0.8Compare Source
fix:
todocalls withintson parametersv3.0.7Compare Source
chore: bumps phpunit version
fix: update assignee URL for Jira by @owenvoke in https://github.com/pestphp/pest/pull/1254
v3.0.6Compare Source
fix: team city usage on phpstorm. https://github.com/pestphp/pest/issues/1236
v3.0.5Compare Source
fix: parallel mutation testing when using Laravel Herd
v3.0.4Compare Source
fix:
afterEachbeing called twice. https://github.com/pestphp/pest/issues/1230v3.0.3Compare Source
fix:
pest()->printer()method wrongly named. https://github.com/pestphp/pest/issues/1229v3.0.2Compare Source
--processesbeing ignored when running mutate on parallel. https://github.com/pestphp/pest/issues/1228v3.0.1Compare Source
--coveragenot working on non-parallel mode. https://github.com/pestphp/pest/issues/1223v3.0.0Compare Source
Please consult the upgrade guide and release notes in the official Pest documentation.
phpstan/phpstan (phpstan/phpstan)
v2.1.6Compare Source
Improvements 🔧
//(https://github.com/phpstan/phpdoc-parser/pull/264), https://github.com/phpstan/phpdoc-parser/issues/184, thanks @shmax!Bugfixes 🐛
Internals 🔍
v2.1.5Compare Source
Improvements 🔧
array<value-of<MyEnum::FIRST>, X>to create an array shape where the key is backed enum case valueBugfixes 🐛
GenericStaticTypein@phpstan-self-out, use@phpstan-self-outtype when returning$this(phpstan/phpstan-src@dab99cb), #12575, #12548, #8439, #8316, #8275@phpstan-self-outwith GenericStaticType when method is called on$this(phpstan/phpstan-src@cf64761)v2.1.4Compare Source
Improvements 🔧
Bugfixes 🐛
Function signature fixes 🤖
falseto alltrader_*functions return type (#3815), thanks @rabol!v2.1.3Compare Source
If you're using
larastan/larastanPHPStan extension, please update to version 3.0.4 alongside PHPStan 2.1.3 for improved compatibility with the new genericstatic<...>type. Thank you.This release includes fixes and improvements from PHPStan 1.12.17. Most impportantly it introduces GenericStaticType - support for
static<...>(#1289), #12485, #11398, #10417, #9807, #9449, #8623, #5512Improvements 🔧
->getAttributes()on any thinkable reflection object, including$scope->getFunction()and you'll get a new PHPStan's AttributeReflection class: https://apiref.phpstan.org/2.1.x/PHPStan.Reflection.AttributeReflection.htmlBugfixes 🐛
ReflectionClass::isSubclassOf()with invariant@template T(phpstan/phpstan-src@4f2af3b), #12473array_combine()args must have the same number of elements (ondrejmirtes/BetterReflection@36f3291), #12327Function signature fixes 🤖
Imagick::getConfigureOptions()returns array instead of string (#3801), thanks @blankse!Internals 🔍
phpstanPlayground.configParametererrors (phpstan/phpstan-src@71d0327)v2.1.2Compare Source
Improvements 🔧
Bugfixes 🐛
Function signature fixes 🤖
falseto the return type (#3730), thanks @sreichel!samesitecookie argument precision (phpstan/phpstan-src@a54cdb0)Internals 🔍
ConstantArrayType::findTypeAndMethodNames()used only once (phpstan/phpstan-src@30b9cd8)v2.1.1Compare Source
Improvements 🔧
getNextStatementsin UnreachableStatementNode (#3745), thanks @samsonasik!@phpstan-consistent-constructor(#3687), #12137, thanks @herndlm!checkUninitializedPropertiesis enabled (phpstan/phpstan-src@ca86412)Bugfixes 🐛
Internals 🔍
propertyNameattributev2.1.0Compare Source
Read all about this release on PHPStan's blog!
Major new features 🚀
#[Deprecated]attribute (RFC)Bleeding edge 🔪
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
Improvements 🔧
#[AllowDynamicProperties](#3738), #12281, thanks @staabm!parent::(phpstan/phpstan-src@41837b4)Bugfixes 🐛
preg_match()group containing start/end meta characters (#3740), #12297, thanks @staabm!Internals 🔍
In*Nodevirtual nodes for more precise Scope phpstan/phpstan-src@90e48fa)Scope::getConstantinstead (#3666), thanks @staabm!v2.0.4Compare Source
This release includes improvements and fixes from PHPStan 1.12.13.
Improvements 🔧
strictRulesInstalledparameter (#3729), thanks @staabm!Bugfixes 🐛
htmlspecialcharsandhtmlentitiesbeingnon-empty-stringwithout ENT_SUBSTITUTE flag (#3710), #12021, thanks @jack-worman!Function signature fixes 🤖
fgetcsvreturn type; never returns null (#3712), thanks @janedbal!apcu_cache_infoandapcu_sma_infosignatures (#3726, phpstan/phpstan-src@e7e8093), thanks @vindic!Internals 🔍
v2.0.3Compare Source
This release includes improvements and fixes from PHPStan 1.12.12.
Bleeding edge 🔪
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
Improvements 🔧
Bugfixes 🐛
in_array(#3646), #12083, thanks @janedbal!Function signature fixes 🤖
Internals 🔍
Scope::getPhpVersion()(#3642), thanks @staabm!Printer::__construct()(#3680), thanks @samsonasik!v2.0.2Compare Source
Improvements 🔧
diagnosecommand (#3609), thanks @staabm!phpVersion.minandmaxin VersionCompareFunctionDynamicReturnTypeExtension (#3631), thanks @staabm!Internals 🔍
v2.0.1Compare Source
Bugfixes 🐛
v2.0.0Compare Source
Read more about PHPStan 2.0.
Check out the UPGRADING guide!.
Buy the PHPStan elephpant and T-shirts!
Major new features 🚀
mixedtypes strictly, not just explicitmixedlisttype (#1751), #3311, #8185, #6243, thanks @rvanvelzen!@readonlyrule that disallows default values (#1391), thanks @herndlm!@phpstan-consistent-constructor(#1296), thanks @canvural!is_a()orclass_parents()(phpstan/phpstan-src@c4a662a)new ReflectionMethod()(phpstan/phpstan-src@5363066)instanceofof classes not covered by backward compatibility promise (phpstan/phpstan-src@ff4d02d)instanceofof classes covered by backward compatibility promise but where the assumption might change (phpstan/phpstan-src@996bc69)@phpstan-self-out(phpstan/phpstan-src@6838669)@param-out(phpstan/phpstan-src@30c4b9e), #10260@param-closure-this(phpstan/phpstan-src@2fa539a), #10933@vartag type against native type (phpstan/phpstan-src@a69e3bc)reportWrongPhpDocTypeInVarTagtotrueto have all types validated, not just native onesreportAnyTypeWideningInVarTag: truefor stricter behaviour (#2840), thanks @janedbal!@phpstan-pureabove functions and methodsPHPStan\Type\Typeinterface via@var(phpstan/phpstan-src@713b98f), https://github.com/nunomaduro/larastan/issues/1567#issuecomment-1460445389@mixinPHPDoc tag above traits (phpstan/phpstan-src@0d0de94)@extends,@implements,@usefor unresolvable types (phpstan/phpstan-src@2bb5282), #11552@methodtags (phpstan/phpstan-src@5b7e474)@method@templatetags above traits (phpstan/phpstan-src@aadbf62)@propertytags (phpstan/phpstan-src@55ea2ae), #10752, #9356var_exportwithout$return=true(#3225), #11320, thanks @staabm!new/function call/method call/static method call on a separate line without any side effects even without@phpstan-purePHPDoc tag on the declaration sidecall_user_func()(#2479), thanks @staabm!array_filter()calls (#1077), #6840, thanks @leongersen!array_values()calls (#2917), thanks @kamil-zacek!@no-named-arguments(phpstan/phpstan-src@74ba8c2), #5968@phpstan-self-out(phpstan/phpstan-src@892b319)@mixin(phpstan/phpstan-src@3175c81)polluteScopeWithBlock(defaults totrue,falseinphpstan-strict-rules) (phpstan/phpstan-src@946cf18)@readonlyproperty and@immutableclass PHPDoc (#1295, #1335), #4082, thanks @herndlm!instanceof *Typein favour of new methods onTypeinterface, (phpstan/phpstan-src@436e6d3), learn more: Why Is instanceof *Type Wrong and Getting Deprecated?Improvements 🔧
exceptions.check.tooWideThrowTypemade true by default (phpstan/phpstan-src@1b1da3e)implicitThrowsto only look for explicit throw points in too-wide@throwsrules when set tofalse(phpstan/phpstan-src@a0e688c)GenericObjectType(#2818, #2821)Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.