b99438fff9
TASK: Refactor remove duplicate logic
...
* Make option trait cleaner, remove duplicate logic and use methods for
same logic.
* Also fix issue in readme pointing to non existing config name.
Relates: #42
2017-04-06 08:26:13 +02:00
4a7ffaa92d
TASK: Update documentation
...
* Add new feature to docs.
Resolves: #42
2017-04-04 10:59:46 +02:00
818f266b9e
TASK: Cleanup some comments
2017-04-04 10:27:04 +02:00
99840b080f
FEATURE: Finish refactoring
...
* Removed functions and constants are working now.
Relates: #42
2017-04-04 10:21:16 +02:00
1a081900b2
WIP|FEATURE: Add removed constants
...
* Add configuration.
* Refactor common base for functions and constants.
* Add constants handling.
Relates: #42
2017-04-04 09:59:28 +02:00
b5e7e15683
Merge branch 'feature/33-deprecated-handling' into feature/42-deprecated-constants
2017-04-04 08:41:02 +02:00
034ab57a34
TASK: Skip unnecessary function call
2017-04-04 08:39:09 +02:00
830584fa87
TASK: Improve docs
2017-04-04 08:37:01 +02:00
9c6085642e
BUGFIX: Respect double quotes for ajax deprecation
...
Relates: #33
2017-04-04 08:36:57 +02:00
Daniel Hürtgen
aa8ffab3fa
TASK: Rename removed function method
2017-03-30 17:02:36 +02:00
56d692bac7
TASK: Add missing docs
...
* Add docs for new feature.
Relates: #33
2017-03-30 13:18:44 +02:00
a4f4fd1ad7
WIP|TASK: Copy and paste function code
...
* Refactor afterwards
Relates: #42
2017-03-30 13:13:19 +02:00
1c4fce2315
TASK: Adjust for CGL
2017-03-30 11:21:03 +02:00
93c0cff635
TASK: Rename deprecated to removed for functions
...
* As we check removed functions, the folder and code should reflect
that.
Relates: #33
2017-03-30 11:08:42 +02:00
21b7c09416
FEATURE: Add removed functions for TYPO3 7.x.
...
* Adjust structure of deprecated functions yaml.
* Add version of removal to message for removed functions.
Relates: #33
2017-03-30 11:03:30 +02:00
4c162af3d4
TASK: Finish 7.0 breaking changes
2017-03-30 08:08:41 +02:00
81fc7f7608
WIP|FEATURE: Add further deprecated calls
...
* Configure further deprecated calls for TYPO3 7.0
* Remove todo as it's already done.
Relates: #33
2017-03-28 16:41:15 +02:00
b652137e96
FEATURE: Provide code to handle deprecated method calls
...
* Add parsing of YAML-files.
* Check matching deprecated calls.
* Provide necessary information for PHPCS and user.
Relates: #33
2017-03-28 15:29:26 +02:00
cd434ac639
WIP|FEATURE: Provide configuration files for deprecated functions
...
* To provide a way to adjust deprecations without touching standard.
* Provide an option defining the path to lookup the configuration files.
* Parse yaml files containing deprecations.
Relates: #33
2017-03-28 12:52:14 +02:00
0ee10ea61f
BUGFIX: Allow deprecations to work in vim too.
...
* Remove line breaks from output, as syntastic will not parse them.
* It's up to the report to format the messages, not the Sniff.
Relates: #33
2017-03-28 11:44:06 +02:00
65773c88b5
WIP|FEATURE: Provide first deprecation function sniff
...
* Use a single generic sniff with configuration.
Relates: #33
2017-03-28 10:57:35 +02:00
2118d86879
WIP|FEATURE: First working check for deprecated functions
...
* Provide a generic sniff with configuration (property) containing all
deprecated calls.
* Check function calls and provide warning with information.
Relates: #33
2017-03-28 10:31:30 +02:00
293a6570a8
FEATURE: Add sniff to check for Breaking: #69916
...
Relates: #33
2017-03-28 09:27:42 +02:00
3cc85feec7
TASK: Extend readme
2017-03-28 08:48:43 +02:00
69de131a4c
TASK: Improve readme
2017-03-28 08:40:19 +02:00
426dc8b318
BUGFIX: Define property where it's used
...
* As we use it in parent class, define it there.
2017-03-23 16:48:28 +01:00
842a54d5d9
TASK: Fix quality issues
2017-03-23 16:40:03 +01:00
6a115bd8d0
TASK: Cleanup before PR
...
* Adjust some comments and formating.
* Add missing, but used, properties.
* Shorten variables used only once.
Resolves: #36
2017-03-23 16:24:22 +01:00
9b3d5d9515
BUGFIX: Support multiple interfaces
...
* Process extends as before.
* Process all interfaces in addition, not only the first one.
2017-03-23 16:12:40 +01:00
5a8260815c
Merge remote-tracking branch 'origin/develop' into feature/36-namespace-migration
...
* Make mapping file path configurable
Relates: #36 , #37
2017-03-23 13:34:12 +01:00
6420c72945
FEATURE: Allow remapping of usages for redefiined classes
...
* As we already adjust function, trait and interface definitions, we now
also migrate the usage of the old versions.
* This is done in second run, as mentioned in adjusted Readme.
Relates: #36
2017-03-23 13:24:24 +01:00
8fbe25a422
TASK: Cleanup missing vendor
...
* Add configured vendor in message for easer migration in IDEs (by
hand).
* Remove non existing function from checks.
Relates: #36
2017-03-23 13:24:11 +01:00
1561c13b46
FEATURE: Improve handling of missing Vendor
...
* Check for string concatenation instead of earlier more stupid.
Relates: #36
2017-03-23 13:24:04 +01:00
f9f82b0629
FEATURE: Migrate plugin and module registration and configuration
...
* Prefix with configured vendor if first argument does not start with a
string already.
Relates: #36
2017-03-23 13:23:54 +01:00
eaa99973b1
TASK: Refactor existing sniffs to work again
...
* As we migrated trait to class, all sniffs have to extend instead to
use the new class.
* Also make PhpCsFile import and type hints the same across all sniffs.
Relates: #36
2017-03-23 13:23:26 +01:00
f91d3240e5
TASK: According to PR, use else instead of default
2017-03-23 13:23:18 +01:00
0d985ef42a
TASK: Fix call to undefined method
...
Relates: #33
2017-03-23 13:23:09 +01:00
9a13223d62
TASK: Rename method
...
* To follow CGL
Relates: #33
2017-03-23 13:22:58 +01:00
21c72c8b96
WIP|FEATURE: Handle trait and interfaces beside classes
...
* Also fix check whether another line should be added after namespace
definition.
Relates: #36
2017-03-23 13:22:16 +01:00
Daniel Hürtgen
6eeeb50ecb
Merge pull request #37 from DanielSiepmann/feature/make-mapping-path-configurable
...
FEATURE: Make path to mapping file configurable
2017-03-23 12:28:30 +01:00
1b610844b9
BUGFIX: PHPDoc
2017-03-23 10:18:01 +01:00
4e0c2802e4
FEATURE: Make path to mapping file configurable
...
* This way one can define the path in his own ruleset.xml
2017-03-23 09:37:08 +01:00
Daniel Hürtgen
5a70f8458c
Merge pull request #35 from DanielSiepmann/feature/cleanup
...
Feature/cleanup
2017-03-23 09:04:09 +01:00
fcb778d903
WIP|FEATURE: Provide sniff to convert old legacy class definitions
...
* Insert missing namespace, based on existing class name.
* Allow configuration of Vendor to use.
* Will not adjust uses of the class.
* All other sniffs are broken right now, they need to be adjusted to
new abstract class.
Relates: #36
2017-03-23 08:52:25 +01:00
fb746bf39d
TASK: According to PR, use else instead of default
2017-03-23 08:41:06 +01:00
05ce3d0aef
TASK: Fix call to undefined method
...
Relates: #33
2017-03-21 13:50:22 +01:00
aa76ad796a
TASK: Keep all TypeHints the same
...
Relates: #33
2017-03-21 13:41:44 +01:00
af6b4dad51
TASK: Rename method
...
* To follow CGL
Relates: #33
2017-03-21 13:30:04 +01:00
simonhard
f1b6cc86c1
Merge pull request #32 from DanielSiepmann/hotfix/fix-static-call-sniff
...
BUGFIX: Fix bug introduced in e6e372f8b1
2017-03-21 10:38:23 +01:00
0a8f36edd7
Merge pull request #31 from DanielSiepmann/hotfix/composer_dependencies
...
change composer dependency to right path of phpcs
2017-03-21 10:32:35 +01:00