Commit graph

371 commits

Author SHA1 Message Date
65132780a5
Also mention TYPO3 rector project 2021-03-08 09:26:20 +01:00
f23c740ecb
Merge pull request #69 from DanielSiepmann/feature/mention-new-project
TASK: Mention new project which should be used instead
2018-09-13 08:32:51 +02:00
cf00e165b1
TASK: Mention new project which should be used instead 2018-09-13 08:31:16 +02:00
0d8ca01ae3 Merge branch 'feature/44-add-checks-for-deprecated-removed-extensions' into 'develop'
FEATURE: Add checks for deprecated/removed extensions

Closes #44

See merge request !70
2017-05-18 08:41:09 +02:00
f5c609e57b
Merge remote-tracking branch 'origin/develop' into feature/44-add-checks-for-deprecated-removed-extensions 2017-05-18 08:39:04 +02:00
87cf3a3195
TASK: Do not check all classname parts for extension name
* As discussed in PR, fetch possible extension names and lookup only
  them, not all parts of class name.

Relates: #44, !70
2017-05-18 08:33:10 +02:00
41d5ec0dff
Merge remote-tracking branch 'origin/develop' into feature/44-add-checks-for-deprecated-removed-extensions 2017-05-16 16:29:14 +02:00
e8e0b11df2 Merge branch 'feature/77-globals' into 'develop'
FEATURE: Globals

Closes #77

See merge request !90
2017-05-16 16:27:01 +02:00
180a8a77c2
Merge branch 'develop' into feature/77-globals 2017-05-16 16:24:33 +02:00
Daniel Hürtgen
0c91d7b22c Merge branch 'feature/15-check-all-possible-occurences-of-class' into 'develop'
FEATURE: Detect classes in strings

Closes #15 and #43

See merge request !84
2017-05-16 15:32:55 +02:00
Daniel Hürtgen
6be0de28d3 Update StringSniff.php 2017-05-16 15:05:54 +02:00
Daniel Hürtgen
ec7a4634c9 Merge branch 'hotfix/allow-phpdoc-to-substitute-all-classnames' into 'develop'
BUGFIX: Allow PhpDocCommentSniff to work find all classnames in comment

See merge request !92
2017-05-16 14:44:56 +02:00
Daniel Hürtgen
8d93512b20 Merge branch 'feature/improve-namespaces' into 'develop'
FEATURE: Improve namespace migration

See merge request !91
2017-05-16 14:42:46 +02:00
Daniel Hürtgen
5aac278ba9 Merge branch 'feature/66-ts-structure' into 'develop'
FEATURE: Add FQObjectIdentifier to TypoScript tokens

Closes #66

See merge request !83
2017-05-16 14:39:57 +02:00
Daniel Hürtgen
7c6fe7e83c Merge branch 'feature/45-removed-signals' into 'develop'
FEATURE: Removed signals and hooks

Closes #45

See merge request !86
2017-05-16 14:34:04 +02:00
Daniel Hürtgen
c8f6917b38 TASK: CS fixes 2017-05-16 14:31:47 +02:00
Daniel Hürtgen
06a45a528a TASK: Added missing variable name in phpdoc 2017-05-16 14:28:26 +02:00
f723d9a28b
TASK: Add missing mapping 2017-05-16 10:47:26 +02:00
2d3165e8f4
BUGFIX: Also allow to fix validator classnames 2017-05-16 10:36:27 +02:00
f2910b02b2
BUGFIX: Allow PhpDocCommentSniff to work find all classnames in comment
* Before only the first classname was returned.
* All class names are returned now.
* This allows to fix Extbase type annotations for relations.
2017-05-11 11:17:46 +02:00
53d727fa4b
FEATURE: Make sure namespaces are only applied for Tx_ class definitions
* E.g. prevent migration for ux_ classes which do not follow the
  convention.
* Add test to make sure it works as expected.
2017-05-11 08:59:37 +02:00
40be6732af
FEATURE: Already save classname alias while searching
* To improve report results even during searching.
* By moving namespace mapping to search from fixing.
2017-05-11 08:58:35 +02:00
7aafc28dbf
TASK: Fix broken test
Relates: #77
2017-05-09 15:55:43 +02:00
219103561e
TASK: Update docs
* To reflect new feature.

Relates: #77
2017-05-09 15:03:35 +02:00
4ac34503d1
FEATURE: Check removed globals
* Add feature, tests and configuration.
* Refactor to follow DRY, move prepareStructure to abstract.

