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
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
900f68dd48
Merge branch 'feature/seperate-tests' into 'develop'
...
TASK: Use test class for each sniff.
See merge request !87
2017-05-04 08:43:11 +02:00
4031055210
TASK: Rename ci documentation jobs
...
* To have them much shorter, enabling full title to show up in gitlab
ui.
2017-05-04 08:38:02 +02:00
7f17db504c
BUGFIX: Fix broken rst syntax
2017-05-04 08:35:25 +02:00
9e3f8b8195
TASK: Document new test implementation
2017-05-04 08:35:13 +02:00
e789311862
TASK: Migrate added test
...
* As test was added to develop, also migrate it.
2017-05-04 08:30:14 +02:00
a16390d227
Merge branch 'develop' into feature/seperate-tests
2017-05-04 08:29:21 +02:00
Daniel Hürtgen
9bb6810a04
Merge branch 'feature/74-check-removed-typoscript-constants' into 'develop'
...
Feature/74 check removed typoscript constants
Closes #74 and #76
See merge request !85
2017-05-02 22:14:44 +02:00
Daniel Hürtgen
95da568935
Merge branch 'develop' into 'feature/74-check-removed-typoscript-constants'
...
# Conflicts:
# Documentation/source/features.rst
2017-05-02 22:12:23 +02:00
Daniel Hürtgen
cbef72b318
Merge branch 'feature/41-check-removed-classes' into 'develop'
...
Feature/41 check removed classes
Closes #41
See merge request !80
2017-05-02 22:08:19 +02:00
Daniel Hürtgen
475e38e3fc
Merge branch 'develop' into 'feature/41-check-removed-classes'
...
# Conflicts:
# Documentation/source/features.rst
2017-05-02 22:06:02 +02:00
Daniel Hürtgen
2ffe2a5676
Merge branch 'feature/71-refactor-removed-code' into 'develop'
...
Feature/71 refactor removed code
Closes #71
See merge request !79
2017-05-02 22:00:21 +02:00
ea0dc99e14
TASK: Use test class for each sniff.
...
* Allow executing tests for single sniff through phpunit '--filter'.
* Provide structure to add further tests for a single sniff.
* Make output more clear, which sniff was tested.
2017-05-02 15:08:21 +02:00
299c33a075
FEATURE: Add warning for removed TypoScript Constants
...
* Configure removed constants in TYPO3 7.x.
* Add code / sniff.
* Add test.
* Update docs.
Resolves: #74
2017-05-02 12:44:04 +02:00
582ede2513
TASK: Add removed TypoScript feature to docs
2017-05-02 12:33:32 +02:00
a84f164c49
TASK: Fix typo
2017-05-02 12:33:32 +02:00
a0c9df5667
TASK: Document yaml format for features
...
* To enable others to configure their own features.
Resolves: #76
2017-05-02 12:33:32 +02:00
3fbceb9bbf
TASK: Add gitlab template for merge requests
...
* To make writing merge requests easier.
* Also this should keep them in same structure.
2017-05-02 12:33:32 +02:00
9e3f7ac1e5
TASK: Fix MR issues
...
* Remove construct from interface.
* Fix wrong type hints.
* Keep naming of variable in sync.
* Also keep conditions format in sync.
Relates: #71
2017-05-02 08:09:10 +02:00
Daniel Hürtgen
52b110c5a6
Merge branch 'feature/76-document-feature-yaml' into 'develop'
...
TASK: Document yaml format for features
Closes #76
See merge request !81
2017-04-27 22:04:41 +02:00
Daniel Hürtgen
23fbe1d420
Merge branch 'feature/update-docs' into 'develop'
...
Feature/update docs
See merge request !82
2017-04-27 20:52:24 +02:00
d23bc4d221
TASK: Add documentation for new feature
...
Relates: #41
2017-04-27 17:05:02 +02:00
06e0578df2
TASK: Add removed TypoScript feature to docs
2017-04-27 17:01:30 +02:00
28d6e875d2
TASK: Fix typo
2017-04-27 17:01:06 +02:00
380398a0af
TASK: Document yaml format for features
...
* To enable others to configure their own features.
Resolves: #76
2017-04-27 16:54:51 +02:00
8781a8e715
TASK: Add gitlab template for merge requests
...
* To make writing merge requests easier.
* Also this should keep them in same structure.
2017-04-27 16:48:26 +02:00
4fdc15d715
TASK: Add removed classes for TYPO3 7.5
...
Relates: #41
2017-04-27 16:41:22 +02:00
cfdf58f7d4
TASK: Add removed classes for TYPO3 7.5
...
Relates: #41
2017-04-27 16:33:55 +02:00
3663af3755
TASK: Add removed classes for TYPO3 7.3
...
Relates: #41
2017-04-27 16:33:36 +02:00
98b9331652
TASK: Add removed classes for TYPO3 7.3
...
Relates: #41
2017-04-27 16:20:14 +02:00
0e3f487681
TASK: Add removed classes in 7.0
...
Relates: #41
2017-04-27 16:10:28 +02:00
11db09a303
TASK: Update phpdocs
...
* Remove unnecessary docs.
* Add necessary docs.
2017-04-27 15:40:02 +02:00
003609342e
TASK: Refactor DRY
...
* Don't duplicate code and logic.
* Move common code to parent class.
Relates: #71
2017-04-27 14:37:24 +02:00
510774a3cc
TASK: Support at least PHP 5.6
...
* Adjust CI , composer and docs.
* Migrate modern code to 5.6 supported code.
Relates: #71
2017-04-27 14:16:22 +02:00
b9bdd5dd3b
TASK: Migrate RemovedClassFeature
...
* Also migrate RemovedClassFeature to new structure with
AbstractYamlRemovedUsage
Relates: #71
2017-04-27 14:05:05 +02:00
bcbd1f96bc
TASK: Migrate GenericConstantUsageSniff
...
* Migrate GenericConstantUsageSniff to new architecture.
* Move non common functionality from AbstractGenericPhpUsage to concrete
classes.
Relates: #71
2017-04-27 13:33:28 +02:00
84dd380a3c
TASK: Migrate GenericFunctionCallSniff
...
* Migrate GenericFunctionCallSniff to new architecture.
* Provide new abstract class for php removed functions and constants.
* Fix TypoScriptSniff not always returning array.
* Adjust warnings in Expected.json
Relates: #71
2017-04-27 13:23:51 +02:00
5704351d22
TASK: Adjust to PHP 7.1
...
* As PHP 7.1 is required, document and adjust tests in CI.
Relates: #71
2017-04-27 12:53:07 +02:00
2659066e21
WIP|TASK: Migrate Typo3Update_Sniffs_Removed_TypoScriptSniff
...
* Refactor yaml based removed check architecture.
* Migrate TypoScriptSniff to new architecture.
Relates: #71
2017-04-27 12:51:16 +02:00