Commit graph

20 commits

Author SHA1 Message Date
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
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
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
0e3f487681
TASK: Add removed classes in 7.0
Relates: #41
2017-04-27 16:10:28 +02:00
b9bdd5dd3b
TASK: Migrate RemovedClassFeature
* Also migrate RemovedClassFeature to new structure with
  AbstractYamlRemovedUsage

Relates: #71
2017-04-27 14:05:05 +02:00
f972533e04 WIP|FEATURE: Check for removed php classes.
* Add feature to existing code base and logic, see #72 .
* Add first removed classes for TYPO3 7.0 as example.
* Adjust first test to make sure basic implementation works.

Relates: #41
2017-04-27 11:23:29 +02:00
14c82e4a10 TASK: Migrate IsACallSniff
* Add further tests with quotes.
* Handle prefix in strings.
* Remove old originalTokenContent which is no longer in use, as we use
  str_replace, introduced in earlier commit.

Relates: #72
2017-04-25 14:36:19 +02:00
efd5d9114f
TASK: Migrate MissingNamespaceSniff
* Make MissingNamespaceSniff work again.
* Move to old namespace as it's a custom sniff, not a general one.
* Do not use new feature here, implement logic internal.
* Remove message from ruleset, use it directly.

Relates: #72
2017-04-25 14:11:40 +02:00
0c6bb133a1
TASK: Make some tests pass again
* All tests where only file name in diff was wrong are working again.

Relates: #72
2017-04-25 13:28:09 +02:00
c4c8faacd2
WIP: Fix TypeHintSniff
* Make TypeHintSniff tests pass again.
* Fix typo in class name preventing new feature mechanism from matching.

Relates: #72
2017-04-25 13:25:48 +02:00
94df1f2ad1
WIP: Fix use sniff
* Make use sniff tests pass again.

Relates: #72
2017-04-25 13:16:58 +02:00
2f6dc2304a
WIP: Refactor code to new architecture
* Migrate class names.
* Add new architecture of "Features".
* Configure old assignments for new features.
* Rename necessary parts.

Relates: #72
2017-04-25 12:58:19 +02:00