Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
9142bf5
Update requierd symfony finder version
Tuurlijk Sep 4, 2018
ef54280
Update required symfony finder version
Tuurlijk Sep 4, 2018
13e1bb2
Add ClassNamePatternMatcher
Tuurlijk Sep 4, 2018
87a6c76
Prevent PHP notice: Undefined index
Tuurlijk Sep 4, 2018
451833d
Simplify extractFileType
Tuurlijk Sep 4, 2018
5782333
Update GeneratorClassResolver to latest version
Tuurlijk Sep 5, 2018
de68993
Add Readme
Tuurlijk Sep 5, 2018
a0e5dc1
Prevent php notice when trying to access non-existent property
Tuurlijk Sep 5, 2018
688fe2b
Prevent php notice when trying to access non-existent property
Tuurlijk Sep 5, 2018
9b7e9f8
Prevent php notice when trying to access non-existent property
Tuurlijk Sep 5, 2018
0e29067
Add Matchers for TYPO3 7 Breaking-53542-DeprecatedCodeRemovalInFluid
Tuurlijk Sep 5, 2018
23e0555
Add Matcher for TYPO3 7 Breaking-57382-FlashMessageApi
Tuurlijk Sep 5, 2018
4456abc
Add Rules for TYPO3 7 Breaking-59659-DeprecatedCodeRemovalInBackendSy…
Tuurlijk Sep 5, 2018
4464035
Add Rule for TYPO3 7 Breaking-60152-formatSizeAdheresLocale
Tuurlijk Sep 5, 2018
38ec5b5
Add Rule for TYPO3 7 Breaking-60559-DroppedBackendLoginOptions
Tuurlijk Sep 5, 2018
5f2c6d7
Add GlobalMatcher to match use of e.g. $TT and $TSFE
Tuurlijk Sep 5, 2018
08bd626
Add Rule for TYPO3 7 Breaking-61781-IncludeOnceArrayOfClickMenuContro…
Tuurlijk Sep 5, 2018
82a939c
Add Rules for TYPO3 7 Breaking-61782-DeprecatedDocumentTemplateClasse…
Tuurlijk Sep 5, 2018
e94aca5
Add Rules for TYPO3 7 Breaking-61783-RemoveDeprecatedMailFunctionality
Tuurlijk Sep 5, 2018
faed225
Add Rules for TYPO3 7 Breaking-61785-FrontendTcaFunctionsRemoved
Tuurlijk Sep 5, 2018
1719995
Add Rules for TYPO3 7 Breaking-61785-LoadTcaFunctionRemoved
Tuurlijk Sep 5, 2018
ae1b890
Add Rules for TYPO3 7 Breaking-61786-ExtbaseDeprecatedTypeHandlingSer…
Tuurlijk Sep 5, 2018
b4f7508
Add Rules for TYPO3 7 Breaking-61802-IsLocalconfWritableFunctionRemoved
Tuurlijk Sep 5, 2018
e00db16
Add Rules for TYPO3 7 Breaking-61820-PhpOptionsUtilityDeprecatedFunct…
Tuurlijk Sep 5, 2018
b44d29c
Add Rules for TYPO3 7 Breaking-61822-GetUniqueFieldsFunctionRemoved
Tuurlijk Sep 5, 2018
2f060b2
Add Rules for TYPO3 7 Breaking-61823-RemoveMagicSettterForFromTC
Tuurlijk Sep 5, 2018
dd3f72f
Add Rules for TYPO3 7 Breaking-61859-FileTypeSoftwareRemoved
Tuurlijk Sep 5, 2018
00d975e
Add Rules for TYPO3 7 Breaking-61860-RemoveIntFromVerFunction
Tuurlijk Sep 5, 2018
c80c5a8
Add Rules for TYPO3 7 Breaking-61863-ConnectDbFunctionRemoved
Tuurlijk Sep 5, 2018
2e427aa
Add Rules for TYPO3 7 Breaking-61890-Remove-TBE-Styling-From-FormEngine
Tuurlijk Sep 5, 2018
79c751f
Fix Matcher for Breaking-61822-GetUniqueFieldsFunctionRemoved
Tuurlijk Sep 5, 2018
b08d278
Add Rules for TYPO3 7 Breaking-62038-RemovedDocumentTemplateOptions
Tuurlijk Sep 5, 2018
11b6a3a
Add Rules for TYPO3 7 Breaking-62039-RemovedTBE_StylesMainColors
Tuurlijk Sep 5, 2018
e43cf69
Remove unused use statement
Tuurlijk Sep 5, 2018
216a83b
Uses constants for indicators
Tuurlijk Sep 5, 2018
1ee3714
Add subject to match for MethodArgumentRequiredStaticMatcher
Tuurlijk Sep 5, 2018
af5303a
Remove unfinished travis config
Tuurlijk Sep 5, 2018
88b212d
Introduce MethodArgumentUnusedStaticMatcher
Tuurlijk Sep 6, 2018
ed23336
Add Rules for TYPO3 7 Breaking-62670-DeprecatedCodeRemovalInMultipleS…
Tuurlijk Sep 6, 2018
dbc41c6
Add Rules for TYPO3 7 Breaking-62673-ExtbaseDeprecatedCodeRemoved
Tuurlijk Sep 6, 2018
19ca642
Add Rules for TYPO3 7 Breaking-62731-RTEWizardClassesRenamed
Tuurlijk Sep 6, 2018
0c15b36
Add rule for TYPO3 7 Breaking-62859-RemovalDocumentationLinkActionVie…
Tuurlijk Sep 6, 2018
3c2260c
Add Rule for TYPO3 7 Breaking-75942-BigDocumentTemplateClassRemoved
Tuurlijk Sep 6, 2018
2a4eab6
Add Rule for TYPO3 7 Deprecation-62363-TSFE-JSfuncCalls
Tuurlijk Sep 6, 2018
4aed9b2
Add Rules for TYPO3 7 Deprecation-62794-DeprecateOldMailMethodsInGene…
Tuurlijk Sep 6, 2018
df55705
Add Rule for TYPO3 7 Deprecation-62795-DocumentTemplateJavaScript
Tuurlijk Sep 6, 2018
91a18c8
Add Rule for TYPO3 Deprecation-62854-Deprecate-pi_list_searchBox
Tuurlijk Sep 6, 2018
05390fa
Add Rule for TYPO3 7 Deprecation-62864-HelpTextIcon
Tuurlijk Sep 6, 2018
dd67a6e
Add Rules for TYPO3 7 Deprecation-62988-DocumentTemplateFunctions
Tuurlijk Sep 6, 2018
93069b8
Add Rule for TYPO3 7 Breaking-24900-CompatVersion-Setting-Removed
Tuurlijk Sep 6, 2018
65351c2
Add Rules for TYPO3 7 Breaking-63780-RemoveWordStringsFromReferenceIndex
Tuurlijk Sep 6, 2018
570a423
Add Rule for TYPO3 7 Breaking-64070-GlobalWebmountsRemoved
Tuurlijk Sep 6, 2018
e8e18d1
Add Rule for TYPO3 7 Breaking-64226-OptionAccessListRenderModeRemoved
Tuurlijk Sep 6, 2018
19e09c2
Add Rule for TYPO3 7 Breaking-64643-RemoveEnableTypo3tempDbTracking
Tuurlijk Sep 6, 2018
aa156ed
Add Rules for TYPO3 7 Breaking-64668-MailformMovedToLegacyExtension
Tuurlijk Sep 6, 2018
ed42515
Add Rules for TYPO3 7 Deprecation-46523-BackendUtilityImplodeTSParams
Tuurlijk Sep 6, 2018
07b8ab6
Add Rules for TYPO3 7 Deprecation-46770-LocalImageProcessorGraphicalF…
Tuurlijk Sep 6, 2018
c696a9c
Add Rules for TYPO3 7 Deprecation-60559-MakeLoginBoxImage
Tuurlijk Sep 6, 2018
e297327
Add Rules for TYPO3 7 Deprecation-63324-DataHandler-IncludeFileFunctions
Tuurlijk Sep 6, 2018
67270d9
Add Rules for TYPO3 7 Deprecation-64109-Hook-softRefParserGL
Tuurlijk Sep 6, 2018
eaff34b
Add Rules for TYPO3 7 Deprecation-64134-TypoScriptTemplateObjectBrows…
Tuurlijk Sep 6, 2018
f2c2443
Add Rules for TYPO3 7 Deprecation-64147-ConstantEditorFunctions
Tuurlijk Sep 6, 2018
d2abc5e
Add Rules for TYPO3 7 Deprecation-64388-ContentObjectMethods
Tuurlijk Sep 6, 2018
a80f47b
Add Rules for TYPO3 7 Deprecation-64711-UnusedCssStyledContentMethods
Tuurlijk Sep 6, 2018
0407450
Add Rules for TYPO3 7 Breaking-63784-DataHandlerExcludeArray
Tuurlijk Sep 6, 2018
5b442aa
Add Rules for TYPO3 7 Breaking-65432-ModuleUriInGlobalVarRemoved
Tuurlijk Sep 6, 2018
560e70a
Add Rules for TYPO3 7 Breaking-65939-BackendLoginRefactoring
Tuurlijk Sep 6, 2018
d508697
Add Rules for TYPO3 7 Breaking-65962-WebSVGLibraryAndAPIRemoved
Tuurlijk Sep 6, 2018
c61f507
Add Rules for TYPO3 7 Breaking-66034-DropContentAdapter
Tuurlijk Sep 6, 2018
3a908a5
Add Rules for TYPO3 7 Breaking-66431-NewLoginScreen
Tuurlijk Sep 6, 2018
eac3066
Add Rules for TYPO3 7 Deprecation-47712-DeprecateOldLockingAPI
Tuurlijk Sep 6, 2018
0eba028
Add Rules for TYPO3 7 Deprecation-64068-ThumbnailView
Tuurlijk Sep 6, 2018
5841e58
Add Rules for TYPO3 7 Deprecation-64598-DeprecatePagepositionmapjsimg…
Tuurlijk Sep 6, 2018
8389933
Add Rules for TYPO3 7 Deprecation-65111-getDynTabMenu
Tuurlijk Sep 6, 2018
adbbfec
Add Rules for TYPO3 7 Deprecation-65343-BackendUserOsProperty
Tuurlijk Sep 6, 2018
6ed6f76
Add Rules for TYPO3 7 Deprecation-65360-DatabaseTreeDataProviderOldCl…
Tuurlijk Sep 6, 2018
df2b91e
Add Rules for TYPO3 7 Deprecation-65381-DataHandlerStripslashesValues…
Tuurlijk Sep 6, 2018
029ea16
Add Rules for TYPO3 7 Deprecation-65465-ReferenceIndexErrorLog
Tuurlijk Sep 6, 2018
ac8f3fb
Add Rules for TYPO3 7 Deprecation-65913-checkFileInclude
Tuurlijk Sep 6, 2018
822ee49
Add Rules for TYPO3 7 Deprecation-65934-PrefixLocalAnchorsMovedToLega…
Tuurlijk Sep 6, 2018
5d8ba62
Add Rules for TYPO3 7 Deprecation-65956-DebugUtilityDebugRows
Tuurlijk Sep 6, 2018
edac67a
Add Rules for TYPO3 7 Deprecation-66065-BackendLogoViewDeprecated
Tuurlijk Sep 6, 2018
fa772ed
Add Rules for TYPO3 7 Deprecation-66223-Backendparsetime
Tuurlijk Sep 6, 2018
fd32d1b
Add Rules for TYPO3 7 Deprecation-66431-NewLoginScreen
Tuurlijk Sep 6, 2018
eed67f5
Add Rules for TYPO3 7 Breaking-63835-RemoveDeprecatedExtbasePersisten…
Tuurlijk Sep 6, 2018
27691ab
Add Rules for TYPO3 7 Breaking-66429-RemoveIdentityMapFromPersistence
Tuurlijk Sep 6, 2018
bd1dcaf
Add Rules for TYPO3 7 Breaking-66669-BackendLoginControllerRefactored
Tuurlijk Sep 6, 2018
2ab25f4
Add Rules for TYPO3 7 Breaking-66669-BackendLoginControllerRefactored
Tuurlijk Sep 6, 2018
c98d95b
Add Rules for TYPO3 7 Breaking-66707-IssueCommandNowAddsQuotesWhenUse…
Tuurlijk Sep 6, 2018
db0f605
Add Rules for TYPO3 7 Breaking-66754-RemoveRenderingContextAwareInter…
Tuurlijk Sep 6, 2018
beeadc7
Add Rules for TYPO3 7 Breaking-66868-MoveUsageOfBackendUserSettingsDa…
Tuurlijk Sep 6, 2018
c4e9220
Add Rules for TYPO3 7 Breaking-66906-AutomaticPNGToGIFConversionRemoved
Tuurlijk Sep 6, 2018
1616a73
Add Rules for TYPO3 7 Breaking-67229-FormEngineRelatedClasses
Tuurlijk Sep 6, 2018
2fded8b
Add Rules for TYPO3 7 Breaking-67402-ExtbaseAbstractDomainObjectIniti…
Tuurlijk Sep 6, 2018
bdbde81
Add Rules for TYPO3 7 Breaking-67402-ExtbaseAbstractDomainObjectWakeUp
Tuurlijk Sep 6, 2018
21e663a
Add Rules for TYPO3 7 Deprecation-63735-DeprecateDataHandlerCheckValu…
Tuurlijk Sep 6, 2018
73aab04
Add Rules for TYPO3 7 Deprecation-65344-ExtTables
Tuurlijk Sep 6, 2018
86df142
Add Rules for TYPO3 7 Deprecation-66823-ExtensionUtilityConfigureModule
Tuurlijk Sep 6, 2018
cdc6d5f
Add Rules for TYPO3 7 Deprecation-66905-ClassicPageModuleAndEditRegul…
Tuurlijk Sep 6, 2018
a5d4fec
Add Rules for TYPO3 7 Deprecation-66906-FunctionalityPngToGifConversion
Tuurlijk Sep 6, 2018
955e1ca
Add Rules for TYPO3 7 Deprecation-67171-T3editorIsEnabled
Tuurlijk Sep 6, 2018
0bb0141
Add Rules for TYPO3 7 Deprecation-67297-DbalFieldTypeConversion
Tuurlijk Sep 6, 2018
7dda62d
Add Rules for TYPO3 7 Deprecation-67402-ExtbaseAbstractDomainObjectWa…
Tuurlijk Sep 6, 2018
e20cf43
Add Rules for TYPO3 7 Important-67248-CleanUpDataMapperconvertClassNa…
Tuurlijk Sep 6, 2018
f90fcf5
Add Rules for TYPO3 7 Breaking-56951-RemoveUnusedMethodsInPagePositio…
Tuurlijk Sep 7, 2018
deb90e0
Add Rules for TYPO3 7 Breaking-63838-ChangedOpcodeCacheUtilityBeingAS…
Tuurlijk Sep 7, 2018
7032fa8
Move rules from ArrayGlobalMatcher to ArrayDimensionMatcher
Tuurlijk Sep 7, 2018
5744a08
Add Rules for TYPO3 7 Breaking-64200-CustomCObject.cache.TypoScriptEv…
Tuurlijk Sep 7, 2018
9521117
Add Rules for TYPO3 7 Breaking-64714-CatchExceptionsForInaccessibleSt…
Tuurlijk Sep 7, 2018
8ca38c1
Add Rules for TYPO3 7 Breaking-66602-RemoveRefererCheckWhileHandlingJ…
Tuurlijk Sep 7, 2018
12a81d3
Add Rules for TYPO3 7 Breaking-67565-DeprecatedBackendRelatedMethodsR…
Tuurlijk Sep 7, 2018
7a1b838
Add Rules for TYPO3 7 Breaking-67646-LibraryInclusionInFrontend
Tuurlijk Sep 7, 2018
0c6b8d1
Add Rules for TYPO3 7 Breaking-67654-RemoveGLOBALSFILEICONSFunctionality
Tuurlijk Sep 7, 2018
62729b1
Add Rules for TYPO3 7 Breaking-67749-ForceAutoloadingForVariousHooks
Tuurlijk Sep 7, 2018
9570a70
Add Rules for TYPO3 7 Breaking-67753-DropSecondaryOptions
Tuurlijk Sep 7, 2018
d9aebfa
Add Rules for TYPO3 7 Breaking-62833-Dividers2Tabs
Tuurlijk Sep 7, 2018
e5bcee9
Add Rules for TYPO3 7 Breaking-67811-RteApi
Tuurlijk Sep 7, 2018
51de391
Add Rules for TYPO3 7 Breaking-67890-RedesignFluidTemplateDataProcess…
Tuurlijk Sep 7, 2018
440f729
Add Rules for TYPO3 7 Breaking-67987-RemovedEntryScriptHandling
Tuurlijk Sep 7, 2018
08dc890
Add Rules for TYPO3 7 Breaking-68001-RemovedExtJSCoreAndExtJSAdapters
Tuurlijk Sep 7, 2018
02296a3
Add Rules for TYPO3 7 Breaking-68020-DroppedDisableBigButtons
Tuurlijk Sep 7, 2018
db7af32
Add Rules for TYPO3 7 Breaking-68150-GLOBALSCLIENT
Tuurlijk Sep 7, 2018
09277c6
Add Rules for TYPO3 7 Breaking-68178-DropFormEnctype
Tuurlijk Sep 7, 2018
e813936
Add Rules for TYPO3 7 Breaking-68186-AdjustedAndRemovedMethodsInEIDArea
Tuurlijk Sep 7, 2018
a4c3a80
Add Rules for TYPO3 7 Breaking-68193-DropRemoveLoginpagesWithContentH…
Tuurlijk Sep 7, 2018
b63220c
Add Rules for TYPO3 7 Breaking-68243-MoveNotUsedFrontendDocumentTemplate
Tuurlijk Sep 7, 2018
9b8382a
Add Rules for TYPO3 7 Breaking-68276-RemoveExtJSQuicktipsIfPossible
Tuurlijk Sep 7, 2018
7dc9821
Add Rules for TYPO3 7 Deprecation-50349-ReduceSQLQueriesOfPageTreeInW…
Tuurlijk Sep 7, 2018
d2fc97e
Add Rules for TYPO3 7 Deprecation-63603-ExtendedFileUtilitydontCheckF…
Tuurlijk Sep 7, 2018
cf9f6bf
Add Rules for TYPO3 7 Deprecation-63974-CssCompressorCallbackAndCompr…
Tuurlijk Sep 7, 2018
8fa262f
Add Rules for TYPO3 7 Deprecation-65790-PagesStoragePidDeprecated
Tuurlijk Sep 7, 2018
92703c5
Add Rules for TYPO3 7 Deprecation-66904-DisablegetExtURL
Tuurlijk Sep 7, 2018
f47f628
Add Rules for TYPO3 7 Deprecation-67288-DeprecateDbalMetaType
Tuurlijk Sep 7, 2018
58e94ad
Add Rules for TYPO3 7 Deprecation-67506-DeprecateIconUtilitygetIcon
Tuurlijk Sep 7, 2018
c55fc1f
Add Rules for TYPO3 7 Deprecation-67769-DeprecateQueryGeneratorformatQ
Tuurlijk Sep 7, 2018
a5e6c75
Add Rules for TYPO3 7 Deprecation-67790-DeprecateQueryGeneratorJSbottom
Tuurlijk Sep 7, 2018
196a1dc
Add Rules for TYPO3 7 Deprecation-67932-DeprecatedOldRsaauthApi
Tuurlijk Sep 7, 2018
b0cdb3f
Add Rules for TYPO3 7 Deprecation-68074-DeprecateGetPageRenderer
Tuurlijk Sep 7, 2018
664b715
Add Rules for TYPO3 7 Deprecation-68098-GeneralUtilityMethods
Tuurlijk Sep 7, 2018
76eedf5
Add Rules for TYPO3 7 Deprecation-68122-GeneralUtilityReadLLfile
Tuurlijk Sep 7, 2018
a7bf0db
Add Rules for TYPO3 7 Breaking-30863-StreamlineParameterOfInlineLangu…
Tuurlijk Sep 7, 2018
acc543b
Add Rules for TYPO3 7 Breaking-52156-ReplaceJumpUrlWithHooks
Tuurlijk Sep 7, 2018
213c483
Add Rules for TYPO3 7 Breaking-68401-SqlParserMovedIntoEXTdbal
Tuurlijk Sep 7, 2018
41d6a70
Add Rules for TYPO3 7 Breaking-68571-RemoveElementBrowser-getMsgBox
Tuurlijk Sep 7, 2018
ecd9bfe
Add Rules for TYPO3 7 Breaking-68814-RemoveOfBaseConstantTYPO3_URL_ORG
Tuurlijk Sep 7, 2018
2d44bbb
Add Rules for TYPO3 7 Breaking-69028-DropNegForeignTable
Tuurlijk Sep 7, 2018
951badb
Add Rules for TYPO3 7 Breaking-69148-BackendModuleDispatchingRemoved
Tuurlijk Sep 7, 2018
4dd007f
Add Rules for TYPO3 7 Breaking-69224-FixWrongUsageOfEnumerationsInInf…
Tuurlijk Sep 7, 2018
e0d06de
Add Rules for TYPO3 7 Breaking-69276-ElementBrowserControllerbrowserR…
Tuurlijk Sep 7, 2018
2248d8c
Add Rules for TYPO3 7 Breaking-69315-ElementBrowsermain_Protected
Tuurlijk Sep 7, 2018
a2db07f
Add Rules for TYPO3 7 Breaking-69568-FormEngine
Tuurlijk Sep 7, 2018
ea45859
Add Rules for TYPO3 7 Breaking-69568-FormEngine
Tuurlijk Sep 7, 2018
d4757d1
Add Rules for TYPO3 7 Breaking-69699-TcaCtrlTypeicons
Tuurlijk Sep 7, 2018
973d54d
Add Rules for TYPO3 7 Breaking-69904-RemoveSettingDiff_pathFromDefaul…
Tuurlijk Sep 7, 2018
5550673
Add Rules for TYPO3 7 Breaking-69930-RemoveOptionServerTimeZone
Tuurlijk Sep 7, 2018
eeff8b6
Add Rules for TYPO3 7 Deprecation-66588-POSTDataInSelectviewhelperSho…
Tuurlijk Sep 7, 2018
4c4158b
Add Rules for TYPO3 7 Deprecation-68128-GeneralUtilitySlash-relatedMe…
Tuurlijk Sep 7, 2018
cfa1052
Add Rules for TYPO3 7 Deprecation-68760-ModuleSettings
Tuurlijk Sep 7, 2018
73d3ba4
Add Rules for TYPO3 7 Deprecation-68804-CLI-relatedConstantsAndMethods
Tuurlijk Sep 7, 2018
459bf23
Add Rules for TYPO3 7 Deprecation-69028-RelationHandlerConvertPosNeg
Tuurlijk Sep 7, 2018
42ba701
Add Rules for TYPO3 7 Deprecation-69057-DeprecateIconUtilityAndMoveMe…
Tuurlijk Sep 7, 2018
0181470
Add Rules for TYPO3 7 Deprecation-69078-TemplateService-tempPath
Tuurlijk Sep 7, 2018
d871002
Add Rules for TYPO3 7 Deprecation-69262-MoveMarkerSubstitutionFunctio…
Tuurlijk Sep 7, 2018
f03f8f5
Add Rules for TYPO3 7 Deprecation-69269-DeprecateBackendUtilitygetPat…
Tuurlijk Sep 7, 2018
93bae0f
Add Rules for TYPO3 7 Deprecation-69535-DeprecateTYPO3CMSFluidViewHel…
Tuurlijk Sep 7, 2018
45b66c7
Add Rules for TYPO3 7 Deprecation-69561-ReplaceSpriteIconsWithIconFac…
Tuurlijk Sep 7, 2018
a69657c
Add Rules for TYPO3 7 Deprecation-69562-DeprecateHelperMethodsForRedu…
Tuurlijk Sep 7, 2018
f215e70
Add Rules for TYPO3 7 Deprecation-69568-VariousFormEngineRelatedMethods
Tuurlijk Sep 7, 2018
bc07b1a
Add Rules for TYPO3 7 Deprecation-69736-SelectOptionIconsInOptionTags…
Tuurlijk Sep 7, 2018
656d749
Add Rules for TYPO3 7 Breaking-66369-RemovedElementBrowserRelatedClasses
Tuurlijk Sep 7, 2018
91ebd18
Add Rules for TYPO3 7 Breaking-69227-StringsForLikeAreNotProperlyEscaped
Tuurlijk Sep 7, 2018
a90ad08
Add Rules for TYPO3 7 Breaking-69916-HookAjaxSaveCodeOfT3editorChanged
Tuurlijk Sep 7, 2018
5c289c1
Add Rules for TYPO3 7 Breaking-69916-RemovedBackendLogingetRsaPublicK…
Tuurlijk Sep 7, 2018
2107a28
Add Rules for TYPO3 7 Breaking-70574-FormWizardSaveHandlingChanged
Tuurlijk Sep 7, 2018
5b0f21f
Add Rules for TYPO3 7 Breaking-71110-TYPO3-specificUploadLimitRemoved
Tuurlijk Sep 7, 2018
0641db3
Add Rules for TYPO3 7 Deprecation-51482-ScriptBasedModules
Tuurlijk Sep 7, 2018
88ef19a
Add Rules for TYPO3 7 Breaking-72117-APIChangeInExceptionHandlerInter…
Tuurlijk Sep 7, 2018
fd9ed6e
Add Rules for TYPO3 7 Deprecation-60712-GetDynamicTabMenu
Tuurlijk Sep 7, 2018
e54722b
Add Rules for TYPO3 7 Deprecation-65728-DocumentTemplate-issueCommand
Tuurlijk Sep 7, 2018
d74608e
Add Rules for TYPO3 7 Deprecation-69877-UseModuleTemplateAPIForExtfil…
Tuurlijk Sep 7, 2018
d614fea
Add Rules for TYPO3 7 Deprecation-70138-FlexFormLanguageHandling
Tuurlijk Sep 7, 2018
609debd
Add Rules for TYPO3 7 Deprecation-70477-DeprecateSpriteIconClasses
Tuurlijk Sep 7, 2018
8885c14
Add Rules for TYPO3 7 Deprecation-70494-WrapClickMenuOnIcon
Tuurlijk Sep 7, 2018
37d123d
Add Rules for TYPO3 7 Deprecation-70514-DynamicConfigFile
Tuurlijk Sep 7, 2018
569c842
Add Rules for TYPO3 7 Deprecation-71153-DocumentTemplateSpacer
Tuurlijk Sep 7, 2018
7821932
Add Rules for TYPO3 7 Deprecation-71249-DeprecateRenderMethodOfFlashM…
Tuurlijk Sep 7, 2018
24502b8
Add Rules for TYPO3 7 Breaking-72931-SearchFormControllerpi_list_brow…
Tuurlijk Sep 7, 2018
dac73f7
Add Rules for TYPO3 8 Breaking-45899-SplitClassImportExportIntoClasse…
Tuurlijk Sep 7, 2018
c28a0f8
Cleanup ScannerFactory
Tuurlijk Sep 7, 2018
d178e86
Extend ArrayDimensionMatcher with 'numberOfKeysToMatch'
Tuurlijk Sep 7, 2018
c994ad5
Add ArrayMatcher to match deprecated TCA settings and other array str…
Tuurlijk Sep 10, 2018
699e847
Add extra checks to prevent PHP notices
Tuurlijk Sep 11, 2018
45977c6
Remove duplicate code
Tuurlijk Sep 11, 2018
11adfd7
Removed several methodCall rules to avoid false positives
Tuurlijk Sep 11, 2018
5ab092f
Update readme
Tuurlijk Sep 17, 2018
c1f0d00
Improve matcher for Breaking change 57382
Tuurlijk Dec 10, 2018
d6173b8
Add matchers for 10.4
helhum Jun 17, 2020
536eaa8
Merge pull request #1 from helhum/master
Tuurlijk Jun 17, 2020
c8e1ac2
Add ConstructorArgumentMatcher.php
Tuurlijk Jun 17, 2020
1cc9e30
Add ConstructorArgumentMatcher.php
Tuurlijk Jun 17, 2020
44ef72e
Update ArrayDimensionMatcher.php
Tuurlijk Jun 17, 2020
412bbcf
Add subject to ArrayDimensionMatcher.php and ConstructorArgumentMatch…
Tuurlijk Jun 17, 2020
3a7f300
Check if subject is set
Tuurlijk Jun 17, 2020
de61962
[TASK] Prepare compatibility with TYPO3 11
Oct 19, 2021
3201a3b
Merge pull request #2 from CDRO/compat-v11
Tuurlijk Oct 20, 2021
15befb2
[TASK] Prepare for TYPO3 v12
mschwemer Feb 15, 2023
49bae73
[TASK] Provide php8 compatibility
mschwemer Feb 16, 2023
548bedc
Merge pull request #3 from mschwemer/master
Tuurlijk Feb 24, 2023
8b1949d
[FEATURE] Use latest matcher files for target TYPO3 v12
mschwemer Oct 24, 2024
ba8e29f
[FEATURE] Provide matcher files for target TYPO3 v13
mschwemer Oct 24, 2024
7ec6a95
[FEATURE] Provide matcher files for target TYPO3 v14
mschwemer Oct 24, 2024
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
vendor/
vendor/
.Build/
109 changes: 109 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
TYPO3 scanner
=============

