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

[WIP] V13 #1512

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
max-parallel: 5
matrix:
typo3: ['^12']
typo3: ['^12', '^13', '13.4.x-dev']
php: ['8.2', '8.3']
include:
- typo3: '^12'
Expand Down
184 changes: 184 additions & 0 deletions Build/phpstan-baseline-v13.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
parameters:
ignoreErrors:
-
message: """
#^Call to deprecated method getRequest\\(\\) of class TYPO3\\\\CMS\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContext\\:
since TYPO3 v13, will be removed in TYPO3 v14\\.
Use \\$renderingContext\\-\\>hasAttribute\\(ServerRequestInterface\\:\\:class\\) and
\\$renderingContext\\-\\>getAttribute\\(ServerRequestInterface\\:\\:class\\) instead\\.$#
"""
count: 3
path: ../Classes/ViewHelpers/Data/PaginateViewHelper.php

-
message: """
#^Call to deprecated method setRequest\\(\\) of class TYPO3\\\\CMS\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContext\\:
since TYPO3 v13, will be removed in TYPO3 v14\\.
Use RenderingContextFactory\\-\\>create\\(\\$pathArray, \\$request\\) instead\\.$#
"""
count: 1
path: ../Classes/ViewHelpers/Data/PaginateViewHelper.php

-
message: """
#^Fetching class constant class of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\:
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
"""
count: 1
path: ../Classes/ViewHelpers/Data/PaginateViewHelper.php

-
message: """
#^Return type of method BK2K\\\\BootstrapPackage\\\\ViewHelpers\\\\Data\\\\PaginateViewHelper\\:\\:getTemplateObject\\(\\) has typehint with deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\:
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
"""
count: 1
path: ../Classes/ViewHelpers/Data/PaginateViewHelper.php

-
message: """
#^Fetching deprecated class constant FILETYPE_AUDIO of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:AUDIO instead$#
"""
count: 1
path: ../Classes/ViewHelpers/File/IsAudioViewHelper.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 1
path: ../Classes/ViewHelpers/File/IsImageViewHelper.php

-
message: """
#^Fetching deprecated class constant FILETYPE_VIDEO of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:VIDEO instead$#
"""
count: 1
path: ../Classes/ViewHelpers/File/IsMediaViewHelper.php

-
message: """
#^Fetching class constant class of deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\:
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
"""
count: 1
path: ../Classes/ViewHelpers/FrameViewHelper.php

-
message: """
#^Return type of method BK2K\\\\BootstrapPackage\\\\ViewHelpers\\\\FrameViewHelper\\:\\:getTemplateObject\\(\\) has typehint with deprecated class TYPO3\\\\CMS\\\\Fluid\\\\View\\\\StandaloneView\\:
\\: since TYPO3 v13, will be removed in v14\\. Use ext\\:core ViewFactoryInterface instead\\.$#
"""
count: 1
path: ../Classes/ViewHelpers/FrameViewHelper.php

-
message: """
#^Call to deprecated method getRequest\\(\\) of class TYPO3\\\\CMS\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContext\\:
since TYPO3 v13, will be removed in TYPO3 v14\\.
Use \\$renderingContext\\-\\>hasAttribute\\(ServerRequestInterface\\:\\:class\\) and
\\$renderingContext\\-\\>getAttribute\\(ServerRequestInterface\\:\\:class\\) instead\\.$#
"""
count: 2
path: ../Classes/ViewHelpers/Link/PaginateViewHelper.php

-
message: """
#^Call to deprecated method getRequest\\(\\) of class TYPO3\\\\CMS\\\\Fluid\\\\Core\\\\Rendering\\\\RenderingContext\\:
since TYPO3 v13, will be removed in TYPO3 v14\\.
Use \\$renderingContext\\-\\>hasAttribute\\(ServerRequestInterface\\:\\:class\\) and
\\$renderingContext\\-\\>getAttribute\\(ServerRequestInterface\\:\\:class\\) instead\\.$#
"""
count: 2
path: ../Classes/ViewHelpers/TypoScript/ConstantViewHelper.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 2
path: ../Configuration/TCA/Overrides/100_pages.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 1
path: ../Configuration/TCA/Overrides/225_content_element_texticon.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 1
path: ../Configuration/TCA/Overrides/300_content_general_columns.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 1
path: ../Configuration/TCA/tx_bootstrappackage_accordion_item.php

