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

Bump friendsofphp/php-cs-fixer from 3.3.2 to 3.4.0 #10

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 1, 2022

Bumps friendsofphp/php-cs-fixer from 3.3.2 to 3.4.0.

Release notes

Sourced from friendsofphp/php-cs-fixer's releases.

3.4.0 Si!

  • bug #6117 SingleSpaceAfterConstruct - handle before destructuring close brace (liquid207)
  • bug #6122 NoMultilineWhitespaceAroundDoubleArrowFixer - must run before MethodArgumentSpaceFixer (kubawerlos)
  • bug #6130 StrictParamFixer - must run before MethodArgumentSpaceFixer (kubawerlos)
  • bug #6137 NewWithBracesFixer - must run before ClassDefinitionFixer (kubawerlos)
  • bug #6139 PhpdocLineSpanFixer - must run before NoSuperfluousPhpdocTagsFixer (kubawerlos)
  • bug #6143 OperatorLinebreakFixer - fix for alternative syntax (kubawerlos)
  • bug #6159 ImportTransformer - fix for grouped constant and function imports (kubawerlos)
  • bug #6161 NoUnreachableDefaultArgumentValueFixer - fix for attributes (kubawerlos)
  • feature #5776 DX: test on PHP 8.1 (kubawerlos)
  • feature #6152 PHP8.1 support (SpacePossum)
  • minor #6095 Allow Symfony 6 (derrabus, keradus)
  • minor #6107 Drop support of PHPUnit v7 dependency (keradus)
  • minor #6109 Add return type to DummyTestSplFileInfo::getRealPath() (derrabus)
  • minor #6115 Remove PHP 7.2 polyfill (derrabus)
  • minor #6116 CI: remove installation of mbstring polyfill in build script, it's required dependency now (keradus)
  • minor #6119 OrderedClassElementsFixer - PHPUnit assert(Pre|Post)Conditions methods support (meyerbaptiste)
  • minor #6121 Use Tokens::ensureWhitespaceAtIndex to simplify code (kubawerlos)
  • minor #6127 Remove 2nd parameter to XdebugHandler constructor (phil-davis)
  • minor #6129 clean ups (SpacePossum)
  • minor #6138 PHP8.1 - toString cannot return type hint void (SpacePossum)
  • minor #6146 PHP 8.1: add new_in_initializers to PHP 8.1 integration test (keradus)
  • minor #6147 DX: update composer-normalize (keradus)
  • minor #6156 DX: drop hack for Prophecy incompatibility (keradus)
Changelog

Sourced from friendsofphp/php-cs-fixer's changelog.

Changelog for v3.4.0

  • bug #6117 SingleSpaceAfterConstruct - handle before destructuring close brace (liquid207)
  • bug #6122 NoMultilineWhitespaceAroundDoubleArrowFixer - must run before MethodArgumentSpaceFixer (kubawerlos)
  • bug #6130 StrictParamFixer - must run before MethodArgumentSpaceFixer (kubawerlos)
  • bug #6137 NewWithBracesFixer - must run before ClassDefinitionFixer (kubawerlos)
  • bug #6139 PhpdocLineSpanFixer - must run before NoSuperfluousPhpdocTagsFixer (kubawerlos)
  • bug #6143 OperatorLinebreakFixer - fix for alternative syntax (kubawerlos)
  • bug #6159 ImportTransformer - fix for grouped constant and function imports (kubawerlos)
  • bug #6161 NoUnreachableDefaultArgumentValueFixer - fix for attributes (kubawerlos)
  • feature #5776 DX: test on PHP 8.1 (kubawerlos)
  • feature #6152 PHP8.1 support (SpacePossum)
  • minor #6095 Allow Symfony 6 (derrabus, keradus)
  • minor #6107 Drop support of PHPUnit v7 dependency (keradus)
  • minor #6109 Add return type to DummyTestSplFileInfo::getRealPath() (derrabus)
  • minor #6115 Remove PHP 7.2 polyfill (derrabus)
  • minor #6116 CI: remove installation of mbstring polyfill in build script, it's required dependency now (keradus)
  • minor #6119 OrderedClassElementsFixer - PHPUnit assert(Pre|Post)Conditions methods support (meyerbaptiste)
  • minor #6121 Use Tokens::ensureWhitespaceAtIndex to simplify code (kubawerlos)
  • minor #6127 Remove 2nd parameter to XdebugHandler constructor (phil-davis)
  • minor #6129 clean ups (SpacePossum)
  • minor #6138 PHP8.1 - toString cannot return type hint void (SpacePossum)
  • minor #6146 PHP 8.1: add new_in_initializers to PHP 8.1 integration test (keradus)
  • minor #6147 DX: update composer-normalize (keradus)
  • minor #6156 DX: drop hack for Prophecy incompatibility (keradus)

