[commits] Horde branch master updated. ce0bb41c2bc3fbb4de694614ef841d4286f2084c

Jan Schneider jan at horde.org
Thu Mar 23 21:32:37 UTC 2017


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

from: ce015c3690fd0b6bae8a75322793d0bd81be455c

668b49e Indent
b5386f7 Make the forbidden tags a hash.
500ed49 Add Regexp#matches().
575ca5d Allow to specify forbidden tags as regular expressions.
74bcb4a Remove WARNING header.
d9686f7 Add errors and report duplicate or different tags.
fa1e391 Don't show warnings on blocks that we just added.
e39b859 Clone config to avoid side-effects because we manipulate it.
f869aa2 Use an exception to stop processing on unrecoverable errors.
c436642 Check for different copyright and license information.
6395f47 Fix cross check.
62ce78f Completely strip unwanted text.
b479b09 Don't move file-level text to class-level if it already exists.
ce0bb41 Add newline between blocks if missing.

Summary: http://github.com/horde/horde/compare/ce015c3690fd0b6bae8a75322793d0bd81be455c...ce0bb41c2bc3fbb4de694614ef841d4286f2084c

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

commit 668b49eef6b8f57c5032ea22d65e698f116368e7
Author: Jan Schneider <jan at horde.org>
Date:   Tue Mar 21 21:06:11 2017 +0100

    Indent

 .travis.yml | 197 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 98 insertions(+), 99 deletions(-)

http://github.com/horde/horde/commit/668b49eef6b8f57c5032ea22d65e698f116368e7

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

commit b5386f7930688b9bb0eda0584324b92b9df31474
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 12:09:20 2017 +0100

    Make the forbidden tags a hash.

 framework/Refactor/lib/Horde/Refactor/Config/FileLevelDocBlock.php | 2 +-
 framework/Refactor/lib/Horde/Refactor/Rule/FileLevelDocBlock.php   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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

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

commit 500ed493682fd04e3fd3ed9b6b9a6917c65fe0fc
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 12:13:11 2017 +0100

    Add Regexp#matches().

 framework/Refactor/lib/Horde/Refactor/Regexp.php | 12 ++++++++++++
 framework/Refactor/lib/Horde/Refactor/Tokens.php |  4 ++--
 2 files changed, 14 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/500ed493682fd04e3fd3ed9b6b9a6917c65fe0fc

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

commit 575ca5db7124da05969ee65d69c91ad863ba76ab
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 15:44:09 2017 +0100

    Allow to specify forbidden tags as regular expressions.
    
    Remove pear.horde.org @link tags.

 .../Horde/Refactor/Config/FileLevelDocBlock.php    | 16 ++++++++++++-
 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  | 14 +++++++-----
 framework/Refactor/package.xml                     |  8 +++++--
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  |  1 +
 .../FileLevelDocBlock/RemoveForbiddenTags.php      | 26 ++++++++++++++++++++++
 .../refactored/RemoveForbiddenTags.php             | 25 +++++++++++++++++++++
 6 files changed, 82 insertions(+), 8 deletions(-)
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/RemoveForbiddenTags.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/refactored/RemoveForbiddenTags.php

http://github.com/horde/horde/commit/575ca5db7124da05969ee65d69c91ad863ba76ab

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

commit 74bcb4a33717737745e45bba7952b62e6096bc06
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 15:47:58 2017 +0100

    Remove WARNING header.

 framework/Refactor/lib/Horde/Refactor/Cli.php | 1 -
 1 file changed, 1 deletion(-)

http://github.com/horde/horde/commit/74bcb4a33717737745e45bba7952b62e6096bc06

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

commit d9686f789a1a83d4d5b38cdb93e6b2525e83e498
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 16:37:34 2017 +0100

    Add errors and report duplicate or different tags.

 framework/Refactor/lib/Horde/Refactor/Cli.php      |  3 ++
 framework/Refactor/lib/Horde/Refactor/Rule.php     | 11 ++++-
 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  | 50 +++++++++++++++++++++-
 framework/Refactor/package.xml                     |  2 +
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  | 37 ++++++++++++----
 .../FileLevelDocBlock/DifferentTagContents.php     | 25 +++++++++++
 6 files changed, 116 insertions(+), 12 deletions(-)
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/DifferentTagContents.php

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

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

commit fa1e3916d5be4c34e73adf78b9902ffc0f49f263
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 16:53:08 2017 +0100

    Don't show warnings on blocks that we just added.

 framework/Refactor/lib/Horde/Refactor/Rule.php     | 42 ++++++++++++++++
 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  | 58 +++++++++++++---------
 2 files changed, 76 insertions(+), 24 deletions(-)

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

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

