Skip to content
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

Update dependency automattic/vipwpcs to v2.3.4 #23

Open
wants to merge 1 commit into
base: default
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 24, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
automattic/vipwpcs 2.2.0 -> 2.3.4 age adoption passing confidence

Release Notes

Automattic/VIP-Coding-Standards (automattic/vipwpcs)

v2.3.4

Compare Source

Props: kshaner, GaryJones, jrfnl, yolih

Increases requirements for PHPCS from 3.5.5+ to 3.7.1.

Fixed
  • #​709: Add get_theme_file_path() to list of allowed include functions.
  • #​762: IncludingFile: allow for more path-returning functions.
  • #​748: ProperEscapingFunction: Fix short tag detection.
  • #​760: RestrictedFunctions: remove reference to function which doesn't exist.
Changed
  • #​768: DeclarationCompatibility: performance improvement.

  • Rulesets:

    • #​763: Move VariableAnalysis configuration from Go to Minimum.
    • #​765: Fix the names.
  • Composer:

    • #​742: Up the minimum PHPCS version to 3.7.1.
    • #​764: Update VariableAnalysis dependency to 2.11.17.
    • #​738: Allow for the 1.0.0 version of the Composer PHPCS plugin.
    • #​721: Update composer.json keywords.
    • #​714: Update PHP Parallel Lint and Console Highlighter.
    • #​741: Update script names.
    • #​747: Fix script references.
    • #​708: Update references to the Composer plugin.
  • Tests:

    • #​735: Unit tests: Support PHP >= 8.1.
    • #​746: Fix checks for PHP 8.1 and above.
    • #​737: AdminBarRemovalUnitTest: Ensure final reset is read.
  • Coding Standards

    • #​733: Fix coding standards of VIPCS sniffs.
    • #​756: Remove extra line at end of classes.
    • #​758: Simplifications of sniffs extending the WPCS AbstractArrayAssignmentRestrictionsSniff.
    • #​761: RegexpCompare: remove redundant condition.
    • #​771: QA: fix condition order.
  • CI:

    • #​705: Various updates.
    • #​750: Test Higher PHP versions.
    • #​724: Fix use of deprecated set-output.
    • #​725: Update the xmllint-problem-matcher.
    • #​726: Various tweaks.
    • #​728: Bust the cache semi-regularly.
    • #​711: Version update for various predefined actions.
    • #​712: Fix build failure.
    • #​755: Validate the PHPCS installed standards.
    • #​757: Test and Quicktest tweaks.
    • #​767: Minor simplifications.
    • #​769: .gitattributes: readability improvement.
  • Docs:

    • #​722: Updated Docs link for ORDER BY RAND().
    • #​707: README: update requirements listing.
    • #​706: README: update for Composer 2.2.
    • #​766: Various minor doc fixes.
    • #​759: Bug template: make version table more comprehensive.
    • #​770: Docs: various tag improvements.
Deprecated
  • #​612: The WordPressVIPMinimum.Compatibility.Zoninator sniff is (soft) deprecated and will be removed in the 3.0.0 release.
  • #​613: The WordPressVIPMinimum.Performance.BatcacheWhitelistedParams sniff is (soft) deprecated and will be removed in the 3.0.0 release.

v2.3.3

Compare Source

Props: gudmdharalds, jrfnl, BrookeDot, rebeccahum

v2.3.2

Compare Source

Props: jrfnl

Fixed
  • #​681: ProperEscapingFunction: improve attribute matching accuracy for notAttrEscAttr.

v2.3.1

Compare Source

Props: jrfnl

Fixed
  • #​668: ProperEscapingFunction: fix overreach of comma usage in non-echo expressions for notAttrEscAttr.
  • #​670: ProperEscapingFunction: improve "action" match precision for hrefSrcEscUrl.
Deprecated
  • #​670: ProperEscapingFunction: private properties $url_attrs and $attr_endings are deprecated along with the public methods is_html_attr() and attr_expects_url().

v2.3.0

Compare Source

Props: jrfnl, rebeccahum, kevinfodness, GaryJones.

** There is a minor breaking change in the ProperEscapingFunction sniff from PR #​624. The escaping_function property can no longer be overruled via custom rulesets. Please remove any usages of the property in custom rulesets.

** Composer now requires the phpcodesniffer-composer-installer plugin per #​583. Note: If you either include it in the "require-dev" of your composer.json, use another Composer PHPCS plugin, or run bash commands to register PHPCS standards, please remove it from those sources to prevent interferences or version constraint conflicts.

