Skip to content
Snippets Groups Projects
Verified Commit 6b86cff0 authored by Marco Schlicht's avatar Marco Schlicht :speech_balloon:
Browse files

changed project name to RwthMoodleApiLib

parent 0fa80739
Branches
No related tags found
No related merge requests found
Showing
with 304 additions and 304 deletions
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1515692795">
<project timestamp="1515692795">
<package name="RwthMoodleApi\Exceptions">
<package name="RwthMoodleApiLib\Exceptions">
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/Http/BadResponseException.php">
<class name="RwthMoodleApi\Exceptions\BadResponseException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\BadResponseException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</class>
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -13,7 +13,7 @@
<metrics loc="62" ncloc="17" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/Http/ClientException.php">
<class name="RwthMoodleApi\Exceptions\ClientException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\ClientException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</class>
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -23,7 +23,7 @@
<metrics loc="62" ncloc="17" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/Http/HttpException.php">
<class name="RwthMoodleApi\Exceptions\HttpException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\HttpException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</class>
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -33,7 +33,7 @@
<metrics loc="62" ncloc="17" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/Http/RequestException.php">
<class name="RwthMoodleApi\Exceptions\RequestException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\RequestException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="8" coveredelements="0"/>
</class>
<line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -47,7 +47,7 @@
<metrics loc="87" ncloc="32" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="8" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/Http/ServerException.php">
<class name="RwthMoodleApi\Exceptions\ServerException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\ServerException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</class>
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -57,7 +57,7 @@
<metrics loc="62" ncloc="17" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/Moodle/MoodleError.php">
<class name="RwthMoodleApi\Exceptions\MoodleError" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\MoodleError" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="6" coveredstatements="0" elements="9" coveredelements="0"/>
</class>
<line num="61" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -72,7 +72,7 @@
<metrics loc="94" ncloc="34" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="6" coveredstatements="0" elements="9" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/Moodle/MoodleException.php">
<class name="RwthMoodleApi\Exceptions\MoodleException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\MoodleException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="5" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="0" elements="14" coveredelements="0"/>
</class>
<line num="63" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -92,7 +92,7 @@
<metrics loc="115" ncloc="47" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="0" elements="14" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/Moodle/MoodleResponseException.php">
<class name="RwthMoodleApi\Exceptions\MoodleResponseException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\MoodleResponseException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="8" coveredelements="0"/>
</class>
<line num="59" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -106,13 +106,13 @@
<metrics loc="90" ncloc="34" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="8" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/NotLoggedInException.php">
<class name="RwthMoodleApi\Exceptions\NotLoggedInException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<class name="RwthMoodleApiLib\Exceptions\NotLoggedInException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</class>
<metrics loc="49" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/RwthMoodleApiException.php">
<class name="RwthMoodleApi\Exceptions\RwthMoodleApiException" namespace="RwthMoodleApi\Exceptions" fullPackage="RwthMoodleApi.Exceptions" category="Exceptions" package="RwthMoodleApi" subpackage="Exceptions">
<file name="/var/www/html/rwth_moodle_api/src/Exceptions/RwthMoodleApiLibException.php">
<class name="RwthMoodleApiLib\Exceptions\RwthMoodleApiLibException" namespace="RwthMoodleApiLib\Exceptions" fullPackage="RwthMoodleApiLib.Exceptions" category="Exceptions" package="RwthMoodleApiLib" subpackage="Exceptions">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="59" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -186,7 +186,7 @@
<file name="/var/www/html/rwth_moodle_api/src/Interfaces/Exception/Moodle/MoodleResponseExceptionInterface.php">
<metrics loc="67" ncloc="17" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Interfaces/Exception/RwthMoodleApiExceptionInterface.php">
<file name="/var/www/html/rwth_moodle_api/src/Interfaces/Exception/RwthMoodleApiLibExceptionInterface.php">
<metrics loc="51" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Interfaces/Http/ClientInterface.php">
......@@ -210,12 +210,12 @@
<file name="/var/www/html/rwth_moodle_api/src/Interfaces/Logging/ObserverInterface.php">
<metrics loc="93" ncloc="16" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/Interfaces/RwthMoodleApiInterface.php">
<file name="/var/www/html/rwth_moodle_api/src/Interfaces/RwthMoodleApiLibInterface.php">
<metrics loc="106" ncloc="26" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<package name="RwthMoodleApi\Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/Announcement.php">
<class name="RwthMoodleApi\Controller\Announcement" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<package name="RwthMoodleApiLib\Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/Announcement.php">
<class name="RwthMoodleApiLib\Controller\Announcement" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="5" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="46" elements="48" coveredelements="48"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
......@@ -268,8 +268,8 @@
<line num="143" type="stmt" count="1"/>
<metrics loc="147" ncloc="13" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="46" elements="48" coveredelements="48"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/ApiController.php">
<class name="RwthMoodleApi\Controller\ApiController" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/ApiController.php">
<class name="RwthMoodleApiLib\Controller\ApiController" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="5" coveredelements="5"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
......@@ -279,8 +279,8 @@
<line num="69" type="stmt" count="1"/>
<metrics loc="73" ncloc="24" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="5" coveredelements="5"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/Assignment.php">
<class name="RwthMoodleApi\Controller\Assignment" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/Assignment.php">
<class name="RwthMoodleApiLib\Controller\Assignment" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -290,8 +290,8 @@
<line num="81" type="stmt" count="0"/>
<metrics loc="85" ncloc="24" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/CourseRoom.php">
<class name="RwthMoodleApi\Controller\CourseRoom" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/CourseRoom.php">
<class name="RwthMoodleApiLib\Controller\CourseRoom" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="7" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="58" coveredstatements="56" elements="62" coveredelements="59"/>
</class>
<line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="2"/>
......@@ -358,8 +358,8 @@
<line num="169" type="stmt" count="1"/>
<metrics loc="174" ncloc="21" classes="1" methods="4" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="58" coveredstatements="56" elements="62" coveredelements="59"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/Download.php">
<class name="RwthMoodleApi\Controller\Download" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/Download.php">
<class name="RwthMoodleApiLib\Controller\Download" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -369,8 +369,8 @@
<line num="81" type="stmt" count="0"/>
<metrics loc="85" ncloc="26" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/Email.php">
<class name="RwthMoodleApi\Controller\Email" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/Email.php">
<class name="RwthMoodleApiLib\Controller\Email" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -380,8 +380,8 @@
<line num="80" type="stmt" count="0"/>
<metrics loc="84" ncloc="24" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/ExamResult.php">
<class name="RwthMoodleApi\Controller\ExamResult" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/ExamResult.php">
<class name="RwthMoodleApiLib\Controller\ExamResult" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="7" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -393,8 +393,8 @@
<line num="102" type="stmt" count="0"/>
<metrics loc="106" ncloc="30" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="0" elements="7" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/Hyperlink.php">
<class name="RwthMoodleApi\Controller\Hyperlink" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/Hyperlink.php">
<class name="RwthMoodleApiLib\Controller\Hyperlink" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -404,8 +404,8 @@
<line num="74" type="stmt" count="0"/>
<metrics loc="78" ncloc="24" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/LearningMaterial.php">
<class name="RwthMoodleApi\Controller\LearningMaterial" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/LearningMaterial.php">
<class name="RwthMoodleApiLib\Controller\LearningMaterial" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -415,8 +415,8 @@
<line num="91" type="stmt" count="0"/>
<metrics loc="95" ncloc="24" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/Literatur.php">
<class name="RwthMoodleApi\Controller\Literatur" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/Literatur.php">
<class name="RwthMoodleApiLib\Controller\Literatur" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -426,8 +426,8 @@
<line num="79" type="stmt" count="0"/>
<metrics loc="83" ncloc="24" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/SharedDocument.php">
<class name="RwthMoodleApi\Controller\SharedDocument" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/SharedDocument.php">
<class name="RwthMoodleApiLib\Controller\SharedDocument" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -437,8 +437,8 @@
<line num="88" type="stmt" count="0"/>
<metrics loc="92" ncloc="24" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/Special.php">
<class name="RwthMoodleApi\Controller\Special" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/Special.php">
<class name="RwthMoodleApiLib\Controller\Special" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -448,8 +448,8 @@
<line num="68" type="stmt" count="0"/>
<metrics loc="72" ncloc="23" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="5" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Controller/WhatsNew.php">
<class name="RwthMoodleApi\Controller\WhatsNew" namespace="RwthMoodleApi\Controller" fullPackage="RwthMoodleApi.Controller" category="Controller" package="RwthMoodleApi" subpackage="Controller">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Controller/WhatsNew.php">
<class name="RwthMoodleApiLib\Controller\WhatsNew" namespace="RwthMoodleApiLib\Controller" fullPackage="RwthMoodleApiLib.Controller" category="Controller" package="RwthMoodleApiLib" subpackage="Controller">
<metrics complexity="5" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="30" elements="36" coveredelements="31"/>
</class>
<line num="56" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
......@@ -491,9 +491,9 @@
<metrics loc="150" ncloc="58" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="30" elements="36" coveredelements="31"/>
</file>
</package>
<package name="RwthMoodleApi\Http">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Http/Client.php">
<class name="RwthMoodleApi\Http\Client" namespace="RwthMoodleApi\Http" fullPackage="RwthMoodleApi.Http" category="Http" package="RwthMoodleApi" subpackage="Http">
<package name="RwthMoodleApiLib\Http">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Http/Client.php">
<class name="RwthMoodleApiLib\Http\Client" namespace="RwthMoodleApiLib\Http" fullPackage="RwthMoodleApiLib.Http" category="Http" package="RwthMoodleApiLib" subpackage="Http">
<metrics complexity="8" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="10" elements="19" coveredelements="11"/>
</class>
<line num="34" type="stmt" count="0"/>
......@@ -518,8 +518,8 @@
<line num="117" type="stmt" count="0"/>
<metrics loc="121" ncloc="50" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="10" elements="20" coveredelements="11"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Http/Message.php">
<class name="RwthMoodleApi\Http\Message" namespace="RwthMoodleApi\Http" fullPackage="RwthMoodleApi.Http" category="Http" package="RwthMoodleApi" subpackage="Http">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Http/Message.php">
<class name="RwthMoodleApiLib\Http\Message" namespace="RwthMoodleApiLib\Http" fullPackage="RwthMoodleApiLib.Http" category="Http" package="RwthMoodleApiLib" subpackage="Http">
<metrics complexity="6" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="13" coveredelements="0"/>
</class>
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -537,8 +537,8 @@
<line num="143" type="stmt" count="0"/>
<metrics loc="147" ncloc="41" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="13" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Http/Request.php">
<class name="RwthMoodleApi\Http\Request" namespace="RwthMoodleApi\Http" fullPackage="RwthMoodleApi.Http" category="Http" package="RwthMoodleApi" subpackage="Http">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Http/Request.php">
<class name="RwthMoodleApiLib\Http\Request" namespace="RwthMoodleApiLib\Http" fullPackage="RwthMoodleApiLib.Http" category="Http" package="RwthMoodleApiLib" subpackage="Http">
<metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</class>
<line num="57" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -547,8 +547,8 @@
<line num="61" type="stmt" count="0"/>
<metrics loc="65" ncloc="18" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="0" elements="4" coveredelements="0"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Http/Response.php">
<class name="RwthMoodleApi\Http\Response" namespace="RwthMoodleApi\Http" fullPackage="RwthMoodleApi.Http" category="Http" package="RwthMoodleApi" subpackage="Http">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Http/Response.php">
<class name="RwthMoodleApiLib\Http\Response" namespace="RwthMoodleApiLib\Http" fullPackage="RwthMoodleApiLib.Http" category="Http" package="RwthMoodleApiLib" subpackage="Http">
<metrics complexity="3" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="8" coveredelements="0"/>
</class>
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
......@@ -562,9 +562,9 @@
<metrics loc="97" ncloc="30" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="8" coveredelements="0"/>
</file>
</package>
<package name="RwthMoodleApi\Injector">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Injector/Injector.php">
<class name="RwthMoodleApi\Injector\Injector" namespace="RwthMoodleApi\Injector" fullPackage="RwthMoodleApi.Injector" category="Injector" package="RwthMoodleApi" subpackage="Injector">
<package name="RwthMoodleApiLib\Injector">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Injector/Injector.php">
<class name="RwthMoodleApiLib\Injector\Injector" namespace="RwthMoodleApiLib\Injector" fullPackage="RwthMoodleApiLib.Injector" category="Injector" package="RwthMoodleApiLib" subpackage="Injector">
<metrics complexity="5" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="16" elements="20" coveredelements="20"/>
</class>
<line num="59" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="3"/>
......@@ -585,14 +585,14 @@
<line num="91" type="stmt" count="1"/>
<line num="99" type="method" name="getHttpClient" visibility="public" complexity="1" crap="1" count="1"/>
<line num="102" type="stmt" count="1"/>
<line num="110" type="method" name="getRwthMoodleApi" visibility="public" complexity="1" crap="1" count="1"/>
<line num="110" type="method" name="getRwthMoodleApiLib" visibility="public" complexity="1" crap="1" count="1"/>
<line num="113" type="stmt" count="1"/>
<metrics loc="117" ncloc="48" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="16" elements="20" coveredelements="20"/>
</file>
</package>
<package name="RwthMoodleApi\Logging">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Logging/ConsoleLogger.php">
<class name="RwthMoodleApi\Logging\ConsoleLogger" namespace="RwthMoodleApi\Logging" fullPackage="RwthMoodleApi.Logging" category="Logging" package="RwthMoodleApi" subpackage="Logging">
<package name="RwthMoodleApiLib\Logging">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Logging/ConsoleLogger.php">
<class name="RwthMoodleApiLib\Logging\ConsoleLogger" namespace="RwthMoodleApiLib\Logging" fullPackage="RwthMoodleApiLib.Logging" category="Logging" package="RwthMoodleApiLib" subpackage="Logging">
<metrics complexity="3" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="10" coveredelements="10"/>
</class>
<line num="54" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="3"/>
......@@ -607,8 +607,8 @@
<line num="86" type="stmt" count="1"/>
<metrics loc="90" ncloc="29" classes="1" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="10" coveredelements="10"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Logging/LoggingManager.php">
<class name="RwthMoodleApi\Logging\LoggingManager" namespace="RwthMoodleApi\Logging" fullPackage="RwthMoodleApi.Logging" category="Logging" package="RwthMoodleApi" subpackage="Logging">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Logging/LoggingManager.php">
<class name="RwthMoodleApiLib\Logging\LoggingManager" namespace="RwthMoodleApiLib\Logging" fullPackage="RwthMoodleApiLib.Logging" category="Logging" package="RwthMoodleApiLib" subpackage="Logging">
<metrics complexity="9" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="18" coveredelements="18"/>
</class>
<line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="5"/>
......@@ -631,8 +631,8 @@
<line num="121" type="stmt" count="2"/>
<metrics loc="125" ncloc="50" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="18" coveredelements="18"/>
</file>
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/Logging/Observer.php">
<class name="RwthMoodleApi\Logging\Observer" namespace="RwthMoodleApi\Logging" fullPackage="RwthMoodleApi.Logging" category="Logging" package="RwthMoodleApi" subpackage="Logging">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/Logging/Observer.php">
<class name="RwthMoodleApiLib\Logging\Observer" namespace="RwthMoodleApiLib\Logging" fullPackage="RwthMoodleApiLib.Logging" category="Logging" package="RwthMoodleApiLib" subpackage="Logging">
<metrics complexity="21" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="5" elements="46" coveredelements="8"/>
</class>
<line num="57" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="3"/>
......@@ -684,9 +684,9 @@
<metrics loc="163" ncloc="80" classes="1" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="5" elements="46" coveredelements="8"/>
</file>
</package>
<package name="RwthMoodleApi">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApi/RwthMoodleApi.php">
<class name="RwthMoodleApi\RwthMoodleApi" namespace="RwthMoodleApi" fullPackage="RwthMoodleApi" category="RwthMoodleApi" package="RwthMoodleApi">
<package name="RwthMoodleApiLib">
<file name="/var/www/html/rwth_moodle_api/src/RwthMoodleApiLib/RwthMoodleApiLib.php">
<class name="RwthMoodleApiLib\RwthMoodleApiLib" namespace="RwthMoodleApiLib" fullPackage="RwthMoodleApiLib" category="RwthMoodleApiLib" package="RwthMoodleApiLib">
<metrics complexity="20" methods="7" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="36" elements="53" coveredelements="38"/>
</class>
<line num="67" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/>
......
......
{
"name": "rwthmoodleapi/rwthmoodleapi",
"name": "rwthmoodleapilib/rwthmoodleapilib",
"type": "library",
"description": "A PHP library to remap the moodle api, to look like the L2P api.",
"keywords": [
......@@ -7,7 +7,7 @@
"Moodle",
"L2P"
],
"homepage": "https://git.rwth-aachen.de/moodle_l2p_public/rwth_moodle_api",
"homepage": "https://git.rwth-aachen.de/moodle_l2p_public/rwth_moodle_api_lib.git",
"license": "GPLv3",
"authors": [
{
......@@ -25,7 +25,7 @@
},
"autoload": {
"psr-4": {
"RwthMoodleApi\\": "src/RwthMoodleApi/"
"RwthMoodleApiLib\\": "src/RwthMoodleApiLib/"
}
},
"scripts": {
......
......
......@@ -3,5 +3,5 @@ require __DIR__ . "/vendor/autoload.php";
echo "hallo welt";
$l = new RwthMoodleApi\Logging\ConsoleLogger(4);
$l = new RwthMoodleApiLib\Logging\ConsoleLogger(4);
echo $l->getSeverityLvl();
This diff is collapsed.
#!/bin/bash
# --bootstrap should include the autoload script
# run one test
# phpunit --verbose --colors=always --bootstrap src/autoload.inc.php tests/RwthMoodleApi/RwthMoodleApiTest
# phpunit --colors=always --bootstrap src/autoload.inc.php tests/RwthMoodleApi/RwthMoodleApiTest
# phpunit --verbose --colors=always --bootstrap src/autoload.inc.php tests/RwthMoodleApiLib/RwthMoodleApiLibTest
# phpunit --colors=always --bootstrap src/autoload.inc.php tests/RwthMoodleApiLib/RwthMoodleApiLibTest
phpunit --verbose --strict-global-state --colors=always tests/
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* Announcement
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -51,9 +51,9 @@ class Announcement extends CourseRoom implements AnnouncementInterface
/**
* Constructor
*
* @param RwthMoodleApi\RwthMoodleApiInterface $api RwthMoodleApi
* @param RwthMoodleApiLib\RwthMoodleApiLibInterface $api RwthMoodleApiLib
*/
public function __construct(RwthMoodleApi\RwthMoodleApi $api)
public function __construct(RwthMoodleApiLib\RwthMoodleApiLib $api)
{
parent::__construct($api);
}
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* AnnouncementInterface
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* ApiController
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -51,20 +51,20 @@ class ApiController implements ApiControllerInterface
/**
* Constructor
*
* @param RwthMoodleApi\RwthMoodleApiInterface $api RwthMoodleApi
* @param RwthMoodleApiLib\RwthMoodleApiLibInterface $api RwthMoodleApiLib
*/
public function __construct(RwthMoodleApi\RwthMoodleApiInterface $api)
public function __construct(RwthMoodleApiLib\RwthMoodleApiLibInterface $api)
{
$this->api = $api;
}
/**
* Returns the the RwthMoodleApi object
* Returns the the RwthMoodleApiLib object
*
* @return RwthMoodleApi\RwthMoodleApiInterface
* @return RwthMoodleApiLib\RwthMoodleApiLibInterface
*/
public function getApi()
: RwthMoodleApi\RwthMoodleApiInterface
: RwthMoodleApiLib\RwthMoodleApiLibInterface
{
return $this->api;
}
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* ApiControllerInterface
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -49,12 +49,12 @@ interface ApiControllerInterface
{
/**
* Returns the the RwthMoodleApi object
* Returns the the RwthMoodleApiLib object
*
* @return RwthMoodleApi\RwthMoodleApiInterface
* @return RwthMoodleApiLib\RwthMoodleApiLibInterface
*/
public function getApi()
: RwthMoodleApi\RwthMoodleApiInterface;
: RwthMoodleApiLib\RwthMoodleApiLibInterface;
}
?>
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* Assignment
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -51,9 +51,9 @@ class Assignment extends CourseRoom implements AssignmentInterface
/**
* Constructor
*
* @param RwthMoodleApi\RwthMoodleApiInterface $api RwthMoodleApi
* @param RwthMoodleApiLib\RwthMoodleApiLibInterface $api RwthMoodleApiLib
*/
public function __construct(RwthMoodleApi\RwthMoodleApi $api)
public function __construct(RwthMoodleApiLib\RwthMoodleApiLib $api)
{
parent::__construct($api);
}
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* AssignmentInterface
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* CourseRoom Controller
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -53,9 +53,9 @@ class CourseRoom extends ApiController implements CourseRoomInterface
/**
* Constructor
*
* @param RwthMoodleApi\RwthMoodleApiInterface $api RwthMoodleApi
* @param RwthMoodleApiLib\RwthMoodleApiLibInterface $api RwthMoodleApiLib
*/
public function __construct(RwthMoodleApi\RwthMoodleApiInterface $api)
public function __construct(RwthMoodleApiLib\RwthMoodleApiLibInterface $api)
{
parent::__construct($api);
}
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* CourseRoom Controller Interface
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* Download
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -51,9 +51,9 @@ class Download extends CourseRoom implements DownloadInterface
/**
* Constructor
*
* @param RwthMoodleApi\RwthMoodleApiInterface $api RwthMoodleApi
* @param RwthMoodleApiLib\RwthMoodleApiLibInterface $api RwthMoodleApiLib
*/
public function __construct(RwthMoodleApi\RwthMoodleApi $api)
public function __construct(RwthMoodleApiLib\RwthMoodleApiLib $api)
{
parent::__construct($api);
}
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* DownloadInterface
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* Email
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -51,9 +51,9 @@ class Email extends CourseRoom implements EmailInterface
/**
* Constructor
*
* @param RwthMoodleApi\RwthMoodleApiInterface $api RwthMoodleApi
* @param RwthMoodleApiLib\RwthMoodleApiLibInterface $api RwthMoodleApiLib
*/
public function __construct(RwthMoodleApi\RwthMoodleApi $api)
public function __construct(RwthMoodleApiLib\RwthMoodleApiLib $api)
{
parent::__construct($api);
}
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* EmailInterface
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* ExamResult
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -51,9 +51,9 @@ class ExamResult extends CourseRoom implements ExamResultInterface
/**
* Constructor
*
* @param RwthMoodleApi\RwthMoodleApiInterface $api RwthMoodleApi
* @param RwthMoodleApiLib\RwthMoodleApiLibInterface $api RwthMoodleApiLib
*/
public function __construct(RwthMoodleApi\RwthMoodleApi $api)
public function __construct(RwthMoodleApiLib\RwthMoodleApiLib $api)
{
parent::__construct($api);
}
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* ExamIResultnterface
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......
......
......@@ -4,7 +4,7 @@
*
* PHP Version 7.0
*
* RwthMoodleApi
* RwthMoodleApiLib
* Copyright (C) 2017 Marco Schlicht PIT RWTH Aachen
*
* This program is free software: you can redistribute it and/or modify
......@@ -20,25 +20,25 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category RwthMoodleApi
* @package RwthMoodleApi
* @category RwthMoodleApiLib
* @package RwthMoodleApiLib
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @link https://git.rwth-aachen.de/moodle/rwth_moodle_api
**/
namespace RwthMoodleApi\Controller;
namespace RwthMoodleApiLib\Controller;
use RwthMoodleApi;
use RwthMoodleApi\Logging as Logging;
use RwthMoodleApi\Http as Http;
use RwthMoodleApiLib;
use RwthMoodleApiLib\Logging as Logging;
use RwthMoodleApiLib\Http as Http;
/**
* Hyperlink
*
* @category Controller
* @package RwthMoodleApi
* @package RwthMoodleApiLib
* @subpackage Controller
* @author Marco Schlicht <marcoschlicht@onlinehome.de>
* @copyright 2017 Marco Schlicht PIT RWTH Aachen
......@@ -51,9 +51,9 @@ class Hyperlink extends CourseRoom implements HyperlinkInterface
/**
* Constructor
*
* @param RwthMoodleApi\RwthMoodleApiInterface $api RwthMoodleApi
* @param RwthMoodleApiLib\RwthMoodleApiLibInterface $api RwthMoodleApiLib
*/
public function __construct(RwthMoodleApi\RwthMoodleApi $api)
public function __construct(RwthMoodleApiLib\RwthMoodleApiLib $api)
{
parent::__construct($api);
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment