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

chore(deps): bump twig/twig from 3.18.0 to 3.19.0 #154

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2025

Bumps twig/twig from 3.18.0 to 3.19.0.

Changelog

Sourced from twig/twig's changelog.

3.19.0 (2025-01-28)

  • Fix a security issue where escaping was missing when using ??
  • Deprecate Token::getType(), use Token::test() instead
  • Add Token::toEnglish()
  • Add ForElseNode
  • Deprecate Twig\ExpressionParser::parseOnlyArguments() and Twig\ExpressionParser::parseArguments() (use Twig\ExpressionParser::parseNamedArguments() instead)
  • Fix constant() behavior when used with ??
  • Add the invoke filter
  • Make {} optional for the types tag
  • Add LastModifiedExtensionInterface and implementation in AbstractExtension to track modification of runtime classes
  • Ignore static properties when using the dot operator
Commits

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 <dependency name> 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.18.0 to 3.19.0.
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](twigphp/Twig@v3.18.0...v3.19.0)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: direct:production
...

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

Coverage Report

Totals Coverage
Statements: 40.25% ( 933 / 2318 )
Methods: 53.44% ( 202 / 378 )
Lines: 37.68% ( 731 / 1940 )

StandWithUkraine

Copy link

Composer Validate success

Composer Audit success

PHP Lint success

Docker Build success

Environment Setup success

Site Install success

Config Lint success

Unit Tests success

Software Versions
Copyright (c) The PHP Group
Zend Engine v4.2.27, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.27, Copyright (c), by Zend Technologies
    with Xdebug v3.4.0, Copyright (c) 2002-2024, by Derick Rethans
Composer version 2.8.5 2025-01-21 15:23:40
Composer Audit

</details>
<details><summary>Config Lint</summary>

```
 [OK] All 25 YAML files contain valid syntax.                                   


 [OK] All 3 Twig files contain valid syntax.                                    


 [OK] All 0 XLIFF files contain valid syntax.                                   


 [OK] The container was linted successfully: all services are injected with     
      values that are compatible with their type declarations.                  

```

</details>
<details><summary>Unit Tests</summary>

