myparcelnl / woocommerce

MyParcel plug-in for WooCommerce
https://developer.myparcel.nl/nl/documentatie/10.woocommerce.html
MIT License
13 stars 22 forks source link

build(deps-dev): bump phpstan/phpstan from 1.12.3 to 1.12.7 #1180

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps phpstan/phpstan from 1.12.3 to 1.12.7.

Release notes

Sourced from phpstan/phpstan's releases.

1.12.7

Major new features 🚀

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

1.12.6

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:

includes:
</tr></table> 

... (truncated)

Commits
  • dc2b997 PHPStan 1.12.7
  • 247ae64 Updated PHPStan to commit 247ae64eaa4126e6fd9bca563d71ac95080392cf
  • e802b85 Updated PHPStan to commit e802b85aa2cecf243410c41464e632ca58eaa658
  • dc5d8f4 Updated PHPStan to commit dc5d8f4d3eef18b1d80b8ffb3a1adfe8de6d7268
  • 40e461d Updated PHPStan to commit 40e461d2e8dff171cdf588e380eb20e782e94eb1
  • 3128f26 Updated PHPStan to commit 3128f266461cdcb559672e8519db7643666c669a
  • 107a7e3 Updated PHPStan to commit 107a7e38e2173d8b8b4f18e5d592fc8ead02b96a
  • 856208a Updated PHPStan to commit 856208a53b3b1c4eada01f7e4892573d756cdf3f
  • ff75213 Updated PHPStan to commit ff7521302711c2eca765d47f8606179f0ca0d19b
  • 66664bb Updated PHPStan to commit 66664bb612b4cfb4e8a870f5d11f5af731f5e21a
  • Additional commits viewable in compare view


Dependabot compatibility score

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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 1 month ago

:x: 34 Tests Failed:

