[commits] Horde branch master updated. 69cae342ce6c299640fff38c4183b55b64cde934

Jan Schneider jan at horde.org
Fri Mar 3 17:53:45 UTC 2017


The branch "master" has been updated.
The following is a summary of the commits.

from: dc72a8b72097db2497453176bf0d8e2036a1d7c3

10dc9f8 Make this a generic options parameter.
97f56bb Add 'allowed' option to find().
9c44ed1 phpdoc
0a36f38 Remove debug code.
8513bf3 PSR-2 fixes.
f9b0891 Notify IRC. Hopefully this doesn't disable email notifications.
cb9a336 Allow rules to emit warnings.
873cbb7 Add insert().
48548cf Add value-object-based rule configuration.
847f810 Complete package information.
339e3a6 Add refactoring rule for creating/fixing file-level phpdoc blocks.
30ca240 Pull ReflectionDocBlock from our own fork.
1a1ab2f Extract two methods.
d138dda Tweak method name.
7a54ee8 Fix option existance check.
1293f57 Add unit tests for Php4Constructor rule.
1cabd43 Indent PHP 5 constructor call.
de3d8f3 Swap methods.
ffb54d5 This parameter is not necessary. phpdoc.
6311607 Implement checking of existing DocBlocks.
69cae34 Fix property.

Summary: http://github.com/horde/horde/compare/dc72a8b72097db2497453176bf0d8e2036a1d7c3...69cae342ce6c299640fff38c4183b55b64cde934

-----------------------------------------------------------------------

commit 10dc9f8d48e63ebf48ed3c11ccdec13d9390d902
Author: Jan Schneider <jan at horde.org>
Date:   Wed Mar 1 14:22:42 2017 +0100

    Make this a generic options parameter.

 framework/Refactor/lib/Horde/Refactor/Tokens.php | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

http://github.com/horde/horde/commit/10dc9f8d48e63ebf48ed3c11ccdec13d9390d902

-----------------------------------------------------------------------

commit 97f56bb100f4eb59bf1081ab77adc701d9a560d0
Author: Jan Schneider <jan at horde.org>
Date:   Wed Mar 1 14:32:12 2017 +0100

    Add 'allowed' option to find().

 framework/Refactor/lib/Horde/Refactor/Tokens.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

http://github.com/horde/horde/commit/97f56bb100f4eb59bf1081ab77adc701d9a560d0

-----------------------------------------------------------------------

commit 9c44ed1dafa6d35d56880e8410f2e39e179900f7
Author: Jan Schneider <jan at horde.org>
Date:   Wed Mar 1 14:32:47 2017 +0100

    phpdoc

 framework/Refactor/lib/Horde/Refactor/Tokens.php | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/9c44ed1dafa6d35d56880e8410f2e39e179900f7

-----------------------------------------------------------------------

commit 0a36f382c45c6b8204014ffc1277fc97f2babb74
Author: Jan Schneider <jan at horde.org>
Date:   Wed Mar 1 14:44:24 2017 +0100

    Remove debug code.

 framework/Refactor/bin/horde-refactor | 1 -
 1 file changed, 1 deletion(-)

http://github.com/horde/horde/commit/0a36f382c45c6b8204014ffc1277fc97f2babb74

-----------------------------------------------------------------------

commit 8513bf3963a5ad63e6f5c5018fd828904e03317a
Author: Jan Schneider <jan at horde.org>
Date:   Wed Mar 1 14:49:17 2017 +0100

    PSR-2 fixes.

 framework/Refactor/lib/Horde/Refactor/Cli.php                  | 1 +
 framework/Refactor/lib/Horde/Refactor/Rule/Php4Constructor.php | 1 +
 framework/Refactor/lib/Horde/Refactor/Tokens.php               | 1 +
 3 files changed, 3 insertions(+)

http://github.com/horde/horde/commit/8513bf3963a5ad63e6f5c5018fd828904e03317a

-----------------------------------------------------------------------

commit f9b0891e5fdce1e62f9b8937b95787a339a35533
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 2 09:56:17 2017 +0100

    Notify IRC. Hopefully this doesn't disable email notifications.

 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

http://github.com/horde/horde/commit/f9b0891e5fdce1e62f9b8937b95787a339a35533

