pear / Services_Openstreetmap

Makes communicating with the Open Street Map API, and Nominatim, from PHP intuitive.
https://pear.php.net/package/Services_OpenStreetMap/
BSD 3-Clause "New" or "Revised" License
199 stars 53 forks source link

Bump rector/rector from 0.8.7 to 0.18.12 #226

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 7 months ago

Bumps rector/rector from 0.8.7 to 0.18.12.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.18.12

New Features :partying_face:

  • [CodeQuality] Add RemoveUselessIsObjectCheckRector (#5316)
  • [PHP83] Implements a rule to add types to class constants (#5290), Thanks @​peterfox!

Bugfixes :bug:

  • [TypeDeclaration] Skip iterable already there in AddReturnTypeDeclarationFromYieldsRector (#5291)
  • [TypeDeclaration] Remove ParamTypeFromStrictTypedPropertyRector as seems similar feature with AddParamTypeFromPropertyTypeRector (#5293)
  • [CodingStyle] Remove AddArrayDefaultToArrayPropertyRector as based on docblock types and public contract, better use type declaration set instad (#5298)
  • [TypeDeclaration] Skip return void in abstract empty class in AddVoidReturnTypeWhereNoReturnRector (#5311)
  • [Php80] Skip PDO::query() on AddParamBasedOnParentClassMethodRector (#5313)
  • [TypeDeclaration] Add If else assign support on TypedPropertyFromAssignsRector (#5314)
  • [CodeQuality] Make CommonNotEqualRector skip if not <> (#5292)
  • [Naming] Skip singularize "cms" on RenameForeachValueVariableToMatchExprVariableRector (#5294)
  • [TypeDeclaration][Performance] Check typed param already early on ParamTypeByMethodCallTypeRector (#5295)
  • [Strict] Fix DisallowedEmptyRuleFixerRector empty() allow string '0' check (#5296)
  • [EarlyReturn] Skip duplicating complex expression in ChangeAndIfToEarlyReturnRector (#5301)
  • [Scoped] Exclude symfony/console/Debug/CliRequest.php from parallel-lint PHP 7.2 syntax check (#5304)
  • Skip RenameMethodRector in never (#5305), Thanks @​staabm!
  • [CodeQuality] Skip with else on SimplifyForeachToCoalescingRector (#5307)
  • [Doc] Typo fix on sample code documentation on SimplifyForeachToCoalescingRector (#5308)
  • [Privatization] Skip call non-private method on non-final class on PrivatizeLocalGetterToPropertyRector (#5309)
  • [Privatization] Fix first class callable in PrivatizeLocalGetterToPropertyRector (#5310)
  • [TypeDeclaration] Keep constant false return type from strict native call (#5223), Thanks @​tomi85!
  • [PHP 7.0] Skip mt_rand() replacement as not valuable (#5315)
  • [Strict] Allow check '0' empty zero on BooleanInTernaryOperatorRuleFixerRector on string type (#5297)
  • Fix annotation to attribute parsing string (#5317)
  • [Instanceof] Fix combination of dead instance and compare (#5319)
  • Remove isPositiveInteger() check for third argument to strpos() (#5257), Thanks @​ikari7789!
  • Remove return type in case of void in RemoveUselessReturnTagRector (#5318)
  • [DeadCode] Skip @​return never with void on RemoveUselessReturnTagRector (#5320)
  • [DeadCode] Remove useless nullable @​return doc on RemoveUselessReturnTagRector (#5321)

Released Rector 0.18.11

Bugfixes :bug:

  • [DeadCode] Skip multi no stmts on RemoveDuplicatedCaseInSwitchRector (#5258)
  • [Performance][Renaming] Remove unnecessary array_reverse() on RenameClassRector (#5266)
  • [TypeDeclaration] Skip default not array type on StrictArrayParamDimFetchRector (#5259)
  • [TypeDeclaration] Skip echo-ed on StrictArrayParamDimFetchRector (#5260)
  • [Php71] Skip re-assigned as array on AssignArrayToStringRector (#5261)
  • [Php71] Ensure re-assign after definition on AssignArrayToStringRector (#5262)
  • [Renaming] Handle Rename no namespace to namespaced class with existing use statements (#5264)
  • [Renaming][Performance] Re-structure check namespace only on renamed node got Namespace_ (#5265)
  • [Php81] Skip increment/decrement on ReadOnlyPropertyRector (#5267)
  • [TypeDeclaration] Deprecate TypedPropertyFromStrictGetterMethodReturnTypeRector as depends on missing context and creates invalid code (#5269)

... (truncated)

Commits
  • ed8d535 Rector 0.18.12
  • 6cba206 Updated Rector to commit 80cf5781c3bf477076753e2a0c2890ae0ecbb4c1
  • ee373e6 Updated Rector to commit 41729c25cb33ec5219433d5e101d6d54ed4045a2
  • d9834a6 Updated Rector to commit 8e6d46a58fff8e6bd5276b9ae473bfb91460b487
  • ab4ff53 Updated Rector to commit 026398c9e1078cb3ac5cac41767b620872166859
  • 07dd432 Updated Rector to commit b8e6818ed04f3aa07218569509bd819db3649820
  • 7124cd0 Updated Rector to commit 055ab62e3fa14a1aaccd2a5e7f2a9fd354fbd600
  • e7fa7d1 Updated Rector to commit 18617f9880d098bceae210512c190c8d44aa7811
  • 9d01b5b Updated Rector to commit d9c5d8f09bfd68e7496c07c23ddac03447cfbb32
  • cd89d88 Updated Rector to commit e3f909cf030971b542c9c508298c729abb60eefe
  • 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)
sonarcloud[bot] commented 7 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

dependabot[bot] commented 6 months ago

Superseded by #228.