Skip to content

Commit

Permalink
Automated php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
dmetzner authored and Catrobot committed Apr 5, 2021
1 parent 52e42ab commit 1cf887d
Show file tree
Hide file tree
Showing 92 changed files with 1,016 additions and 231 deletions.
7 changes: 7 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ Api/AuthenticationApiInterface.php
Api/MediaLibraryApiInterface.php
Api/NotificationsApiInterface.php
Api/ProjectsApiInterface.php
Api/SearchApiInterface.php
Api/UserApiInterface.php
Api/UtilityApiInterface.php
Controller/AuthenticationController.php
Controller/Controller.php
Controller/MediaLibraryController.php
Controller/NotificationsController.php
Controller/ProjectsController.php
Controller/SearchController.php
Controller/UserController.php
Controller/UtilityController.php
DependencyInjection/Compiler/OpenAPIServerApiPass.php
Expand All @@ -40,6 +42,7 @@ Model/ProjectsCategory.php
Model/RefreshRequest.php
Model/RegisterErrorResponse.php
Model/RegisterRequest.php
Model/SearchResponse.php
Model/SurveyResponse.php
Model/UpdateUserErrorResponse.php
Model/UpdateUserRequest.php
Expand All @@ -53,6 +56,7 @@ Resources/docs/Api/AuthenticationApiInterface.md
Resources/docs/Api/MediaLibraryApiInterface.md
Resources/docs/Api/NotificationsApiInterface.md
Resources/docs/Api/ProjectsApiInterface.md
Resources/docs/Api/SearchApiInterface.md
Resources/docs/Api/UserApiInterface.md
Resources/docs/Api/UtilityApiInterface.md
Resources/docs/Model/BaseUser.md
Expand All @@ -77,6 +81,7 @@ Resources/docs/Model/ProjectsCategory.md
Resources/docs/Model/RefreshRequest.md
Resources/docs/Model/RegisterErrorResponse.md
Resources/docs/Model/RegisterRequest.md
Resources/docs/Model/SearchResponse.md
Resources/docs/Model/SurveyResponse.md
Resources/docs/Model/UpdateUserErrorResponse.md
Resources/docs/Model/UpdateUserRequest.md
Expand All @@ -92,6 +97,7 @@ Tests/Api/AuthenticationApiInterfaceTest.php
Tests/Api/MediaLibraryApiInterfaceTest.php
Tests/Api/NotificationsApiInterfaceTest.php
Tests/Api/ProjectsApiInterfaceTest.php
Tests/Api/SearchApiInterfaceTest.php
Tests/Api/UserApiInterfaceTest.php
Tests/Api/UtilityApiInterfaceTest.php
Tests/AppKernel.php
Expand All @@ -118,6 +124,7 @@ Tests/Model/ProjectsCategoryTest.php
Tests/Model/RefreshRequestTest.php
Tests/Model/RegisterErrorResponseTest.php
Tests/Model/RegisterRequestTest.php
Tests/Model/SearchResponseTest.php
Tests/Model/SurveyResponseTest.php
Tests/Model/UpdateUserErrorResponseTest.php
Tests/Model/UpdateUserRequestAllOfTest.php
Expand Down
2 changes: 1 addition & 1 deletion Api/ApiServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/AuthenticationApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Api/MediaLibraryApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
28 changes: 15 additions & 13 deletions Api/NotificationsApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -48,6 +48,18 @@ interface NotificationsApiInterface
*/
public function setPandaAuth($value);

/**
* Operation notificationIdReadPut.
*
* Mark specified notification as read
*
* @param int $id (required)
* @param string $accept_language (optional)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function notificationIdReadPut(int $id, string $accept_language = null, &$responseCode, array &$responseHeaders);

/**
* Operation notificationsCountGet.
*
Expand All @@ -65,6 +77,7 @@ public function notificationsCountGet(&$responseCode, array &$responseHeaders);
*
* Get user notifications
*
* @param string $accept_language (optional)
* @param int $limit (optional, default to 20)
* @param int $offset (optional, default to 0)
* @param OpenAPI\Server\Model\NotificationsType $type (optional)
Expand All @@ -73,18 +86,7 @@ public function notificationsCountGet(&$responseCode, array &$responseHeaders);
*
* @return OpenAPI\Server\Model\NotificationResponse[]
*/
public function notificationsGet(int $limit = 20, int $offset = 0, NotificationsType $type = null, &$responseCode, array &$responseHeaders);

/**
* Operation notificationsIdReadPut.
*
* Mark specified notification as read
*
* @param int $id (required)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*/
public function notificationsIdReadPut(int $id, &$responseCode, array &$responseHeaders);
public function notificationsGet(string $accept_language = null, int $limit = 20, int $offset = 0, NotificationsType $type = null, &$responseCode, array &$responseHeaders);

/**
* Operation notificationsReadPut.
Expand Down
2 changes: 1 addition & 1 deletion Api/ProjectsApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
61 changes: 61 additions & 0 deletions Api/SearchApiInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?php
/**
* SearchApiInterface
* PHP version 7.1.3
*
* @category Class
* @package OpenAPI\Server
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*/

/**
* Catroweb API
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*
*/

/**
* NOTE: This class is auto generated by the openapi generator program.
* https://github.com/openapitools/openapi-generator
* Do not edit the class manually.
*/

namespace OpenAPI\Server\Api;

use Symfony\Component\HttpFoundation\File\UploadedFile;
use OpenAPI\Server\Model\SearchResponse;

/**
* SearchApiInterface Interface Doc Comment
*
* @category Interface
* @package OpenAPI\Server\Api
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*/
interface SearchApiInterface
{

/**
* Operation searchGet
*
* Search for projects, users,...
*
* @param string $query (required)
* @param string $type (optional, default to ''all'')
* @param int $limit (optional, default to 20)
* @param int $offset (optional, default to 0)
* @param integer $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return OpenAPI\Server\Model\SearchResponse
*
*/
public function searchGet(string $query, string $type = ''all'', int $limit = 20, int $offset = 0, &$responseCode, array &$responseHeaders);
}
2 changes: 1 addition & 1 deletion Api/UserApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
5 changes: 3 additions & 2 deletions Api/UtilityApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -55,10 +55,11 @@ public function healthGet(&$responseCode, array &$responseHeaders);
* Get survey link for given language code.
*
* @param string $lang_code 2 letter Language-Code is based on ISO693-1 (e.g. German &#x3D; de, English &#x3D; en, Russian &#x3D; ru) (required)
* @param string $flavor (optional)
* @param int $responseCode The HTTP response code to return
* @param array $responseHeaders Additional HTTP headers to return with the response ()
*
* @return OpenAPI\Server\Model\SurveyResponse
*/
public function surveyLangCodeGet(string $lang_code, &$responseCode, array &$responseHeaders);
public function surveyLangCodeGet(string $lang_code, string $flavor = null, &$responseCode, array &$responseHeaders);
}
2 changes: 1 addition & 1 deletion Controller/AuthenticationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Controller/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion Controller/MediaLibraryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* API for the Catrobat Share Platform
*
* The version of the OpenAPI document: v1.0.57
* The version of the OpenAPI document: v1.0.58
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading

0 comments on commit 1cf887d

Please sign in to comment.