Tests completed Failed Passed Skipped
238 34 204 0
View the full list of 3 :snowflake: flaky tests > > ``` > Tests.Unit.Migration.Pdk.ProductSettingsMigrationTest::it migrates pre v5.0.0 product settings with data set "product that fits in mailbox a bazillion times" > ``` > > **Flake rate in main:** 62.30% (Passed 138 times, Failed 228 times) >
Stack Traces | 0.00399s run time > > > > > ``` > > .../Migration/Pdk/ProductSettingsMigrationTest.php::it migrates pre v5.0.0 product settings with data set "product that fits in mailbox a bazillion times" > > Failed asserting that '{"meta":[{"id":0,"key":"_myparcelnl_product_settings","value":{"countryOfOrigin":-1,"customsCode":-1,"disableDeliveryOptions":-1,"dropOffDelay":-1,"exportAgeCheck":-1,"exportHideSender":-1,"exportInsurance":-1,"exportLargeFormat":-1,"exportOnlyRecipient":-1,"exportReturn":-1,"exportSignature":-1,"exportTracked":-1,"fitInDigitalStamp":-1,"fitInMailbox":-1,"packageType":-1}},{"id":0,"key":"_myparcelnl_migrated","value":["5.0.0-alpha.1"]}],"product":{"id":"product","countryOfOrigin":-1,"customsCode":-1,"disableDeliveryOptions":-1,"dropOffDelay":-1,"exportAgeCheck":-1,"exportHideSender":-1,"exportInsurance":-1,"exportLargeFormat":-1,"exportOnlyRecipient":-1,"exportReturn":-1,"exportSignature":-1,"exportTracked":-1,"fitInDigitalStamp":-1,"fitInMailbox":-1,"packageType":-1},"parentProduct":null}' matches JSON string "{"meta":[{"id":0,"key":"_myparcelnl_product_settings","value":{"countryOfOrigin":-1,"customsCode":-1,"disableDeliveryOptions":-1,"dropOffDelay":-1,"exportAgeCheck":-1,"exportHideSender":-1,"exportInsurance":-1,"exportLargeFormat":-1,"exportOnlyRecipient":-1,"exportReturn":-1,"exportSignature":-1,"fitInDigitalStamp":-1,"fitInMailbox":-1,"packageType":-1}},{"id":0,"key":"_myparcelnl_migrated","value":["5.0.0-alpha.1"]}],"product":{"id":"product","countryOfOrigin":-1,"customsCode":-1,"disableDeliveryOptions":-1,"dropOffDelay":-1,"exportAgeCheck":-1,"exportHideSender":-1,"exportInsurance":-1,"exportLargeFormat":-1,"exportOnlyRecipient":-1,"exportReturn":-1,"exportSignature":-1,"fitInDigitalStamp":-1,"fitInMailbox":-1,"packageType":-1},"parentProduct":null}". > > > > Snapshots can be updated by passing `-d --update-snapshots` through PHPUnit's CLI arguments. > > --- Expected > > +++ Actual > > @@ @@ > > "exportOnlyRecipient": -1, > > "exportReturn": -1, > > "exportSignature": -1, > > + "exportTracked": -1, > > "fitInDigitalStamp": -1, > > "fitInMailbox": -1, > > "packageType": -1 > > @@ @@ > > "exportOnlyRecipient": -1, > > "exportReturn": -1, > > "exportSignature": -1, > > + "exportTracked": -1, > > "fitInDigitalStamp": -1, > > "fitInMailbox": -1, > > "id": "product", > > > > .../src/Drivers/JsonDriver.php:35 > > .../phpunit-snapshot-assertions/src/Snapshot.php:55 > > .../phpunit-snapshot-assertions/src/MatchesSnapshots.php:187 > > .../phpunit-snapshot-assertions/src/MatchesSnapshots.php:56 > > .../phpunit-snapshot-assertions/src/MatchesSnapshots.php:93 > > .../src/Support/Reflection.php:38 > > .../src/Support/HigherOrderMessage.php:95 > > .../src/Support/HigherOrderTapProxy.php:81 > > .../pest-plugin-snapshots/src/Functions.php:31 > > .../Migration/Pdk/ProductSettingsMigrationTest.php:156 > > .../src/Factories/TestCaseFactory.php:151 > > .../src/Concerns/Testable.php:301 > > .../src/Support/ExceptionTrace.php:29 > > .../src/Concerns/Testable.php:302 > > .../src/Concerns/Testable.php:278 > > .../src/Console/Command.php:119 > > .../pest/bin/pest:61 > > .../pest/bin/pest:62 > > ``` > >
Tests.Unit.Pdk.Hooks.PdkProductSettingsHooksTest::it saves product data correctly with data set &quot;change all settings&quot;

Flake rate in main: 62.30% (Passed 138 times, Failed 228 times)

Stack Traces | 0.00403s run time > > ``` > .../Pdk/Hooks/PdkProductSettingsHooksTest.php::it saves product data correctly with data set "change all settings" > Failed asserting that two arrays are equal. > --- Expected > +++ Actual > @@ @@ > 'fitInMailbox' => 12 > 'packageType' => 'digital_stamp' > 'exportHideSender' => -1 > + 'exportTracked' => -1 > ) > > .../pest/src/Expectation.php:497 > .../Pdk/Hooks/PdkProductSettingsHooksTest.php:59 > .../src/Factories/TestCaseFactory.php:151 > .../src/Concerns/Testable.php:301 > .../src/Support/ExceptionTrace.php:29 > .../src/Concerns/Testable.php:302 > .../src/Concerns/Testable.php:278 > .../src/Console/Command.php:119 > .../pest/bin/pest:61 > .../pest/bin/pest:62 > ```
Tests.Unit.Migration.Pdk.ProductSettingsMigrationTest::it migrates pre v5.0.0 product settings with data set &quot;simple product for mailbox too heavy&quot;

Flake rate in main: 62.30% (Passed 138 times, Failed 228 times)