-----------------------------------------------------------------------

commit cb9a336e168b1f571533a78698026a73cf44f84f
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 11:51:59 2017 +0100

    Allow rules to emit warnings.

 framework/Refactor/lib/Horde/Refactor/Cli.php  |  6 ++++++
 framework/Refactor/lib/Horde/Refactor/Rule.php | 19 +++++++++++++++++++
 2 files changed, 25 insertions(+)

http://github.com/horde/horde/commit/cb9a336e168b1f571533a78698026a73cf44f84f

-----------------------------------------------------------------------

commit 873cbb755261640f71588e878c80ded59e718a13
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 11:53:07 2017 +0100

    Add insert().

 framework/Refactor/lib/Horde/Refactor/Tokens.php | 12 ++++++++++++
 1 file changed, 12 insertions(+)

http://github.com/horde/horde/commit/873cbb755261640f71588e878c80ded59e718a13

-----------------------------------------------------------------------

commit 48548cfb54367ff6ff9e5a5f4c05a9a36d451ae7
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 11:57:45 2017 +0100

    Add value-object-based rule configuration.

 framework/Refactor/lib/Horde/Refactor/Cli.php      |  3 +-
 framework/Refactor/lib/Horde/Refactor/Config.php   | 97 ++++++++++++++++++++++
 .../Refactor/lib/Horde/Refactor/Config/Base.php    | 38 +++++++++
 framework/Refactor/lib/Horde/Refactor/Rule.php     | 14 +++-
 framework/Refactor/package.xml                     |  6 ++
 5 files changed, 155 insertions(+), 3 deletions(-)
 create mode 100644 framework/Refactor/lib/Horde/Refactor/Config.php
 create mode 100644 framework/Refactor/lib/Horde/Refactor/Config/Base.php

http://github.com/horde/horde/commit/48548cfb54367ff6ff9e5a5f4c05a9a36d451ae7

-----------------------------------------------------------------------

commit 847f810bc8bf214b3a8a2c60dadaaef07fe295f8
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 11:58:26 2017 +0100

    Complete package information.

 framework/Refactor/package.xml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

http://github.com/horde/horde/commit/847f810bc8bf214b3a8a2c60dadaaef07fe295f8

-----------------------------------------------------------------------