```PHPUnit 9.6.15 by Sebastian Bergmann and contributors.

Testing 
Test 'AppTestsExternalLookupTest::testCreateJson' started
Test 'AppTestsExternalLookupTest::testCreateJson' ended
Test 'AppTestsExternalLookupTest::testCreateLdJson' started
Test 'AppTestsExternalLookupTest::testCreateLdJson' ended
Test 'AppTestsExternalLookupTest::testCreateAsUser1' started
Test 'AppTestsExternalLookupTest::testCreateAsUser1' ended
Test 'AppTestsExternalLookupTest::testCreateAsUser2' started
Test 'AppTestsExternalLookupTest::testCreateAsUser2' ended
Test 'AppTestsExternalLookupTest::testPutAsUser2' started
Test 'AppTestsExternalLookupTest::testPutAsUser2' ended
Test 'AppTestsExternalLookupTest::testPatchAsUser2' started
Test 'AppTestsExternalLookupTest::testPatchAsUser2' ended
Test 'AppTestsExternalLookupVersionTest::testVersionAsUser2' started
Test 'AppTestsExternalLookupVersionTest::testVersionAsUser2' ended
Test 'AppTestsKeyFiguresFutureTest::testSrc1Endpoint' started
Test 'AppTestsKeyFiguresFutureTest::testSrc1Endpoint' ended
Test 'AppTestsKeyFiguresN8nTest::testN8nEndpoints' started
Test 'AppTestsKeyFiguresN8nTest::testN8nEndpoints' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsAdmin' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsAdmin' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser1' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser1' ended
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser2' started
Test 'AppTestsKeyFiguresSrc1Test::testGetOnSource1AsUser2' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsAdmin' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsAdmin' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser1' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser1' ended
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser2' started
Test 'AppTestsKeyFiguresSrc2Test::testGetOnSource2AsUser2' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3ArchiveTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdminLdJson' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsAdminLdJson' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3WithoutValueAsUser3' started
Test 'AppTestsKeyFiguresSrc3BatchTest::testOnSource3WithoutValueAsUser3' ended
Test 'AppTestsKeyFiguresSrc3DuplicateBatchTest::testKey' started
Test 'AppTestsKeyFiguresSrc3DuplicateBatchTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3IdsTest::testKey' started
Test 'AppTestsKeyFiguresSrc3IdsTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3ProviderTest::testKey' started
Test 'AppTestsKeyFiguresSrc3ProviderTest::testKey' ended
Test 'AppTestsKeyFiguresSrc3PutExtraTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3PutExtraTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3PutTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsAdmin' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsAdmin' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser1' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser1' ended
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser3' started
Test 'AppTestsKeyFiguresSrc3StringBatchTest::testOnSource3AsUser3' ended
Test 'AppTestsKeyFiguresSrc3StringTest::testStringData' started
Test 'AppTestsKeyFiguresSrc3StringTest::testStringData' ended
Test 'AppTestsKeyFiguresSrc3StringTest::testNumericData' started
Test 'AppTestsKeyFiguresSrc3StringTest::testNumericData' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsAdmin' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsAdmin' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser1' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser1' ended
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser2' started
Test 'AppTestsKeyFiguresTest::testGetCollectionAsUser2' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateJson' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateJson' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateLdJson' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateLdJson' ended
Test 'AppTestsOchaPresenceExternalIdTest::testCreateAsUser1' started
Test 'AppTestsOchaPresenceExternalIdTest::testCreateAsUser1' ended
Test 'AppTestsOchaPresenceTest::testCreateJson' started
Test 'AppTestsOchaPresenceTest::testCreateJson' ended
Test 'AppTestsOchaPresenceTest::testGetJson' started
Test 'AppTestsOchaPresenceTest::testGetJson' ended
Test 'AppTestsOchaPresenceTest::testCreateLdJson' started
Test 'AppTestsOchaPresenceTest::testCreateLdJson' ended
Test 'AppTestsOchaPresenceTest::testCreateAsUser1' started
Test 'AppTestsOchaPresenceTest::testCreateAsUser1' ended
Test 'AppTestsOchaPresenceTest::testPutLdJson' started
Test 'AppTestsOchaPresenceTest::testPutLdJson' ended
Test 'AppTestsOchaPresenceTest::testPatchLdJson' started
Test 'AppTestsOchaPresenceTest::testPatchLdJson' ended
Test 'AppTestsUserTest::testMeEndpoint' started
Test 'AppTestsUserTest::testMeEndpoint' ended
Test 'AppTestsUserTest::testNonExistingMeEndpoint' started
Test 'AppTestsUserTest::testNonExistingMeEndpoint' ended
Test 'AppTestsUserTest::testRegister' started
Test 'AppTestsUserTest::testRegister' ended
Test 'AppTestsUserTest::testMeEndpointPatch' started
Test 'AppTestsUserTest::testMeEndpointPatch' ended


Time: 00:09.062, Memory: 113.00 MB

OK (51 tests, 268 assertions)

Generating code coverage report in Clover XML format ... done [00:00.034]

Generating code coverage report in HTML format ... done [00:00.340]

Generating code coverage report in PHPUnit XML format ... done [00:00.731]

Remaining indirect deprecation notices (16)

  6x: Not implementing generateId in FidryAliceDataFixturesBridgeDoctrineIdGenerator is deprecated. (AbstractIdGenerator.php:64 called by BasicEntityPersister.php:283, https://github.com/doctrine/orm/pull/9325, package doctrine/orm)
    6x in ExternalLookupTest::testCreateJson from AppTests

  5x: Since api-platform/core 3.4: rfc_7807_compliant_errors flag will be removed in 4.0, to handle errors yourself use extraProperties: ['rfc_7807_compliant_errors' => false]
    1x in KeyFiguresSrc2Test::testGetOnSource2AsUser1 from AppTests
    1x in KeyFiguresSrc3ArchiveTest::testOnSource3AsUser1 from AppTests
    1x in KeyFiguresSrc3BatchTest::testOnSource3AsUser1 from AppTests
    1x in KeyFiguresSrc3StringBatchTest::testOnSource3AsUser1 from AppTests
    1x in UserTest::testNonExistingMeEndpoint from AppTests

  2x: Since symfony/framework-bundle 6.4: Option "enable_annotations" at "framework.serializer" is deprecated. Use the "enable_attributes" option instead.
    2x in ExternalLookupTest::testCreateJson from AppTests

  2x: Since symfony/framework-bundle 6.4: Not setting the "framework.handle_all_throwables" config option is deprecated. It will default to "true" in 7.0.
    2x in ExternalLookupTest::testCreateJson from AppTests

  1x: Since api-platform/core 3.3: The hydra: prefix will be removed in 4.0 by default, set "api_platform.serializer" or "serializer.default_context" to "hydra_prefix: true" to keep the current behavior.
    1x in ExternalLookupTest::testCreateJson from AppTests

Other deprecation notices (590)

  59x: Since api-platform/symfony 4.1: The "api_platform.validator.query_parameter_validator" service is deprecated use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: The class "ApiPlatformParameterValidatorParameterValidator" is deprecated, use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: The class "ApiPlatformParameterValidatorValidatorArrayItems" is deprecated, use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: The class "ApiPlatformParameterValidatorValidatorBounds" is deprecated, use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: The class "ApiPlatformParameterValidatorValidatorEnum" is deprecated, use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: The class "ApiPlatformParameterValidatorValidatorLength" is deprecated, use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: The class "ApiPlatformParameterValidatorValidatorMultipleOf" is deprecated, use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: The class "ApiPlatformParameterValidatorValidatorPattern" is deprecated, use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: The class "ApiPlatformParameterValidatorValidatorRequired" is deprecated, use "ApiPlatformMetadataParameter::$constraints" instead.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

  59x: Since api-platform/core 3.4: Injecting the "ApiPlatformJsonSchemaTypeFactoryInterface" inside "ApiPlatformJsonSchemaSchemaFactory" is deprecated and "ApiPlatformJsonSchemaTypeFactoryInterface" will be removed in 4.x.
    7x in KeyFiguresN8nTest::testN8nEndpoints from AppTests
    3x in KeyFiguresSrc3ProviderTest::testKey from AppTests
    1x in ExternalLookupTest::testCreateJson from AppTests
    1x in ExternalLookupTest::testCreateLdJson from AppTests
    1x in ExternalLookupTest::testCreateAsUser1 from AppTests
    ...

```

</details>

*Pusher: @dependabot[bot], Action: `pull_request`, Workflow: `Run tests`*

@lazysoundsystem lazysoundsystem merged commit 11e2387 into develop Jan 29, 2025
2 checks passed
@lazysoundsystem lazysoundsystem deleted the dependabot/composer/twig/twig-3.19.0 branch January 29, 2025 19:32
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.

1 participant