Commit graph

27 commits

Author SHA1 Message Date
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
56d692bac7
TASK: Add missing docs
* Add docs for new feature.

Relates: #33
2017-03-30 13:18:44 +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
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
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
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
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
ca741263b4
FEATURE: Provide sniff for catch statements
Resolves: #21
2017-03-21 08:30:19 +01:00
Daniel Hürtgen
fd57147c2a Merge branch 'develop' into feature/16-use-statements 2017-03-16 16:56:23 +01:00
fc070f3bf6
FEATURE: Make PHPDoc tags configurable
* Make them configurable in Sniff.
* Extend readme with new configuration option.
* Provide example in ruleset.xml

Resolves: #25, #24, #23
2017-03-16 16:25:55 +01:00
38651f315e
FEATURE: Migrate use statements
Resolves: #16
2017-03-16 15:13:33 +01:00
bbc1daf105
TASK: Add further information to doc, what exactly is supported
Relates: #4
2017-03-16 14:17:40 +01:00
187dc918a9
FEATURE: Migrate instantiation through object manager
* Mark "create" as deprecated with a warning.
* Migrate first argument of "create" and "get" calls if they are
  deprecated.

Resolves: #4
2017-03-16 14:15:04 +01:00
080816c530
Merge remote-tracking branch 'origin/develop' into feature/4-instantiation 2017-03-16 14:03:15 +01:00
5cf98decb0
Merge remote-tracking branch 'origin/develop' into feature/4-instantiation 2017-03-16 12:07:06 +01:00
dcc2b43258
Merge remote-tracking branch 'origin/develop' into feature/3-inline-ide-docs 2017-03-16 11:32:54 +01:00
cc9552e028
TASK: Document configuration option
Relates: #7
2017-03-16 11:10:39 +01:00
4134ba98f3
FEATURE: Migrate makeInstance instantiations
Relates: #4
2017-03-14 10:06:07 +01:00
5196baf185
FEATURE: Migrate legacy class names after "new"
Relates: #4
2017-03-14 10:02:36 +01:00
b3023f94ff
FEATURE: Migrate inline comments for IDEs
* Check all inline comments matching the necessary pattern.
* Check the contained class name.
* Migrate class name.

Resolves: #3
2017-03-14 08:42:20 +01:00
11cfcf8563
TASK: Extend docs with new feature 2017-03-14 08:40:45 +01:00
7748d46c1d
FEATURE: Provide a "preview"
* To let other know whether its helpful for them
2017-03-09 11:57:49 +01:00
913d365a08
TASK: Improve documentation
* Provide basic usage.
* Provide what's included.
2017-03-09 11:49:41 +01:00
f4fbbcab77
FEATURE: Provide first basic implementation of classmapping
* Install PHP CodeSniffer.
* Install our project as new Standard.
* Set our Standard as default.
* Provide first basic implementation to detect implemented interfaces
  with old legacy class names and migrate them to new ones.
2017-03-07 13:36:09 +01:00