Skip to content

Commit

Permalink
fix(deps): update dependency friendsofphp/php-cs-fixer to <3.42.1 (ma…
Browse files Browse the repository at this point in the history
…in) (#2765)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[friendsofphp/php-cs-fixer](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer)
| `<3.41.2` -> `<3.42.1` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/friendsofphp%2fphp-cs-fixer/3.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/friendsofphp%2fphp-cs-fixer/3.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/friendsofphp%2fphp-cs-fixer/3.41.1/3.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/friendsofphp%2fphp-cs-fixer/3.41.1/3.42.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)</summary>

###
[`v3.42.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3420)

[Compare
Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.41.1...v3.42.0)

- chore: aim to not rely on internal array pointer but use
array_key_first
([#&#8203;7613](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7613))
- chore: deprecate Token::isKeyCaseSensitive
([#&#8203;7599](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7599))
- chore: deprecate Token::isKeyCaseSensitive, 2nd part
([#&#8203;7601](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7601))
- chore: do not check PHP_VERSION_ID
([#&#8203;7602](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7602))
- chore: FileFilterIteratorTest - more accurate type in docs
([#&#8203;7542](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7542))
- chore: minor code cleanup
([#&#8203;7607](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7607))
- chore: more types
([#&#8203;7598](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7598))
- chore: PHPDoc key-value spacing
([#&#8203;7592](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7592))
- chore: PHPUnit - run defects first
([#&#8203;7570](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7570))
- chore: ProjectCodeTest - DRY on Tokens creation
([#&#8203;7574](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7574))
- chore: ProjectCodeTest - prepare for symfony/console v7
([#&#8203;7605](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7605))
- chore: ProjectCodeTest::provide\*ClassCases to return iterable with
key for better tests execution log
([#&#8203;7572](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7572))
- chore: ProjectCodeTest::testDataProvidersDeclaredReturnType - use
better DataProvider to simplify test logic
([#&#8203;7573](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7573))
- chore: TokensAnalyzer - string-enum for better typehinting
([#&#8203;7571](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7571))
- chore: unify tests not agnostic of PHP version
([#&#8203;7581](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7581))
- chore: use ::class more
([#&#8203;7545](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7545))
- CI: Introduce `composer-unused`
([#&#8203;7536](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7536))
- DX: add types to anonymous functions
([#&#8203;7561](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7561))
- DX: Allow running smoke tests within Docker runtime
([#&#8203;7608](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7608))
- DX: check fixer's options for wording
([#&#8203;7543](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7543))
- DX: cleanup deprecation message
([#&#8203;7576](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7576))
- DX: do not allow overriding constructor of
`PHPUnit\Framework\TestCase`
([#&#8203;7563](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7563))
- DX: do not import ExpectDeprecationTrait in UtilsTest
([#&#8203;7562](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7562))
- DX: Enforce consistent naming in tests
([#&#8203;7556](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7556))
- DX: fix checking test class extends `PhpCsFixer\Tests\TestCase`
([#&#8203;7567](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7567))
- DX: make sure that exceptions in
`AbstractFixerTestCase::testProperMethodNaming` are not already fixed
([#&#8203;7588](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7588))
- DX: remove recursion from AbstractIntegrationTestCase::testIntegration
([#&#8203;7577](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7577))
- DX: remove `PhpUnitNamespacedFixerTest::testClassIsFixed`
([#&#8203;7564](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7564))
- DX: remove `symfony/phpunit-bridge`
([#&#8203;7578](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7578))
- DX: replace fixture classes with anonymous ones
([#&#8203;7533](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7533))
- DX: Unify Docker mount points and paths
([#&#8203;7549](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7549))
- DX: unify fixer's test method names - quick wins
([#&#8203;7584](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7584))
- DX: unify tests for casing fixers
([#&#8203;7558](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7558))
- DX: use anonymous function over concrete classes
([#&#8203;7553](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7553))
- feat(EXPERIMENTAL): ClassKeywordFixer
([#&#8203;2918](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/2918))
- feat(EXPERIMENTAL): ClassKeywordFixer, part 2
([#&#8203;7550](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7550))
- feat(PhpdocToCommentFixer): Add option to handle return as valid
docblock usage
([#&#8203;7401](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7401))
([#&#8203;7402](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7402))
- feat: Ability to import FQCNs found during analysis
([#&#8203;7597](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7597))
- feat: add phpDoc support for `fully_qualified_strict_types` fixer
([#&#8203;5620](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/5620))
- feat: Handle deprecated rule sets similarly to deprecated fixers
([#&#8203;7288](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7288))
- feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v10
methods
([#&#8203;7604](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7604))
- feat: Support more FQCNs cases in `fully_qualified_strict_types`
([#&#8203;7459](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7459))
- fix: AbstractFixerTestCase - fix checking for correct casing
([#&#8203;7540](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7540))
- fix: Better OS detection in integration tests
([#&#8203;7547](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7547))
- fix: NativeTypeDeclarationCasingFixe - handle static property without
type
([#&#8203;7589](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7589))
- test: AutoReview - unify data provider returns
([#&#8203;7544](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7544))
- test: check to have DataProviders code agnostic of PHP version
([#&#8203;7575](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7575))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/libretime/libretime).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMTAzLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
  • Loading branch information
renovate[bot] and jooola committed Dec 27, 2023
1 parent 7db7eb0 commit 8ae4dce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions legacy/application/common/DateHelper.php
Expand Up @@ -461,9 +461,9 @@ public static function secondsToPlaylistTime($p_seconds)
* if no start or end parameter is passed start will be set to 1
* in the past and end to now.
*
* @param string startTimestamp Y-m-d H:i:s
* @param string endTImestamp Y-m-d H:i:s
* @param string timezone (ex UTC) of the start and end parameters
* @param string startTimestamp Y-m-d H:i:s
* @param string endTImestamp Y-m-d H:i:s
* @param string timezone (ex UTC) of the start and end parameters
* @param mixed $startTimestamp
* @param mixed $endTimestamp
* @param mixed $timezone
Expand Down
2 changes: 1 addition & 1 deletion legacy/tools/composer.json
@@ -1,6 +1,6 @@
{
"require": {
"php": "^7.4",
"friendsofphp/php-cs-fixer": "<3.41.2"
"friendsofphp/php-cs-fixer": "<3.42.1"
}
}

0 comments on commit 8ae4dce

Please sign in to comment.