Scans code for usage of deprecated and or changed code.

This is a library component that can be used to build tools that scan PHP files for broken or deprecated code.

Tools using this library:
- [TYPO3 CMS v9](https://typo3.org/)
- [standalone TYPO3 scanner](https://github.com/Tuurlijk/typo3scan)

TYPO3 publishes [breaking changes and deprecations since version 7](https://docs.typo3.org/typo3cms/extensions/core/stable/Index.html).

This library uses the [PHP parser](https://github.com/nikic/PHP-Parser) written by [Nikita Popov](https://github.com/nikic). The parser transforms the PHP code from a file into an [Abstract Syntax Tree (AST)](https://github.com/nikic/PHP-Parser/blob/master/doc/component/Walking_the_AST.markdown). This can then be easily analysed using 'Matchers' and accompanying 'Rules'.

## Matchers
Every node visited by the node traverser, will be checked using all Matchers specified in the `\TYPO3\CMS\Scanner\Domain\Model\MatcherBundle`.

Currently we have the followign matchers:

### ArrayDimensionMatcher
Matches arrays like `$GLOBALS['foo']['bar']`
### ArrayGlobalMatcher
Match access to a one dimensional $GLOBAL array
Example `$GLOBALS['TYPO3_DB']`
### ArrayMatcher
Find usages of dropped TCA configuration values and other nested array structures.
You can specify the `matchOnValues` parameter to pass in an array of values to match.
### ClassConstantMatcher
Find usages of class constants.
Test for `Class\Name::THE_CONSTANT`, matches are considered "strong"
### ClassNameMatcher
Find usages of class / interface names which are entirely deprecated or removed
### ClassNamePatternMatcher
Find usages of class / interface names which are entirely deprecated or removed by specifying regex patterns
### ConstantMatcher
Find usages of class constants.
Test for `THE_CONSTANT`, matches are considered "strong"
### FunctionCallMatcher
Find usages of global function calls which were removed / deprecated. This is a strong match.
### GlobalMatcher
Match access to a one dimensional '$GLOBAL' array
Example `$TT`
### InterfaceMethodChangedMatcher
Matches interface method arguments which have been dropped.
This does *not* test if a class implements an interface.
The scanner only looks for:
- Class method names not having specified number of arguments
- Method calls with given method name not having this number of arguments
### MethodAnnotationMatcher
Find usages of method annotations
### MethodArgumentDroppedMatcher
Find usages of method calls which changed signature and dropped arguments,
but are called with more arguments.
This is a "weak" match since we're just testing for method name
but not connected class.
### MethodArgumentDroppedStaticMatcher
Find usages of static method calls which were removed / deprecated.
This is a "strong" match if class name is given and "weak" if not.
### MethodArgumentRequiredMatcher
Find usages of method calls which changed signature and added required arguments.
This is a "weak" match since we're just testing for method name
but not connected class.
### MethodArgumentRequiredStaticMatcher
Find usages of static method calls which gained new mandatory arguments.
This is a "strong" match if class name is given and "weak" if not.
### MethodArgumentUnusedMatcher
Match method usages where arguments "in between" are unused but not given as "null":
`public function foo($arg1, $unsused1 = null, $unused2 = null, $arg4)`
but called with:
`->foo('arg1', 'notNull', null, 'arg4');`
### MethodArgumentUnusedStaticMatcher
Match static method usages where arguments "in between" are unused but not given as "null":
`public function foo($arg1, $unsused1 = null, $unused2 = null, $arg4)`
but called with:
`->foo('arg1', 'notNull', null, 'arg4');`
This is a "strong" match if class name is given and "weak" if not.
### MethodCallMatcher
Find usages of method calls which were removed / deprecated.
This is a "weak" match since we're just testing for method name
but not connected class.
### MethodCallStaticMatcher
Find usages of static method calls which were removed / deprecated.

This match is performed either is case of a direct `foo\bar::aMethod()` call
as "strong" match, or as only `::aMethod()` as "weak" match.

As additional indicator, the number of required, mandatory arguments is
recognized: If calling a static method as `$foo::aMethod($arg1)`, but the
method needs two arguments, this is *not* considered a match. This would
have raised a fatal PHP error anyway and this is nothing we test here.
### PropertyAnnotationMatcher
Find usages of property annotations
### PropertyExistsStaticMatcher
Find usages of properties which have been deprecated or removed.
Useful if abstract classes remove properties.
### PropertyProtectedMatcher
Find usages of properties which have been made protected and are
not called in $this context.
### PropertyPublicMatcher
Find usages of properties which were removed / deprecated.

## Rules
There are rulesets for each matcher in: [config/Matcher](./config/Matcher). Currently there are rules for v7, v8 and v9 of TYPO3.

## Test
When you write a new matcher or extend an existing one, please also write the needed tests.

You can run the tests with: `./.Build/bin/phpunit tests`
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@
"TYPO3\\CMS\\Scanner\\Tests\\": "tests/"
}
},
"config": {
"bin-dir": ".Build/bin",
"vendor-dir": ".Build/vendor"
},
"require": {
"nikic/php-parser": "4.0",
"symfony/finder": "^3.3"
"nikic/php-parser": "^4.0",
"symfony/finder": "^3.3 || ^4.1"
},
"require-dev": {
"phpunit/phpunit": "^8"
}
}
Loading