Skip to content
Snippets Groups Projects
  1. Jan 09, 2024
  2. Jan 08, 2024
  3. Jan 07, 2024
  4. Jan 06, 2024
  5. Jan 05, 2024
  6. Jan 04, 2024
    • Benni Mack's avatar
      [TASK] Streamline indentation of arrays and comments · 8cdf6380
      Benni Mack authored
      PHP-CS-Fixer rule `array_indentation` is activated to have
      consistent indentation of arrays.
      
      In addition, a full run of php-cs-fixer without
      caches shows also affected areas where comments
      did not apply properly.
      
      Resolves: #102753
      Releases: main, 12.4, 11.5
      Change-Id: I759149606c4b042f1ac4329d4f5b7166d591456b
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82334
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Reviewed-by: default avatarBenni Mack <benni@typo3.org>
      Tested-by: default avatarBenni Mack <benni@typo3.org>
      8cdf6380
    • Benni Mack's avatar
      [TASK] Allow usage of symfony 7 · b03970d9
      Benni Mack authored
      This change enables Symfony 7 in
      addition to symfony 6 in TYPO3.
      
      Symfony7 requires PHP 8.2, thus
      is not installed by default for the
      time being, as this change is also
      allowed for TYPO3 v12 support when
      running with PHP 8.2 and composer.
      
      Used commands:
      
      composer req -W \
       "symfony/config:^6.4 || ^7.0" \
       "symfony/console:^6.4 || ^7.0" \
       "symfony/dependency-injection:^6.4 || ^7.0" \
       "symfony/doctrine-messenger:^6.4 || ^7.0" \
       "symfony/expression-language:^6.4 || ^7.0" \
       "symfony/filesystem:^6.4 || ^7.0" \
       "symfony/finder:^6.4 || ^7.0" \
       "symfony/http-foundation:^6.4 || ^7.0" \
       "symfony/mailer:^6.4 || ^7.0" \
       "symfony/messenger:^6.4 || ^7.0" \
       "symfony/mime:^6.4 || ^7.0" \
       "symfony/options-resolver:^6.4 || ^7.0" \
       "symfony/property-access:^6.4 || ^7.0" \
       "symfony/property-info:^6.4 || ^7.0" \
       "symfony/rate-limiter:^6.4 || ^7.0" \
       "symfony/routing:^6.4 || ^7.0" \
       "symfony/uid:^6.4 || ^7.0" \
       "symfony/var-dumper:^6.4 || ^7.0" \
       "symfony/yaml:^6.4 || ^7.0"
      
       c...
      b03970d9
    • Anja Leichsenring's avatar
      [TASK] Update locales translation files · 5a4a17fa
      Anja Leichsenring authored
      TYPO3 uses a composer package [1] to import
      locales along with translations and a custom
      script has been added to create and update
      included translation files.
      
      This change updates the language files with
      the last updates and requires the package
      with the current highest version as minimum.
      
      Used command(s):
      
      > composer req --dev \
          "sokil/php-isocodes-db-i18n":"^4.0.18"
      
      > Build/Scripts/runTests.sh \
          -s checkIsoDatabase \
          -p 8.1
      
      [1] sokil/php-isocodes-db-i18n
      
      Resolves: #102747
      Releases: main, 12.4
      Change-Id: I4d6603484c4fca213c66f0df0feff13bc1011b29
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82307
      
      
      Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
      5a4a17fa
  7. Jan 03, 2024
  8. Jan 01, 2024
  9. Dec 30, 2023
  10. Dec 28, 2023
    • Stefan Bürk's avatar
      [TASK] Align error handler tests with changed PHPUnit behavior · 46562295
      Stefan Bürk authored
      PHPUnit has changed the behavior of the error handler in
      several ways, for example introducing a PHP attribute to
      disable the PHPUnit error handler for tests dealing with
      `error_get_last()` [1], throwing an exception and stopping
      the script execution on `E_*_ERROR` or clearing the error
      result [2] - which breaks the ability to use the native
      `error_get_last()` method to test custom error handler
      implementation.
      
      Something which TYPO3 needs to do for the provided custom
      error handler.
      
      An additional change [3] to check and restore error handlers
      with levels has been reverted due to issues in the Laravel
      world.
      
      This change modifies the related test to use the introduced
      PHP attribute `#[WithoutErrorHandler]` and raises PHPUnit.
      
      Note: PHPUnit does not recognize the `@test` doc-block
            annotation if the `#[WithoutErrorHandler]` attribute
            is used. Therefore, the attribute counterparts for
            `@test` and `@dataProvider` has been added...
      46562295
  11. Dec 26, 2023
    • Oliver Bartsch's avatar
      [BUGFIX] Omit calling `getRecordWSOL` in `BU::getProcessedValue()` · b61dfba9
      Oliver Bartsch authored
      Since #102616, itemsProcFunc config is resolved in
      `BU::getLabelFromItemlist()`. This method therefore
      was adjusted to take the record in question as argument,
      passing it to the underlying `ItemProcessingService`,
      which actually just requires the uid and pid.
      
      Since the database row is not passed to
      BU::getProcessedValue()`, the record was
      fetched for each item manually via
      `getRecordWSOL()`. This is not sufficient
      and has a serious performance impact.
      
      The functionality of resolving itemsProcFunc is
      now still in place but `BU::getProcessedValue()`
      does no longer fetch and pass the record, but
      only the uid and pid. This will therefore still
      enable most use cases, but does no longer slow
      down the backend.
      
      Resolves: #102698
      Related: #102616
      Related: #100855
      Releases: main, 12.4
      Change-Id: Ic52564fada13b47f5364df642acbf683538b0c21
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82248
      
      
      Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
      Tes...
      b61dfba9
  12. Dec 22, 2023
  13. Dec 21, 2023
  14. Dec 20, 2023