Skip to content

Update build-cs (major) - autoclosed #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 20, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
dealerdirect/phpcodesniffer-composer-installer (source) require-dev major ^0.7.0 -> ^1.0.0
slevomat/coding-standard require-dev major ^7.0 -> ^8.0

Release Notes

PHPCSStandards/composer-installer

v1.0.0

Compare Source

Breaking changes

What's Changed

CI / CD
Tests

New Contributors

Full Changelog: PHPCSStandards/composer-installer@v0.7.2...v1.0.0

slevomat/coding-standard

v8.8.0

Compare Source

🔧 Improvements

  • Support for unsealed array shapes
  • Allow for the 1.0.0 version of the Composer PHPCS plugin (thanks to @​jrfnl)

🐛 Fixes

  • SlevomatCodingStandard.Classes.RequireAbstractOrFinal: Fixed false positive for readonly classes
  • Fix typo in exception message (thanks to @​jslmorrison)

v8.7.1

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing: Fixed false positive when parameter has attribute but no type hint

v8.7.0

Compare Source

🔧 Improvements

  • Support for phpstan/phpdoc-parser 1.15
  • Support for phpstan/phpdoc-parser 1.14
  • SlevomatCodingStandard.Attributes.AttributesOrder: New option orderAlphabetically
  • SlevomatCodingStandard.Attributes.AttributesOrder: Attributes could be ordered by mask (thanks to @​alexndlm)

🐛 Fixes

  • SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing: Fixed fixer

v8.6.4

Compare Source

🔧 Improvements

  • Improved annotations parsing
  • SlevomatCodingStandard.Classes.ClassConstantVisibility: Added support for traits with constants
  • SlevomatCodingStandard.Classes.ConstantSpacing: Added support for traits with constants

🐛 Fixes

  • SlevomatCodingStandard.Attributes.DisallowAttributesJoining: Fix for attribute with trailing comma (thanks to @​javer)

v8.6.3

Compare Source

🐛 Fixes

  • Slevomat.Namespaces.ReferenceUsedNamesOnly: Fixed fixer when there's conflict with Slevomat.Namespaces.UnusedUses
  • SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for int<0, max> and int<min, 100>
  • SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing: Fixed false positive for comment after attribute

v8.6.2

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positive with self::CONSTANT

v8.6.1

Compare Source

🔧 Improvements

  • Support of phpstan/phpdoc-parser 1.12.0

🐛 Fixes

  • SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for global constants
  • SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration: Fixed false positives for constants

v8.6.0

Compare Source

🆕 New sniffs

  • Added SlevomatCodingStandard.Attributes.AttributesOrder
  • Added SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing
  • Added SlevomatCodingStandard.Attributes.DisallowMultipleAttributesPerLine
  • Added SlevomatCodingStandard.Attributes.DisallowAttributesJoining (thanks to @​michnovka)
  • Added SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment

