Skip to content

chore(deps): update phpstan packages to v2 (major)#86

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-phpstan-packages
Open

chore(deps): update phpstan packages to v2 (major)#86
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-phpstan-packages

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 11, 2024

This PR contains the following updates:

Package Change Age Confidence
phpstan/phpstan-phpunit ^1.1^2.0 age confidence
phpstan/phpstan-strict-rules ^1.0^2.0 age confidence

Release Notes

phpstan/phpstan-phpunit (phpstan/phpstan-phpunit)

v2.0.16

Compare Source

  • 6ab598e - DataProviderDataRule: Optimize hot path

v2.0.15

Compare Source

  • 0f6ba8e - DataProviderReturnTypeIgnoreExtension - ignore Iterator, Generator, IteratorAggregate too

v2.0.14

Compare Source

  • f7553d6 - Add support for createMockForIntersectionOfInterfaces

v2.0.13

Compare Source

  • 45bc1ad - Implement DynamicCallToAssertionIgnoreExtension
  • 590b84d - chore(deps): update wyrihaximus/github-action-get-previous-tag action to v2
  • 4d1d776 - Add keywords for static analysis in composer.json

v2.0.12

Compare Source

  • e4c5a22 - TestMethodsHelper - class methods cache
  • 80091f9 - TestMethodsHelper - speed-up by asking for immediate methods only

v2.0.11

Compare Source

  • 5e30669 - Perf: Refactor PHPUnitVersionDetector to use runtime reflection
  • 202afe9 - chore(deps): update github-actions

v2.0.10

Compare Source

  • 8d61a58 - Remove checkDataProviderData and introduce reportMissingDataProviderReturnType

v2.0.9

Compare Source

  • cda423c - Implement AttributeRequiresPhpVersionRule
  • 83b717d - ci: Add tests for PHP 8.5
  • 75ba948 - chore(deps): update actions/checkout action to v6

v2.0.8