Stack Traces | 0.00421s run time > > ``` > .../Migration/Pdk/ProductSettingsMigrationTest.php::it migrates pre v5.0.0 product settings with data set "simple product for mailbox too heavy" > Failed asserting that '{"meta":[{"id":0,"key":"_virtual","value":"no"},{"id":0,"key":"_weight","value":2.1},{"id":0,"key":"_myparcelnl_product_settings","value":{"countryOfOrigin":-1,"customsCode":-1,"disableDeliveryOptions":-1,"dropOffDelay":-1,"exportAgeCheck":-1,"exportHideSender":-1,"exportInsurance":-1,"exportLargeFormat":-1,"exportOnlyRecipient":-1,"exportReturn":-1,"exportSignature":-1,"exportTracked":-1,"fitInDigitalStamp":-1,"fitInMailbox":-1,"packageType":-1}},{"id":0,"key":"_myparcelnl_migrated","value":["5.0.0-alpha.1"]}],"product":{"id":"product","countryOfOrigin":-1,"customsCode":-1,"disableDeliveryOptions":-1,"dropOffDelay":-1,"exportAgeCheck":-1,"exportHideSender":-1,"exportInsurance":-1,"exportLargeFormat":-1,"exportOnlyRecipient":-1,"exportReturn":-1,"exportSignature":-1,"exportTracked":-1,"fitInDigitalStamp":-1,"fitInMailbox":-1,"packageType":-1},"parentProduct":null}' matches JSON string "{"meta":[{"id":0,"key":"_virtual","value":"no"},{"id":0,"key":"_weight","value":2.1},{"id":0,"key":"_myparcelnl_product_settings","value":{"countryOfOrigin":-1,"customsCode":-1,"disableDeliveryOptions":-1,"dropOffDelay":-1,"exportAgeCheck":-1,"exportHideSender":-1,"exportInsurance":-1,"exportLargeFormat":-1,"exportOnlyRecipient":-1,"exportReturn":-1,"exportSignature":-1,"fitInDigitalStamp":-1,"fitInMailbox":-1,"packageType":-1}},{"id":0,"key":"_myparcelnl_migrated","value":["5.0.0-alpha.1"]}],"product":{"id":"product","countryOfOrigin":-1,"customsCode":-1,"disableDeliveryOptions":-1,"dropOffDelay":-1,"exportAgeCheck":-1,"exportHideSender":-1,"exportInsurance":-1,"exportLargeFormat":-1,"exportOnlyRecipient":-1,"exportReturn":-1,"exportSignature":-1,"fitInDigitalStamp":-1,"fitInMailbox":-1,"packageType":-1},"parentProduct":null}". > > Snapshots can be updated by passing `-d --update-snapshots` through PHPUnit's CLI arguments. > --- Expected > +++ Actual > @@ @@ > "exportOnlyRecipient": -1, > "exportReturn": -1, > "exportSignature": -1, > + "exportTracked": -1, > "fitInDigitalStamp": -1, > "fitInMailbox": -1, > "packageType": -1 > @@ @@ > "exportOnlyRecipient": -1, > "exportReturn": -1, > "exportSignature": -1, > + "exportTracked": -1, > "fitInDigitalStamp": -1, > "fitInMailbox": -1, > "id": "product", > > .../src/Drivers/JsonDriver.php:35 > .../phpunit-snapshot-assertions/src/Snapshot.php:55 > .../phpunit-snapshot-assertions/src/MatchesSnapshots.php:187 > .../phpunit-snapshot-assertions/src/MatchesSnapshots.php:56 > .../phpunit-snapshot-assertions/src/MatchesSnapshots.php:93 > .../src/Support/Reflection.php:38 > .../src/Support/HigherOrderMessage.php:95 > .../src/Support/HigherOrderTapProxy.php:81 > .../pest-plugin-snapshots/src/Functions.php:31 > .../Migration/Pdk/ProductSettingsMigrationTest.php:156 > .../src/Factories/TestCaseFactory.php:151 > .../src/Concerns/Testable.php:301 > .../src/Support/ExceptionTrace.php:29 > .../src/Concerns/Testable.php:302 > .../src/Concerns/Testable.php:278 > .../src/Console/Command.php:119 > .../pest/bin/pest:61 > .../pest/bin/pest:62 > ```

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

dependabot[bot] commented 1 month ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.