commit 339e3a6576745e77f23f4a51e927e0c363dd353f
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 16:15:51 2017 +0100

    Add refactoring rule for creating/fixing file-level phpdoc blocks.

 framework/Refactor/bundle/composer.json            |  11 +
 framework/Refactor/bundle/composer.lock            |  72 ++
 framework/Refactor/bundle/vendor/autoload.php      |   7 +
 .../bundle/vendor/composer/ClassLoader.php         | 413 ++++++++++
 framework/Refactor/bundle/vendor/composer/LICENSE  |  20 +
 .../bundle/vendor/composer/autoload_classmap.php   |   9 +
 .../bundle/vendor/composer/autoload_namespaces.php |  10 +
 .../bundle/vendor/composer/autoload_psr4.php       |   9 +
 .../bundle/vendor/composer/autoload_real.php       |  52 ++
 .../bundle/vendor/composer/autoload_static.php     |  26 +
 .../Refactor/bundle/vendor/composer/installed.json |  55 ++
 .../phpdocumentor/reflection-docblock/.gitignore   |   2 +
 .../phpdocumentor/reflection-docblock/.travis.yml  |  32 +
 .../phpdocumentor/reflection-docblock/LICENSE      |  21 +
 .../phpdocumentor/reflection-docblock/README.md    |  56 ++
 .../reflection-docblock/composer.json              |  26 +
 .../reflection-docblock/composer.lock              | 827 +++++++++++++++++++++
 .../reflection-docblock/phpunit.xml.dist           |  14 +
 .../src/phpDocumentor/Reflection/DocBlock.php      | 468 ++++++++++++
 .../phpDocumentor/Reflection/DocBlock/Context.php  | 154 ++++
 .../Reflection/DocBlock/Description.php            | 223 ++++++
 .../phpDocumentor/Reflection/DocBlock/Location.php |  76 ++
 .../Reflection/DocBlock/Serializer.php             | 203 +++++
 .../src/phpDocumentor/Reflection/DocBlock/Tag.php  | 387 ++++++++++
 .../Reflection/DocBlock/Tag/AuthorTag.php          | 131 ++++
 .../Reflection/DocBlock/Tag/CoversTag.php          |  24 +
 .../Reflection/DocBlock/Tag/DeprecatedTag.php      |  26 +
 .../Reflection/DocBlock/Tag/ExampleTag.php         | 156 ++++
 .../Reflection/DocBlock/Tag/LinkTag.php            |  81 ++
 .../Reflection/DocBlock/Tag/MethodTag.php          | 209 ++++++
 .../Reflection/DocBlock/Tag/ParamTag.php           | 119 +++
 .../Reflection/DocBlock/Tag/PropertyReadTag.php    |  24 +
 .../Reflection/DocBlock/Tag/PropertyTag.php        |  24 +
 .../Reflection/DocBlock/Tag/PropertyWriteTag.php   |  24 +
 .../Reflection/DocBlock/Tag/ReturnTag.php          |  99 +++
 .../Reflection/DocBlock/Tag/SeeTag.php             |  81 ++
 .../Reflection/DocBlock/Tag/SinceTag.php           |  26 +
 .../Reflection/DocBlock/Tag/SourceTag.php          | 137 ++++
 .../Reflection/DocBlock/Tag/ThrowsTag.php          |  24 +
 .../Reflection/DocBlock/Tag/UsesTag.php            |  24 +
 .../Reflection/DocBlock/Tag/VarTag.php             |  24 +
 .../Reflection/DocBlock/Tag/VersionTag.php         | 108 +++
 .../Reflection/DocBlock/Type/Collection.php        | 228 ++++++
 .../Reflection/DocBlock/DescriptionTest.php        | 245 ++++++
 .../Reflection/DocBlock/Tag/CoversTagTest.php      |  86 +++
 .../Reflection/DocBlock/Tag/DeprecatedTagTest.php  | 115 +++
 .../Reflection/DocBlock/Tag/ExampleTagTest.php     | 203 +++++
 .../Reflection/DocBlock/Tag/LinkTagTest.php        |  87 +++
 .../Reflection/DocBlock/Tag/MethodTagTest.php      | 146 ++++
 .../Reflection/DocBlock/Tag/ParamTagTest.php       | 118 +++
 .../Reflection/DocBlock/Tag/ReturnTagTest.php      | 102 +++
 .../Reflection/DocBlock/Tag/SeeTagTest.php         |  86 +++
 .../Reflection/DocBlock/Tag/SinceTagTest.php       | 115 +++
 .../Reflection/DocBlock/Tag/SourceTagTest.php      | 116 +++
 .../Reflection/DocBlock/Tag/ThrowsTagTest.php      | 102 +++
 .../Reflection/DocBlock/Tag/UsesTagTest.php        |  86 +++
 .../Reflection/DocBlock/Tag/VarTagTest.php         |  94 +++
 .../Reflection/DocBlock/Tag/VersionTagTest.php     | 115 +++
 .../phpDocumentor/Reflection/DocBlock/TagTest.php  | 313 ++++++++
 .../Reflection/DocBlock/Type/CollectionTest.php    | 253 +++++++
 .../phpDocumentor/Reflection/DocBlockTest.php      | 337 +++++++++
 framework/Refactor/composer.json                   |  27 +
 .../Horde/Refactor/Config/FileLevelDocBlock.php    | 115 +++
 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  | 216 ++++++
 .../Refactor/lib/Horde/Refactor/TagFactory.php     |  89 +++
 framework/Refactor/package.xml                     | 184 +++++
 .../Refactor/test/Horde/Refactor/AllTests.php      |   3 +
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  |  62 ++
 .../Refactor/test/Horde/Refactor/bootstrap.php     |   3 +
 .../Horde/Refactor/fixtures/ClassLevelDocBlock.php |  15 +
 .../Refactor/fixtures/NoFileLevelDocBlock.php      |   4 +
 .../test/Horde/Refactor/fixtures/config.php        |  20 +
 .../fixtures/refactored/ClassLevelDocBlock.php     |  27 +
 .../refactored/ConfiguredNoFileLevelDocBlock.php   |  24 +
 .../fixtures/refactored/NoFileLevelDocBlock.php    |  25 +
 framework/Refactor/test/Horde/Refactor/phpunit.xml |   1 +
 76 files changed, 8276 insertions(+)
 create mode 100644 framework/Refactor/bundle/composer.json
 create mode 100644 framework/Refactor/bundle/composer.lock
 create mode 100644 framework/Refactor/bundle/vendor/autoload.php
 create mode 100644 framework/Refactor/bundle/vendor/composer/ClassLoader.php
 create mode 100644 framework/Refactor/bundle/vendor/composer/LICENSE
 create mode 100644 framework/Refactor/bundle/vendor/composer/autoload_classmap.php
 create mode 100644 framework/Refactor/bundle/vendor/composer/autoload_namespaces.php
 create mode 100644 framework/Refactor/bundle/vendor/composer/autoload_psr4.php
 create mode 100644 framework/Refactor/bundle/vendor/composer/autoload_real.php
 create mode 100644 framework/Refactor/bundle/vendor/composer/autoload_static.php
 create mode 100644 framework/Refactor/bundle/vendor/composer/installed.json
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/.gitignore
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/.travis.yml
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/LICENSE
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/README.md
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/composer.json
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/composer.lock
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/phpunit.xml.dist
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Context.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Description.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Location.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Serializer.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/AuthorTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/CoversTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/DeprecatedTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ExampleTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/LinkTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/MethodTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/PropertyReadTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/PropertyTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/PropertyWriteTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ReturnTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/SeeTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/SinceTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/SourceTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ThrowsTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/UsesTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/VarTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/VersionTag.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Type/Collection.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/DescriptionTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/CoversTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/DeprecatedTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/ExampleTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/LinkTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/MethodTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/ParamTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/ReturnTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/SeeTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/SinceTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/SourceTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/ThrowsTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/UsesTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/VarTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Tag/VersionTagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/TagTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Type/CollectionTest.php
 create mode 100644 framework/Refactor/bundle/vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlockTest.php
 create mode 100644 framework/Refactor/composer.json
 create mode 100644 framework/Refactor/lib/Horde/Refactor/Config/FileLevelDocBlock.php
 create mode 100644 framework/Refactor/lib/Horde/Refactor/Rule/FileLevelDocBlock.php
 create mode 100644 framework/Refactor/lib/Horde/Refactor/TagFactory.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/AllTests.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/FileLevelDocBlockTest.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/bootstrap.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/ClassLevelDocBlock.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/NoFileLevelDocBlock.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/config.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/refactored/ClassLevelDocBlock.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/refactored/ConfiguredNoFileLevelDocBlock.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/refactored/NoFileLevelDocBlock.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/phpunit.xml

