Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-4077

Deprecation log messages should be fixed

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Customer request
    • 3.3.28, 4.2.3
    • Content
    • None
    • Yes

    Description

      When using the platform in the Symfony profiler there are a lot of deprecation logs (1000+) related to our code, which makes it difficult to find logs related to the custom code.  

      They should be fixed to improve the logs and catch bugs faster. Some deprecation logs can cause problems with PHP8 for example.

       

       

      a small example of these logs:

      Method "Symfony\Component\Form\FormTypeInterface::getBlockPrefix()" might add "string" as a native return type declaration in the future. Do the same in implementation "Ibexa\ContentForms\Form\Type\FieldType\TextLineFieldType" now to avoid errors or add an explicit @return annotation to suppress this message.
      10:00:33.000 deprecation Method "Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Ibexa\Bundle\Migration\Serializer\Normalizer\Step\Role\UpdateMetadataNormalizer" now to avoid errors or add an explicit @return annotation to suppress this message.
      10:00:33.000 deprecation Method "Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Ibexa\Bundle\Migration\Serializer\Normalizer\Step\ReferenceSaveStepNormalizer" now to avoid errors or add an explicit @return annotation to suppress this message.
      10:00:33.000 deprecation Method "Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Ibexa\Bundle\Migration\Serializer\Normalizer\Step\ReferenceLoadStepNormalizer" now to avoid errors or add an explicit @return annotation to suppress this message.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: