Skip to content

Commit

Permalink
[TASK] Update ci versions
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Oct 10, 2024
1 parent 376bf5f commit a559592
Show file tree
Hide file tree
Showing 5 changed files with 190 additions and 6 deletions.
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
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@
"typo3/cms-seo": "^12.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",
"composer/class-map-generator": "^1.4",
"friendsofphp/php-cs-fixer": "^3.64",
"friendsoftypo3/phpstan-typo3": "^0.9",
"overtrue/phplint": "^9.0",
Expand Down Expand Up @@ -99,6 +100,7 @@
"url": "Tests/Packages/*"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
Expand Down

0 comments on commit a559592

Please sign in to comment.