http://github.com/horde/horde/commit/339e3a6576745e77f23f4a51e927e0c363dd353f

-----------------------------------------------------------------------

commit 30ca240f8a0b069209e84dd422c3f414391c1d8a
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 16:16:20 2017 +0100

    Pull ReflectionDocBlock from our own fork.
    
    This is necessary so that we don't get version conflicts when this library is loaded from both Hord_Test and Horde\Refactor.

 framework/Test/bundle/composer.json | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

http://github.com/horde/horde/commit/30ca240f8a0b069209e84dd422c3f414391c1d8a

-----------------------------------------------------------------------

commit 1a1ab2f5eed04efcef023e98c0cc0020b010ec9a
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 17:50:09 2017 +0100

    Extract two methods.

 .../lib/Horde/Refactor/Rule/Php4Constructor.php    | 207 ++++++++++++---------
 1 file changed, 115 insertions(+), 92 deletions(-)

http://github.com/horde/horde/commit/1a1ab2f5eed04efcef023e98c0cc0020b010ec9a

-----------------------------------------------------------------------

commit d138dda4d2956979f132d1373004daa1e3962de8
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 17:50:43 2017 +0100

    Tweak method name.

 framework/Refactor/test/Horde/Refactor/FileLevelDocBlockTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://github.com/horde/horde/commit/d138dda4d2956979f132d1373004daa1e3962de8

-----------------------------------------------------------------------

