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
f3448b088a
TASK: Add mention of feature to docs
...
Relates: #15
2017-05-02 11:58:21 +02:00
afd6f78196
FEATURE: Detect classes in strings
...
* Detect class names in strings.
* Attach feature to new detection.
* Only add warnings for classes in strings, they might be table names.
Closes: #15
2017-05-02 11:52:42 +02:00
3126004854
TASK: Remove unnecessary method call
2017-05-02 10:54:22 +02:00
31d66c17d0
TASK: Fix cgl
...
* Fix phpcs and phpmd issues.
2017-05-02 10:52:53 +02:00
dffcac2bd5
FEATURE: Add FQObjectIdentifier to TypoScript tokens
...
* To make later checks easier, add the fully qualified object
identifier, to all object identifier tokens while tokenizing
TypoScript.
* Adjust tests accordingly.
* Add necessary autoloading.
Closes: #66
2017-05-02 10:48:43 +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
fad2a4e498
FEATURE: Allow empty feature yaml files
...
* Handle empty yaml files for features in options class.
2017-04-27 11:48:59 +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
Daniel Hürtgen
01af1eaf4b
Merge branch 'feature/54-add-checks-for-typoscript' into 'develop'
...
Feature/54 add checks for typoscript
Closes #54
See merge request !74
2017-04-27 10:45:13 +02:00
Daniel Hürtgen
b1b86a8ece
Merge branch 'feature/72-refactor-sniff-architecture' into 'develop'
...
Feature/72 refactor sniff architecture
Closes #72
See merge request !78
2017-04-27 10:34:30 +02:00
Daniel Hürtgen
7398caa099
TASK: Simplfy “features" iterator
2017-04-27 10:23:02 +02:00
Daniel Hürtgen
cecfe983e0
TASK: Simplfy feature support trait
2017-04-27 10:17:05 +02:00
e4f26abe71
TASK: Add test case
...
* Also test that we don't modify working parts
2017-04-25 16:36:41 +02:00
370015e7c0
TASK: Refactor code
...
* Reduce indentation.
* Provide internal API to add new feature with necessary checks.
2017-04-25 16:36:12 +02:00
7f7a7aa38d
TASK: Add missing docs
2017-04-25 16:35:54 +02:00
69bb97ad94
Merge branch 'feature/72-refactor-sniff-architecture' into feature/54-add-checks-for-typoscript
2017-04-25 15:50:04 +02:00
27997c8445
TASK: Link to configuration in docs.
2017-04-25 15:37:16 +02:00
add747d0be
TASK: Fix type of headline in docs
2017-04-25 15:37:01 +02:00
5428b3805f
TASK: Document new feature in docs
2017-04-25 15:36:47 +02:00
28329844b8
TASK: Update docs
...
* To keep naming in sync with code, to make examples work.
2017-04-25 15:36:20 +02:00
22d50486cf
TASK: Remove unused intersphinx
...
* As long as we don't make use of intersphinx disable it to speed up
rendering of documentation.
2017-04-25 15:35:24 +02:00
2cc21fdafa
TASK: Cleanup code
...
* Remove unnecessary documentation.
* Remove unused code.
* Add missing documentation.
Relates: #72
2017-04-25 15:20:35 +02:00
21cf62b949
TASK: migrate InheritanceSniff
...
Relates: #72
2017-04-25 15:09:32 +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
d12990f6e1
TASK: Streamline test output on error
2017-04-25 14:16:59 +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
d3b612790c
TASK: Make inline replacements work again
...
* As sometimes not the whole token should be replaces, but only the
classname within the token, we replace them always this way.
* Before the refactoring, that was done in the concrete sniffs.
* Affected are e.g. php doc comments.
Relates: #72
2017-04-25 13:45:46 +02:00
8572740fd1
TASK: Shorten test output
...
* Remove unnecessary information to shorten output.
* This should make it easier to get the actual issue.
2017-04-25 13:41:36 +02:00