-
message: """
#^Fetching deprecated class constant FILETYPE_VIDEO of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:VIDEO instead$#
"""
count: 1
path: ../Configuration/TCA/tx_bootstrappackage_accordion_item.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 2
path: ../Configuration/TCA/tx_bootstrappackage_card_group_item.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 2
path: ../Configuration/TCA/tx_bootstrappackage_carousel_item.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 1
path: ../Configuration/TCA/tx_bootstrappackage_icon_group_item.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 1
path: ../Configuration/TCA/tx_bootstrappackage_tab_item.php

-
message: """
#^Fetching deprecated class constant FILETYPE_VIDEO of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:VIDEO instead$#
"""
count: 1
path: ../Configuration/TCA/tx_bootstrappackage_tab_item.php

-
message: """
#^Fetching deprecated class constant FILETYPE_IMAGE of class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\:
will be removed in TYPO3 v14, use TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileType\\:\\:IMAGE instead$#
"""
count: 2
path: ../Configuration/TCA/tx_bootstrappackage_timeline_item.php
2 changes: 0 additions & 2 deletions Build/phpstan-baseline.neon

This file was deleted.

2 changes: 1 addition & 1 deletion Build/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ includes:
- %currentWorkingDirectory%/.build/vendor/phpstan/phpstan-strict-rules/rules.neon
- %currentWorkingDirectory%/.build/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- %currentWorkingDirectory%/.build/vendor/friendsoftypo3/phpstan-typo3/extension.neon
- %currentWorkingDirectory%/Build/phpstan-baseline.neon
- %currentWorkingDirectory%/Build/phpstan-baseline-v13.neon

parameters:
level: 8
Expand Down
41 changes: 21 additions & 20 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
"ext-libxml": "*",
"ext-simplexml": "*",
"scssphp/scssphp": "^1.13",
"typo3/cms-backend": "^12.4 || 13.*.*@dev",
"typo3/cms-core": "^12.4 || 13.*.*@dev",
"typo3/cms-extbase": "^12.4 || 13.*.*@dev",
"typo3/cms-extensionmanager": "^12.4 || 13.*.*@dev",
"typo3/cms-fluid": "^12.4 || 13.*.*@dev",
"typo3/cms-frontend": "^12.4 || 13.*.*@dev",
"typo3/cms-install": "^12.4 || 13.*.*@dev",
"typo3/cms-rte-ckeditor": "^12.4 || 13.*.*@dev",
"typo3/cms-seo": "^12.4 || 13.*.*@dev"
"typo3/cms-backend": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-core": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-extbase": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-extensionmanager": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-fluid": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-frontend": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-install": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-rte-ckeditor": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-seo": "^12.4 || ^13.4 || 13.*.*@dev"
},
"require-dev": {
"b13/container": "^2.2",
"b13/container": "^2.3 || dev-task/dev-main",
"bk2k/demo-package": "@dev",
"bk2k/extension-helper": "^2.1",
"friendsofphp/php-cs-fixer": "^3.64",
Expand All @@ -53,16 +53,16 @@
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-strict-rules": "^1.5",
"typo3/cms-belog": "^12.4 || 13.*.*@dev",
"typo3/cms-felogin": "^12.4 || 13.*.*@dev",
"typo3/cms-filelist": "^12.4 || 13.*.*@dev",
"typo3/cms-form": "^12.4 || 13.*.*@dev",
"typo3/cms-indexed-search": "^12.4 || 13.*.*@dev",
"typo3/cms-info": "^12.4 || 13.*.*@dev",
"typo3/cms-lowlevel": "^12.4 || 13.*.*@dev",
"typo3/cms-tstemplate": "^12.4 || 13.*.*@dev",
"typo3/cms-workspaces": "^12.4 || 13.*.*@dev",
"typo3/testing-framework": "^8.2.2"
"typo3/cms-belog": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-felogin": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-filelist": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-form": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-indexed-search": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-info": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-lowlevel": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-tstemplate": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/cms-workspaces": "^12.4 || ^13.4 || 13.*.*@dev",
"typo3/testing-framework": "^8.2.3"
},
"config": {
"bin-dir": ".build/bin",
Expand Down Expand Up @@ -99,6 +99,7 @@
"url": "Tests/Packages/*"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
Expand Down
6 changes: 3 additions & 3 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
'category' => 'templates',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99',
'rte_ckeditor' => '11.5.0-12.4.99',
'seo' => '11.5.0-12.4.99',
'typo3' => '12.4.0-13.4.99',
'rte_ckeditor' => '12.4.0-13.4.99',
'seo' => '12.4.0-13.4.99',
],
'conflicts' => [
'css_styled_content' => '*',
Expand Down