commit 7a54ee864ea8e3031115dc26c066ed36423ed401
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 17:51:08 2017 +0100

    Fix option existance check.

 framework/Refactor/lib/Horde/Refactor/Tokens.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://github.com/horde/horde/commit/7a54ee864ea8e3031115dc26c066ed36423ed401

-----------------------------------------------------------------------

commit 1293f572f1c35aabc2fd02cde59187653ad171d8
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 17:54:17 2017 +0100

    Add unit tests for Php4Constructor rule.

 framework/Refactor/package.xml                     | 14 ++++++
 .../test/Horde/Refactor/Php4ConstructorTest.php    | 56 ++++++++++++++++++++++
 .../Refactor/fixtures/Php4ConstructorOnly.php      | 10 ++++
 .../Horde/Refactor/fixtures/Php5Constructor.php    | 10 ++++
 .../Refactor/fixtures/WrongConstructorOrder.php    | 18 +++++++
 .../fixtures/refactored/Php4ConstructorOnly.php    | 18 +++++++
 .../fixtures/refactored/Php5Constructor.php        | 10 ++++
 .../fixtures/refactored/WrongConstructorOrder.php  | 18 +++++++
 8 files changed, 154 insertions(+)
 create mode 100644 framework/Refactor/test/Horde/Refactor/Php4ConstructorTest.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/Php4ConstructorOnly.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/Php5Constructor.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/WrongConstructorOrder.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/refactored/Php4ConstructorOnly.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/refactored/Php5Constructor.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/refactored/WrongConstructorOrder.php

http://github.com/horde/horde/commit/1293f572f1c35aabc2fd02cde59187653ad171d8

-----------------------------------------------------------------------

commit 1cabd43752f519e5c6e99d2da06d6704990081d1
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 17:58:24 2017 +0100

    Indent PHP 5 constructor call.

 framework/Refactor/lib/Horde/Refactor/Rule/Php4Constructor.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

http://github.com/horde/horde/commit/1cabd43752f519e5c6e99d2da06d6704990081d1

-----------------------------------------------------------------------

commit de3d8f3bdf41b64e5d6a99f5ceb91b4ac84c0a53
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 18:03:48 2017 +0100

    Swap methods.

 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  | 64 +++++++++++-----------
 1 file changed, 32 insertions(+), 32 deletions(-)

http://github.com/horde/horde/commit/de3d8f3bdf41b64e5d6a99f5ceb91b4ac84c0a53

-----------------------------------------------------------------------

commit ffb54d50ca8a33be00a202abb206f95e1afb45f0
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 18:11:03 2017 +0100

    This parameter is not necessary. phpdoc.

 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php         | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

http://github.com/horde/horde/commit/ffb54d50ca8a33be00a202abb206f95e1afb45f0

-----------------------------------------------------------------------

commit 631160763e003f3e32abc4acb8f9a3189b2af5a1
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 18:52:15 2017 +0100

    Implement checking of existing DocBlocks.

 .../Horde/Refactor/Config/FileLevelDocBlock.php    | 43 ++++++++++++
 framework/Refactor/lib/Horde/Refactor/Rule.php     |  2 +-
 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  | 76 +++++++++++++++++++++-
 framework/Refactor/package.xml                     |  4 ++
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  | 52 +++++++++++++++
 .../Horde/Refactor/fixtures/CorrectDocBlocks.php   | 27 ++++++++
 .../Horde/Refactor/fixtures/IncorrectDocBlocks.php | 17 +++++
 7 files changed, 219 insertions(+), 2 deletions(-)
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/CorrectDocBlocks.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/IncorrectDocBlocks.php

http://github.com/horde/horde/commit/631160763e003f3e32abc4acb8f9a3189b2af5a1

-----------------------------------------------------------------------

commit 69cae342ce6c299640fff38c4183b55b64cde934
Author: Jan Schneider <jan at horde.org>
Date:   Fri Mar 3 18:53:09 2017 +0100

    Fix property.

 framework/Refactor/lib/Horde/Refactor/Rule/FileLevelDocBlock.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://github.com/horde/horde/commit/69cae342ce6c299640fff38c4183b55b64cde934




More information about the commits mailing list