Added
  • #​581: AlwaysReturnInFilter: flag abstract methods for manual inspection.
  • #​583: Composer: require phpcs-composer-installer plugin.
  • #​586: IncludingNonPHPFile: recognition of .phar file extensions.
  • #​589: WPQueryParams: flags 'exclude' array key.
  • #​595: Underscorejs: checks for additional print syntaxes and now throws an additional error for each occurrence of unescaped notation.
  • #​624: ProperEscapingFunction: account for additional escaping functions and check for esc_attr() usage in non-HTML attributes.
  • #​638: IncludingFile: new public property $allowedKeywords for allowing custom partial keywords in constants to reduce false positives.
Changed
  • #​586: IncludingNonPHPFile: various performance improvements.
  • #​587: LowExpiryCacheTime: new warning added for manual inspection along with various improvements.
  • #​592: DynamicCalls: various improvements.
  • #​595: Underscorejs: various improvements.
  • #​618: RestrictedFunctions: upgrade setcookie() to error at sniff level and remove Batcache references from messaging.
  • #​620: Ruleset: silence UnusedVariable from VariableAnalysis to reduce noise.
  • #​630: VariableAnalysis: fix incompatibility for VariableAnalysis standard with previously deprecated native VIPCS sniff.
  • #​639: RestrictedFunctions: remove site_option group.
  • #​644: RestrictedFunctions: remove wp_cache_get_multi group.
  • #​645: Ruleset: silence WordPress.WP.AlternativeFunctions.file_system_read_readfile.
  • #​646: Ruleset: silence WordPress.WP.AlternativeFunctions.file_system_read_fclose.
  • #​647: RestrictedFunctions: remove get_super_admins group.
  • #​649: RestrictedFunctions: downgrade switch_to_blog() to warning and change messaging.
  • #​652: RestrictedFunctions/RestrictedVariables: remove usermeta related errors.
Fixed
  • #​444: ConstantString: only error when a plain constant is passed as constant name parameter.
  • #​581: AlwaysReturnInFilter: fix runtime failure on abstract methods.
  • #​584: Performance: more selective sniffing for efficiency.
  • #​586: IncludingNonPHPFile: various bug fixes such as recognition of interpolated strings and case insensitivity in file extensions.
  • #​587: LowExpiryCacheTime: allow arithmetic operators, simple floats, numerical strings, zeroes and parentheses in calculations, and FQN time constants.
  • #​592: DynamicCalls: ignore comments, allow double quotes and remove potential memory leak.
  • #​595: Underscorejs: fixed false positive for when a variable is _.escape()-ed.
  • #​624: ProperEscapingFunction: slash escaped quotes and non-quoted strings in HTML attributes are now parsed as expected.
Removed
  • #​624: ProperEscapingFunction: remove $escaping_functions public property.
Maintenance
  • #​582: CI: re-try composer install on failure.
  • #​599: CI: add build against PHP 8.
  • #​606: Ruleset: remove redundant rule ref.
  • #​607: Ruleset: remove redundant rule ref.
  • #​608: Ruleset: remove duplicate rule ref.
  • #​611: Ruleset: remove redundant notice type declaration.
  • #​617: Ruleset: remove redundant notice type declaration.
  • #​619: Docs: Update links to wpvip.com.
  • #​631: QA: remove unused use statements.
  • #​632: Docs: various minor improvements (typos, alignment and code examples).
  • #​633: CI: switch to GitHub Actions.
  • #​635: Ruleset: remove redundant rule ref.
  • #​653: CI: use parallel linting of PHP files.
  • #​655: QA: remove redundant ignore annotations.
  • #​656: CI: always check that sniffs are feature complete.
  • #​657: CI: add "quicktest" stage for non-PR/merge builds.
  • #​658: Release template: add checkbox for dependency check.

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 this update 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 force-pushed the renovate/automattic-vipwpcs-2.x-lockfile branch from 27b48c2 to 42564df Compare May 30, 2023 03:53
@renovate renovate bot force-pushed the renovate/automattic-vipwpcs-2.x-lockfile branch from 42564df to 3fbc077 Compare August 23, 2023 05:25
@renovate renovate bot changed the title Update dependency automattic/vipwpcs to v2.3.3 Update dependency automattic/vipwpcs to v2.3.4 Aug 25, 2023
@renovate renovate bot force-pushed the renovate/automattic-vipwpcs-2.x-lockfile branch from 3fbc077 to 5d60aaa Compare August 25, 2023 17:51
@renovate renovate bot force-pushed the renovate/automattic-vipwpcs-2.x-lockfile branch from 5d60aaa to 3088011 Compare September 19, 2023 20:52
@renovate renovate bot force-pushed the renovate/automattic-vipwpcs-2.x-lockfile branch from 3088011 to 70ccf0b Compare February 26, 2024 05:35
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