🔧 Improvements

  • Support of phpstan/phpdoc-parser 1.11.0
  • Support for @phpstan-self-out/@phpstan-this-out
  • Support for @param-out annotation`
  • Support for @template with default value
  • Add dev Composer keyword (thanks to @​GaryJones)

🐛 Fixes

  • Improved detection of references in double quotes strings

v8.5.2

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed false positives when enableUnionTypeHint is disabled and enableIntersectionTypeHint is enabled
  • SlevomatCodingStandard.TypeHints.ParameterTypeHint: Fixed false positives when enableUnionTypeHint is disabled and enableIntersectionTypeHint is enabled
  • SlevomatCodingStandard.TypeHints.ReturnTypeHint: Fixed false positives when enableUnionTypeHint is disabled and enableIntersectionTypeHint is enabled

v8.5.1

Compare Source

🐛 Fixes

  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed broken fixer when enableAdvancedStringTypes is enabled

v8.5.0

Compare Source

🔧 Improvements

  • PHP 8.2: Support for standalone null, true and false type hints
  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: Improved support for native simple types
  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: New option enableIntegerRanges
  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: New option enableAdvancedStringTypes
  • Support of phpstan/phpdoc-parser 1.8.0

🐛 Fixes

  • SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed false positive
  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: Fixed false positive
  • SlevomatCodingStandard.ControlStructures.DisallowYodaComparison/RequireYodaComparison: Fixed support for condition in arrow function
  • SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition: Fixed false positives for old array definition style
  • SlevomatCodingStandard.Variables.UselessVariable: Fixed false positives

v8.4.0

Compare Source

🔧 Improvements

  • Support of phpstan/phpdoc-parser 1.7.0

🐛 Fixes

  • Fixed detection of some PHP 8.1 types
  • SlevomatCodingStandard.PHP.RequireNowdoc: Accepts escaped sequences (thanks to @​dg)
  • SlevomatCodingStandard.Functions.RequireSingleLineCall: Skip calls with multi-line double-quoted string (thanks to @​schlndh)
  • SlevomatCodingStandard.PHP.UselessParentheses: Fixed false positive with xor
  • SlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator: Try to ignore string offsets

v8.3.0

Compare Source

🆕 New sniffs

  • Added SlevomatCodingStandard.Complexity.Cognitive (thanks to @​bkdotcom)
  • Added SlevomatCodingStandard.Files.FileLength (thanks to @​bkdotcom)
  • Added SlevomatCodingStandard.Classes.ClassLength (thanks to @​bkdotcom)

🐛 Fixes

  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: Do not throw away static type (thanks to @​simPod)

v8.2.0

Compare Source

🆕 New sniffs

  • Added SlevomatCodingStandard.Classes.BackedEnumTypeSpacing

🔧 Improvements

  • SlevomatCodingStandard.TypeHints.ParameterTypeHint: MissingTraversableTypeHintSpecification is not reported when promoted property has @var annotation

v8.1.0

Compare Source

🔧 Improvements

  • SlevomatCodingStandard.Classes.PropertyDeclaration: New option checkPromoted to enable check of promoted properties
  • SlevomatCodingStandard.Classes.PropertyDeclaration: New option enableMultipleSpacesBetweenModifiersCheck to enable check of spaces between property modifiers
  • SlevomatCodingStandard.Classes.PropertyDeclaration: Improved error messages
  • SlevomatCodingStandard.Classes.ForbiddenPublicProperty: New option checkPromoted to enable check of promoted properties

🐛 Fixes

  • SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fix inconsistent enableIntersectionTypeHint (thanks to @​schlndh)

v8.0.1

Compare Source

🐛 Fixes

  • Group use statements are ignored - we don't support them
  • SlevomatCodingStandard.PHP.UselessParentheses: Fixed false positive
  • SlevomatCodingStandard.TypeHints.ParameterTypeHint: Fixed internal error (thanks to @​schlndh)

v8.0.0

Compare Source

🔧 Improvements

  • Support for intersection types
  • Support for readonly properties
  • Support for enums
  • Support for never type hint
  • Support for more unofficial type hints
  • SlevomatCodingStandard.Classes.PropertyDeclaration: Checks also order of modifiers
  • SlevomatCodingStandard.Classes.ClassStructure: Support for enum cases and readonly properties

🐛 Fixes

  • SlevomatCodingStandard.Classes.PropertyDeclaration: Fixed missing support for only static property
  • SlevomatCodingStandard.TypeHints.PropertyTypeHint: Fixed missing support for only static property
  • SlevomatCodingStandard.Commenting.EmptyComment: Fixed internal error
  • SlevomatCodingStandard.Classes.ForbiddenPublicProperty: Fixed internal error
  • SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Fixed false positives for @psalm-import-type in @psalm-var
  • SlevomatCodingStandard.PHP.RequireExplicitAssertion: Ignore unsupported unofficial type hints

⚠️BC breaks

  • SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing renamed to SlevomatCodingStandard.Classes.PropertyDeclaration
  • SlevomatCodingStandard.Classes.ClassStructure: Removed option enableFinalMethods
  • Removed error SlevomatCodingStandard.Namespaces.UnusedUses.MismatchingCaseSensitivity

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (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.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Jun 20, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: build-cs/composer.lock
Command failed: docker run --rm --name=RENOVATE_A_sidecar --label=RENOVATE_A_child -v "/tmp/worker/0e0570/a13276/repos/github/phpstan/phpstan-phpunit":"/tmp/worker/0e0570/a13276/repos/github/phpstan/phpstan-phpunit" -v "/tmp/worker/0e0570/a13276/cache":"/tmp/worker/0e0570/a13276/cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/0e0570/a13276/repos/github/phpstan/phpstan-phpunit/build-cs" docker.io/containerbase/sidecar bash -l -c "install-tool php 8.2.3 && install-tool composer 2.5.4 && composer update dealerdirect/phpcodesniffer-composer-installer slevomat/coding-standard --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins"
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires slevomat/coding-standard ^8.0, found slevomat/coding-standard[8.0.0, ..., 8.8.0] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - consistence-community/coding-standard is locked to version 3.11.1 and an update of this package was not requested.
    - consistence-community/coding-standard 3.11.1 requires slevomat/coding-standard ~7.0 -> found slevomat/coding-standard[7.0.0, ..., 7.2.1] but it conflicts with your root composer.json require (^8.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/major-build-cs branch from 45111fb to 76897b4 Compare January 5, 2023 15:17
@renovate renovate bot changed the title Update dependency slevomat/coding-standard to v8 Update build-cs (major) Jan 5, 2023
@renovate renovate bot force-pushed the renovate/major-build-cs branch from 76897b4 to 61a79b5 Compare March 15, 2023 15:51
@renovate renovate bot changed the title Update build-cs (major) Update build-cs (major) - autoclosed Mar 22, 2023
@renovate renovate bot closed this Mar 22, 2023
@renovate renovate bot deleted the renovate/major-build-cs branch March 22, 2023 10:58
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