[dokuwiki] git changes 2022-10-28

  • From: DokuWiki Develtools <xref@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 28 Oct 2022 03:00:03 +0200


Good Morning!

These are the git changes for DokuWiki committed
yesterday. Please test them and report bugs.

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

http://github.com/splitbrain/dokuwiki/commit/17d97b8f3c0d1d3a461cfcabdf033a15c8980306
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Oct 27 18:47:35 2022 +0200

    fix type hints for new php-dom-wrapper


http://github.com/splitbrain/dokuwiki/commit/98640fd3947e9ff996e1c9206b5f845465794486
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Oct 27 17:55:15 2022 +0200

    Move PSR compliant tests to the apropriate namespaces
    
    Having "inc" in the namespace is awkward. Instead the test class
    namespaces now correspond to their real class namespaces.
    
    With further refactorings we should get rid of most of the stuff in
    tests/inc
    
    this is a continuation of #3812


http://github.com/splitbrain/dokuwiki/commit/f4ad1e19e26ecb8f452eb20affb0b8473273f9d0
Merge: a6afc2128 acdf738a6
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Oct 27 14:57:40 2022 +0200

    Merge pull request #3814 from splitbrain/exphpquery
    
    replace phpquery by php-dom-wrapper #3308


http://github.com/splitbrain/dokuwiki/commit/a6afc21287dafba82916755b17ed4e16ce963623
Merge: 319638369 b54ce96cb
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Oct 27 14:56:50 2022 +0200

    Merge pull request #3812 from splitbrain/testns
    
    Test Autoloading Cleanup


http://github.com/splitbrain/dokuwiki/commit/3196383696ad275abf13c5030bfbb42ffb7863bb
Merge: 07b2720c5 0772dde29
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Thu Oct 27 09:12:26 2022 +0200

    Merge pull request #3817 from splitbrain/configArrayHandling
    
    Fix handling of unknown array settings


http://github.com/splitbrain/dokuwiki/commit/0772dde297e1ba8cd913370fcdf9a3f959574ee0
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 26 16:45:37 2022 +0200

    Fix handling of unknown array settings
    
    When a plugin used an array setting and was then installed, the old
    configuration can remain in local.php. It is handled by the
    SettingUndefined class. However this class used the base out() mechanism
    which didn't know about arrays. The result was a fatal error resulting
    in a completely empty config file.
    
    This moves the error handling from the SettingArray class to the base
    class which fixes the original problem.
    
    It also adds a check if the Writer is about to write a completely empty
    config file and refuses to do so, throwing an Exception.
    
    Probably related to #3777


http://github.com/splitbrain/dokuwiki/commit/acdf738a61532360131323876e96f504db0a2b0a
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 19 20:53:33 2022 +0200

    replace phpquery by php-dom-wrapper #3308
    
    This replaces the outdated phpquery library by the newer and maintained
    php-dom-wrapper. Usage is similar but not a 1:1 replacement. phpQuery is
    left in but marked as deprecated.


http://github.com/splitbrain/dokuwiki/commit/b54ce96cb229c4658e520f6a426a930cb157791a
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 19 14:05:54 2022 +0200

    add proper namespace to test classes
    
    This adds the test namespace to those test classes that are already in
    PSR4 format.


http://github.com/splitbrain/dokuwiki/commit/ec85aeb2b937965fb2763d5c0b1e1fa03b971c7c
Author: Andreas Gohr <andi[at]splitbrain.org>
Date:   Wed Oct 19 13:07:40 2022 +0200

    fix autoloading for tests
    
    This replaces my attempt in 12ebce974be688ac34bf4389645d5fc7baa29cc7
    
    The canonical namespace for DokuWiki core tests is dokuwiki/test/ and
    this is mapped to _test/tests now in the autoloader.
    
    This means the majority of tests is in the dokuwiki/test/inc namespace.
    
    Mockfiles are located at _test/mock and have the namespace
    dokuwiki/test/mock - if that's good or bad is debatable. I simply kept
    it as it always has been. But there might be an argument for having mock
    objects closer to the tests that use them (eg. right next to the test
    files).

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

You can download individual diffs or patches by appending .diff or
.patch to the given commit URLs above.

Bye,
your git changelog mailer


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] git changes 2022-10-28 - DokuWiki Develtools