Changelog for v3.3.1

  • minor #6067 Bump minimum PHP version to 7.2 (keradus)

Changelog for v3.3.0

  • bug #6054 Utils - Add multibyte and UTF-8 support (paulbalandan)
  • bug #6061 ModernizeStrposFixer - fix for negated with leading slash (kubawerlos)
  • bug #6064 SquareBraceTransformer - fix detect array destructing in foreach (SpacePossum)
  • bug #6082 PhpUnitDedicateAssertFixer must run before NoUnusedImportsFixer (kubawerlos)
  • bug #6089 TokensAnalyzer.php - Fix T_ENCAPSED_AND_WHITESPACE handling in isBina… (SpacePossum)
  • feature #5123 PhpdocTypesFixer - support generic types (kubawerlos)
  • minor #5775 DX: run static code analysis on PHP 8.0 (kubawerlos)
  • minor #6050 DX: TypeIntersectionTransformer - prove to not touch T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG (keradus)
  • minor #6051 NoExtraBlankLinesFixer - Improve deprecation message (paulbalandan)
  • minor #6060 DX: Add upgrade guide link when next Major is available (keradus)
  • minor #6066 Clean ups (SpacePossum, kubawerlos)
  • minor #6069 DX: cleanup stub file (keradus)
  • minor #6070 Update UPGRADE-v3.md with php_unit_test_annotation/case deprecation (kubawerlos)
  • minor #6072 Update usage doc to reflect change to PSR12 default. (hannob, keradus)
  • minor #6084 Change: Remove __constructor() from RuleSetDescriptionInterface (niklam)

... (truncated)

Commits
  • 47177af prepared the 3.4.0 release
  • 12e3ae9 bug #6159 ImportTransformer - fix for grouped constant and function imports (...
  • bf32365 ImportTransformer - fix for grouped constant and function imports
  • eebb66a bug #6161 NoUnreachableDefaultArgumentValueFixer - fix for attributes (kubawe...
  • 328fcee NoUnreachableDefaultArgumentValueFixer - fix for attributes
  • 241b491 feature #6152 PHP8.1 support (SpacePossum)
  • c86c22a PHP8.1 support
  • 3de1d1b bug #6143 OperatorLinebreakFixer - fix for alternative syntax (kubawerlos)
  • 716f346 OperatorLinebreakFixer - fix for alternative syntax
  • 73f051d minor #6156 DX: drop hack for Prophecy incompatibility (keradus)
  • 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 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)

Bumps [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v3.3.2...v3.4.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 1, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 4, 2022

Looks like friendsofphp/php-cs-fixer is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 4, 2022
@dependabot dependabot bot deleted the dependabot/composer/friendsofphp/php-cs-fixer-3.4.0 branch January 4, 2022 15:08
oleibman added a commit that referenced this pull request May 1, 2024
Fix PHPOffice#4001. Thanks to @SlowFox71 who reported the problem and developed most of the solution. This PR adds Rich Text support to the XML reader. The Xml Spreadsheet stores Rich Text as Html tags, children of the ss:Data tag using a specific namespace. These can be parsed into a RichText object using existing method Helper/Html::toRichTextObject. There are 2 items which need special attention.

First, for attributes like bold or italic, Excel uses the appropriate Html tag (e.g. `<B>`). However, for an attribute like color, Excel uses `<Font html:Color="#FF0000">`, with a prefix on the Color tag. PhpSpreadsheet's Html parser cannot cope with the prefix. The parser is changed to strip `html:` from attribute names for the Font tag.

The example cited by the user used a `<BR />` to indicate a line break in the data. However, it appears that, at least some of the time, Excel will instead use `&#10;` to indicate a line break. The existing parser reduces one or more whitespace characters in the text to a single space, and so `&#10;` will wind up disappearing. I am not sure why the existing code does this, but I do know that I am not willing to break it. Instead, I've added an optional boolean parameter `$preserveWhiteSpace` to `toRichTextObject`. If false (default), the existing logic will be used; but if true, substitution for whitespace characters in the text will not happen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants