]> git.mxchange.org Git - friendica.git/commit
Changing Friendica\App\Mode from static methods to public methods
authorPhilipp Holzer <admin@philipp.info>
Sat, 6 Oct 2018 14:27:20 +0000 (16:27 +0200)
committerPhilipp Holzer <admin@philipp.info>
Sat, 6 Oct 2018 14:27:20 +0000 (16:27 +0200)
commit31148e25cf6d800851064813689f8fba6340fb5c
tree1ffd27a83553dcced0273a947964f266af7de23b
parent5014779052b1d1a748ee66c9c0d9595a500b344b
Changing Friendica\App\Mode from static methods to public methods

- Changing from static methods to public methods
- Adding dev-composer-dependency Mockery for static method mocking (f.e. Config, DBA)
- Adding ModeTest with Mocking
- removing bootstrap from phpunit.xml because of double loading tests\bootstrap.php
21 files changed:
bin/auth_ejabberd.php
bin/daemon.php
composer.json
composer.lock
index.php
phpunit.xml
src/App.php
src/App/Mode.php
src/Core/Config.php
src/Core/Console/ArchiveContact.php
src/Core/Console/Cache.php
src/Core/Console/Config.php
src/Core/Console/GlobalCommunityBlock.php
src/Core/Console/GlobalCommunitySilence.php
src/Core/Console/Maintenance.php
src/Core/Console/NewPassword.php
src/Core/Console/PostUpdate.php
src/Core/PConfig.php
tests/Util/VFSTrait.php [new file with mode: 0644]
tests/src/App/ModeTest.php [new file with mode: 0644]
tests/src/Core/Console/ConsoleTest.php