| [x] |
web/modules/custom/blazy/src/BlazyAlter.php |
111 |
Call to deprecated function drupal_get_path(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\Extension\ExtensionPathResolver::getPath() instead. |
| [x] |
web/modules/custom/blazy/src/BlazyUtil.php |
91 |
Call to deprecated function file_build_uri(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0 without replacement. |
| [x] |
web/modules/custom/blazy/src/BlazyUtil.php |
214 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/src/BlazyUtil.php |
215 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyFilterJavaScriptTest) |
484 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyFilterJavaScriptTest) |
484 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyFilterJavaScriptTest) |
492 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyFilterJavaScriptTest) |
511 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyFilterJavaScriptTest) |
511 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyJavaScriptTestBase) |
484 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyJavaScriptTestBase) |
484 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyJavaScriptTestBase) |
492 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyJavaScriptTestBase) |
511 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class
Drupal\Tests\blazy\FunctionalJavascript\BlazyJavaScriptTestBase) |
511 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\BlazyKernelTestBase) |
484 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\BlazyKernelTestBase) |
484 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\BlazyKernelTestBase) |
492 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\BlazyKernelTestBase) |
511 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\BlazyKernelTestBase) |
511 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\Views\BlazyViewsTestBase)
|
484 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\Views\BlazyViewsTestBase)
|
484 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\Views\BlazyViewsTestBase)
|
492 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\Views\BlazyViewsTestBase)
|
511 |
Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead. |
| [x] |
web/modules/custom/blazy/tests/src/Traits/BlazyCreationTestTrait.php (in context of class Drupal\Tests\blazy\Kernel\Views\BlazyViewsTestBase)
|
511 |
Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative() instead. |
Comments
Comment #2
gausarts commentedComment #3
gausarts commentedComment #4
gausarts commentedComment #5
gausarts commentedComment #6
gausarts commentedWe'll fix them one at a time for easy tracking.
Fixing:
app.root and core_version_requirement
Comment #8
gausarts commentedFixing:
file_BLAH
Comment #9
gausarts commentedComment #10
gausarts commentedFixing:
::setUp()with typehints, specific forFunctionalJavascript.It looks like only applicable to
FunctionalJavascript, but notDrupal\Tests\field\Kernel\FieldKernelTestBase, etc.Based on this CR, typehints should be applicable to all. But the codebase at current D9.3 shows
FieldKernelTestBase::setUp()has no type hints:https://git.drupalcode.org/project/drupal/-/blob/9.3.0/core/modules/fiel...
This one I don't fully understand, making me worry no longer compatible with D9 when pursuing D10 for tests:
> In order for tests to be compatible with both PHPUnit 6 and 7 (used in Drupal 8) and PHPUnit 8 (used in Drupal 9), a backward compatibility shim was added so these typehints are not yet required, but this compatibility shim will be removed in Drupal 10, or earlier if a newer version of PHPUnit means it is no longer viable to support.
More info is appreciated. Thanks.
Comment #11
gausarts commentedFixing the remaining:
::setUp()with typehints.Let's see if any complaints at D9.
Comment #13
gausarts commentedFixing the leftover:
::setUp()with typehints, specific for Views.Comment #16
gausarts commentedLooks like D9 and D10 are happy now:
https://www.drupal.org/node/2663268/qa
If any additional or new deprecation notices to fix, feel free to create a new thread referencing this as parent for documentation purposes, and to de-clutter.
This session is done. It's finished.
Any misses or improvements due to this change may follow behind the screen (formalities are over now), or your bug report as usual.
Thanks.
Comment #18
heddnCan we create a new release with these fixes in it?