Resolves: #77
2017-05-09 14:48:44 +02:00
c1712d0bc5
TASK: Update docs
Relates: #44
2017-05-09 13:31:51 +02:00
640f85af7d
TASK: Update InheritanceSniff tests to reflect added removed extension
Relates: #44
2017-05-09 13:20:20 +02:00
84e4c426ef
TASK: Update InlineCommentSniff tests to reflect added removed extension
Relates: #44
2017-05-09 12:12:46 +02:00
27864c70a1
TASK: Update InstanceofSniff tests to reflect added removed extension
Relates: #44
2017-05-09 12:09:51 +02:00
8dd569a6a6
TASK: Update InstantiationWithMakeInstanceSniff tests
Relates: #44
2017-05-09 12:07:12 +02:00
e3dd6013ba
BUGFIX: Look for argument only in current statement
* Just check T_STRING as this are all function calls.
* Remove unused line of code.
* Limit position to current statement to not return later classname
  multiple times.

Relates: #44
2017-05-09 12:05:54 +02:00
2894784978
TASK: Update InstantiationWithNewSniff tests
Relates: #44
2017-05-09 11:42:32 +02:00
e2c972ed58
TASK: Update InstantiationWithObjectManagerSniff tests
Relates: #44
2017-05-09 11:39:59 +02:00
d38ce3dc41
BUGFIX: Fix identifier for removed extension
* Due to copy and paste the identifier was not indicating a removed
  extension.
* Identifier and tests were adjusted accordingly.

Relates: #44
2017-05-09 11:33:55 +02:00
9b028d24e6
TASK: Update IsACallSniff tests to reflect added removed extension
Relates: #44
2017-05-09 11:31:15 +02:00
3503a5b63a
TASK: Update PhpDocCommentSniff tests to reflect added removed extension
Relates: #44
2017-05-09 11:25:54 +02:00
af50ddfd99
TASK: Update StaticCallSniff tests to reflect added removed extension
* Also update getBefore method of AbstractClassnameChecker to make
  lookups before, like in StaticCallSniff work.

Relates: #44
2017-05-09 11:20:45 +02:00
b32fc01110
TASK: Add test for TypeHintCatchExceptionSniff
* Check that the sniff works with new feature of removed extension.

Relates: #44
2017-05-09 10:55:17 +02:00
fda1921d50
TASK: Refactor sniffs
* Move generic logic to abstract class.
* As not only UseSniff but also all others have the same logic, if
  method is not overwritten.
* Therefore all other sniffs should work with new feature of removed
  extension.

Relates: #44
2017-05-09 10:54:17 +02:00
3034f3fec4
FEATURE: Add removed extension to type hint sniff
* Integrate feature and adjust code as needed.
* We need to find the class names inside of type hints more accurate.
* Also tests need to cover the new feature.

Relates: #44
2017-05-09 10:34:58 +02:00
633a714043
FEATURE: Implement removed extension into use sniff.
* Detect removed extensions in use statements.

Relates: #44
2017-05-09 08:41:38 +02:00
c7ddbc4aef
TASK: Finish removed extension test
* Adjust expected result to match result.
* Remove example usage of "use" as this is part of a feature and not
  this sniff.

Relates: #44
2017-05-09 08:35:58 +02:00
5adbac1a25
TASK: Implement basic structure
* Adjust to latest develop state of project.
* Provide basic implementation.

Relates: #44
2017-05-04 16:43:09 +02:00
c7112c0fae
Merge remote-tracking branch 'origin/develop' into feature/44-add-checks-for-deprecated-removed-extensions 2017-05-04 16:04:51 +02:00
7a16dac529
FEATURE: Allow auto migration of classes in strings
* We now check class names case sensitive in strings.
* This will prevent issues with stuff like TCA, as class names mathing
  table names are written in lower case.
* Also add further tests and fix issues.
* Extend test to check that lower version is not replaced but mentioned
  as warning.
* Expected class names in Tx_ format are reported as fixable error.

Resolves: #15
2017-05-04 13:35:02 +02:00
b69c262288
TASK: Improve tests and fix issues
* Configure code coverage for new tested class.
* Fix usage of class with new insensitivity lookup.
* Add further tests.
2017-05-04 12:46:39 +02:00
666bbdb26a
TASK: Add tests for mapping class
* Add minimum phpdoc.
* Add tests.
* Fix issue in class.
* Fix phpmd issues.
2017-05-04 11:58:49 +02:00
Daniel Hürtgen
413d8e45f5 Merge branch 'feature/rename-ci-jobs' into 'develop'
TASK: Rename ci documentation jobs

See merge request !88
2017-05-04 11:08:45 +02:00
8db7a8bb1f
TASK: Split legacy mapping into two files
* One files is provided by us for TYPO3 mappings.
* Second one keeps as is and contains the generated mappings.

Relates: #43
2017-05-04 10:44:49 +02:00
cacd15029d
Merge branch 'feature/seperate-tests' into feature/66-ts-structure 2017-05-04 08:45:58 +02:00