commit e39b859bed9a28e06a5123b22cc00758acaaaffc
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 17:05:03 2017 +0100

    Clone config to avoid side-effects because we manipulate it.

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

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

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

commit f869aa2023bb29355ad51ffadf6c88579bcee756
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 21:01:39 2017 +0100

    Use an exception to stop processing on unrecoverable errors.

 framework/Refactor/lib/Horde/Refactor/Cli.php      | 11 +++++----
 framework/Refactor/lib/Horde/Refactor/Rule.php     | 26 ++++------------------
 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  |  3 +--
 .../lib/Horde/Refactor/Rule/Php4Constructor.php    |  1 -
 framework/Refactor/package.xml                     |  2 ++
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  | 23 ++++++++++---------
 6 files changed, 27 insertions(+), 39 deletions(-)

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

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

commit c436642ab7420f57704ef210cf5bfd09b63e636d
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 21:03:24 2017 +0100

    Check for different copyright and license information.

 .../Horde/Refactor/Exception/StopProcessing.php    | 30 ++++++++++++++++
 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  | 40 ++++++++++++++++++++--
 framework/Refactor/package.xml                     |  4 +++
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  | 28 +++++++++++++++
 .../ClassLevelDocBlockWithFileLevelDocs.php        |  2 +-
 .../ClassLevelDocsInFileLevel.php                  |  2 +-
 .../FileLevelDocBlock/DifferentCopyrightNames.php  | 25 ++++++++++++++
 .../FileLevelDocBlock/DifferentCopyrightYears.php  | 25 ++++++++++++++
 .../FileLevelDocsInClassLevel.php                  |  2 +-
 .../ClassLevelDocBlockWithFileLevelDocs.php        |  2 +-
 .../refactored/ClassLevelDocsInFileLevel.php       |  2 +-
 .../refactored/FileLevelDocsInClassLevel.php       |  2 +-
 12 files changed, 156 insertions(+), 8 deletions(-)
 create mode 100644 framework/Refactor/lib/Horde/Refactor/Exception/StopProcessing.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/DifferentCopyrightNames.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/DifferentCopyrightYears.php

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

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

commit 6395f4722e7191a51ce3bd529d580ae2cd30765e
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 21:11:34 2017 +0100

    Fix cross check.

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

http://github.com/horde/horde/commit/6395f4722e7191a51ce3bd529d580ae2cd30765e

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

commit 62ce78faff71d37a39c11cd16e1bd219e1c7b6aa
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 21:45:17 2017 +0100

    Completely strip unwanted text.

 .../Horde/Refactor/Config/FileLevelDocBlock.php    | 17 ++++++++++++++
 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  |  5 ++++
 framework/Refactor/package.xml                     |  4 ++++
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  |  1 +
 .../fixtures/FileLevelDocBlock/RemoveStripText.php | 27 ++++++++++++++++++++++
 .../refactored/RemoveStripText.php                 | 25 ++++++++++++++++++++
 6 files changed, 79 insertions(+)
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/RemoveStripText.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/refactored/RemoveStripText.php

http://github.com/horde/horde/commit/62ce78faff71d37a39c11cd16e1bd219e1c7b6aa

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

commit b479b096586ecc2ddc18eb99ed6e493776183a6d
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 21:46:02 2017 +0100

    Don't move file-level text to class-level if it already exists.

 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  | 18 ++++++++-------
 framework/Refactor/package.xml                     |  4 ++++
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  |  1 +
 .../ClassLevelDocsInFileLevelDuplicate.php         | 27 ++++++++++++++++++++++
 .../ClassLevelDocsInFileLevelDuplicate.php         | 25 ++++++++++++++++++++
 5 files changed, 67 insertions(+), 8 deletions(-)
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/ClassLevelDocsInFileLevelDuplicate.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/refactored/ClassLevelDocsInFileLevelDuplicate.php

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

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

commit ce0bb41c2bc3fbb4de694614ef841d4286f2084c
Author: Jan Schneider <jan at horde.org>
Date:   Thu Mar 23 22:08:04 2017 +0100

    Add newline between blocks if missing.

 .../lib/Horde/Refactor/Rule/FileLevelDocBlock.php  |  7 ++++++
 framework/Refactor/package.xml                     |  4 ++++
 .../test/Horde/Refactor/FileLevelDocBlockTest.php  |  1 +
 .../FileLevelDocBlock/MissingLinebreak.php         | 26 +++++++++++++++++++++
 .../refactored/MissingLinebreak.php                | 27 ++++++++++++++++++++++
 5 files changed, 65 insertions(+)
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/MissingLinebreak.php
 create mode 100644 framework/Refactor/test/Horde/Refactor/fixtures/FileLevelDocBlock/refactored/MissingLinebreak.php

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




More information about the commits mailing list