Compare Source

  • 2fe9fbe - Fix AssertSameWithCountRule for recursive count()
  • d935297 - Fix "Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']"
  • 8532ceb - Make AssertSameNullExpectedRule auto-fixable
  • a4abfc1 - Use TypeSystem in AssertSameBooleanExpectedRule
  • 36cb9a6 - Make AssertSameBooleanExpectedRule auto-fixable
  • 450bfc0 - Added assertArrayHasKey() expectations
  • 033f690 - PHPUnit 9.x/10.x does not at all support named arguments from data-providers
  • 758d343 - Refactor PHPUnitVersionDetector to ease different major version checks
  • dd87f2e - Assert*Rules: Do cheap checks first (#​247)
  • 5c89d74 - Ignore missingType.iterableValue for data-providers
  • 1fbc321 - move analyse-paths into phpstan.neon
  • 11f3ada - Fix mutation testing on dev branch (#​244)
  • 53e33fc - Setup mutation testing
  • 12676a7 - One more test
  • c81e395 - Fix memory consumption in DataProviderDataRule
  • 61860a6 - Implement DataProviderDataRule
  • 39950c7 - Preparational refactoring for DataProviderDataRule
  • c54a269 - Narrow too wide return type
  • 9ec3fa9 - Modernize code examples in README.md
  • b1df1f5 - chore(deps): update actions/checkout action to v5
  • 1d7eb7e - chore(deps): update eomm/why-don-t-you-tweet action to v2

v2.0.7

Compare Source

  • 9a9b161 - Make AssertEqualsIsDiscouragedRule auto-fixable
  • 2e07610 - Check isFirstClassCallable before accessing getArgs
  • 22c6949 - Make phpunit.dataProviderStatic auto-fixable
  • d35895e - chore(deps): update metcalfc/changelog-generator action to v4.6.2

v2.0.6

Compare Source

  • 6b92469 - Fix build
  • 0aef32f - Improve logic MockMethodCallRule to search for method even on wrong type

v2.0.5

Compare Source

  • 4d2b44b - InvocationMocker class no longer exists
  • 1f36fc5 - Use DataProvider attribute
  • bf031ae - Test PHPUnit v12
  • 40fbbc1 - chore(deps): update metcalfc/changelog-generator action to v4.5.0
  • 1a07095 - Add non regression test for #​222
  • eb88670 - Always install nikic/php-parser v5
  • 19f8059 - Do not generate code coverage
  • 630aa99 - Remove deprecated assert
  • 342b6c1 - Data providers must be static
  • 846d161 - Test multiple PHPUnit versions
  • 855b82c - Remove config.platform
  • 0f857bf - Introduce phpstan-deprecation-rules
  • 17bbfd3 - Update LICENSE

v2.0.4

Compare Source

  • d09e152 - Fix error message for "assertNotEquals" usage referencing "assertSame" and "assertEquals"

v2.0.3

Compare Source

  • e32ac65 - Support assertNotEquals in AssertEqualsIsDiscouragedRule

v2.0.2

Compare Source

  • 2cedfb7 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
  • 10880da - Implement AssertEqualsIsDiscouragedRule (#​216)
  • 4b6ad7f - Fix
  • bec49ea - Merge branch '1.4.x' into 2.0.x
  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x

v2.0.1

Compare Source

  • 4b6ad7f - Fix
  • bec49ea - Merge branch '1.4.x' into 2.0.x
  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x

v2.0.0

Compare Source

  • 3cc8554 - Fixes after PHPStan update
  • 09e2d3b - Uncover everything behind the bleedingEdge flag
  • 4d861e0 - Fix after TypeSpecifier BC break
  • 3faa605 - Update build-cs
  • 953195d - Stop testing PHP 7.2 and 7.3
  • 7f1457f - Open 2.0.x
  • 146d9c3 - Test newer PHP versions
  • bb6bec0 - Pin build-cs
phpstan/phpstan-strict-rules (phpstan/phpstan-strict-rules)

v2.0.10

Compare Source

  • 1aba28b - Bleeding edge - set reportNonIntStringArrayKey to true

v2.0.9

Compare Source

  • b94a0b1 - Bleeding edge - Add operand types to DisallowedLooseComparisonRule error message
  • f6f5b3e - Update WyriHaximus/github-action-get-previous-tag action to v2
  • f602823 - Add keywords for static analysis in composer.json

v2.0.8

Compare Source

  • 1ed9e62 - Allow literal string dynamic property
  • 7493a9f - Update dessant/lock-threads action to v6
  • 796f9c9 - Update actions/checkout action to v6
  • 3dcd0b8 - Remove duplicate rules in Readme

v2.0.7

Compare Source

  • d6211c4 - enable checkStrictPrintfPlaceholderTypes
  • 6b78d53 - Update README.md
  • 0435aeb - Consolidate overwriteVariablesWithLoop rule details
  • e861638 - Simplify tests in which checkNullables is always true
  • 11b6403 - Simplify tests in which treatPhpDocTypesAsCertain is always true
  • b043bd8 - Simplify RequireParentConstructCallRule
  • 9f76a17 - Update actions/checkout action to v5
  • 2b69ec5 - Update Eomm/why-don-t-you-tweet action to v2

v2.0.6

Compare Source

  • f9f77ef - Add numeric check on unary plus and unary minus

v2.0.5

Compare Source

  • 1f1358d - UselessCastRule: do cheaper check first
  • 73c5baa - Update metcalfc/changelog-generator action to v4.6.2
  • f203fec - Match Rule Descriptions with Configuration Parameters in README.md
  • 3ecc310 - Use relative links for rules.neon
  • 04f299f - Update metcalfc/changelog-generator action to v4.5.0

v2.0.4

Compare Source

v2.0.3

Compare Source

  • 8b88b5f - Deprecated parent constructor must not be called

v2.0.2

Compare Source

  • 02277ce - Merge remote-tracking branch 'origin/1.6.x' into 2.0.x
  • ed6fea0 - Added strictRulesInstalled parameter
  • a4a6a08 - Remove dead test because of raised min-php version
  • b60bffc - Fix
  • 5d50bde - Fix
  • 0368403 - Fix
  • 1721dbf - Fix after PHPStan update
  • e208c93 - Fix after PHPStan update
  • 63956f7 - Moved illegalConstructorMethodCall rules from phpstan to phpstan-strict-rules
  • ad53bd9 - Remove options removed in PHPStan 2.0
  • 914b5e3 - Everything from Bleeding Edge enabled
  • 988fab9 - Add more separate rule toggles
  • e227ffd - Merge remote-tracking branch 'origin/1.6.x' into 2.0.x
  • 90006f2 - Merge branch '1.6.x' into 2.0.x
  • 1062d48 - Fix
  • 5eec39f - Set polluteScopeWithBlock to false
  • 8e2c8b0 - Fix deprecations
  • 1ccec91 - Remove unnecessary dependency on nikic/php-parser
  • f8092f9 - Update build-cs
  • f647999 - Stop testing PHP 7.2 and 7.3
  • f6fb84e - Open 2.0.x

v2.0.1

Compare Source

  • ed6fea0 - Added strictRulesInstalled parameter

v2.0.0

Compare Source

  • a4a6a08 - Remove dead test because of raised min-php version
  • b60bffc - Fix
  • 5d50bde - Fix
  • 0368403 - Fix
  • 1721dbf - Fix after PHPStan update
  • e208c93 - Fix after PHPStan update
  • 63956f7 - Moved illegalConstructorMethodCall rules from phpstan to phpstan-strict-rules
  • ad53bd9 - Remove options removed in PHPStan 2.0
  • 914b5e3 - Everything from Bleeding Edge enabled
  • 988fab9 - Add more separate rule toggles
  • e227ffd - Merge remote-tracking branch 'origin/1.6.x' into 2.0.x
  • 90006f2 - Merge branch '1.6.x' into 2.0.x
  • 1062d48 - Fix
  • 5eec39f - Set polluteScopeWithBlock to false
  • 8e2c8b0 - Fix deprecations
  • 1ccec91 - Remove unnecessary dependency on nikic/php-parser
  • f8092f9 - Update build-cs
  • f647999 - Stop testing PHP 7.2 and 7.3
  • f6fb84e - Open 2.0.x

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from drupol as a code owner November 11, 2024 10:05
@what-the-diff
Copy link

what-the-diff bot commented Nov 11, 2024

PR Summary

  • Upgrade of PHPStan PHPUnit version
    The version of phpstan/phpstan-phpunit, a tool we use to make sure our code is correct and efficient, has been updated from version ^1.1 to the more advanced version ^2.0.

  • Upgrade of PHPStan Strict Rules version
    The version of phpstan/phpstan-strict-rules, a system we use to enforce quality and consistency in our code, has been upgraded from version ^1.0 to the more up-to-date version ^2.0. This means our code will now adhere to a more stringent and advanced set of rules, resulting in greater software quality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants