style: 🎨 remove rule on php cs
This commit is contained in:
parent
b7e114f131
commit
c8fa87d03d
@ -13,7 +13,6 @@ class MyConfig extends Config
|
|||||||
$rules = parent::getRules();
|
$rules = parent::getRules();
|
||||||
$rules['@PhpCsFixer'] = true;
|
$rules['@PhpCsFixer'] = true;
|
||||||
$rules['curly_braces_position']['classes_opening_brace'] = 'next_line_unless_newline_at_signature_end';
|
$rules['curly_braces_position']['classes_opening_brace'] = 'next_line_unless_newline_at_signature_end';
|
||||||
$rules['phpdoc_separation'] = false;
|
|
||||||
$rules['phpdoc_to_comment'] = false;
|
$rules['phpdoc_to_comment'] = false;
|
||||||
return $rules;
|
return $rules;
|
||||||
}
|
}
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"nextcloud/ocp": "^30.0.2",
|
"nextcloud/ocp": "^30.0.2",
|
||||||
|
"roave/security-advisories": "dev-latest",
|
||||||
"nextcloud/coding-standard": "^1.3.2",
|
"nextcloud/coding-standard": "^1.3.2",
|
||||||
"rector/rector": "^1.2.10",
|
"rector/rector": "^1.2.10",
|
||||||
"roave/security-advisories": "dev-latest",
|
|
||||||
"vimeo/psalm": "^5.26.1"
|
"vimeo/psalm": "^5.26.1"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
2
composer.lock
generated
2
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "1b3b97dd0074d6decb4ce7f570ef7d4e",
|
"content-hash": "f63004cd7dd2ace25dfec89f0ea70b76",
|
||||||
"packages": [],
|
"packages": [],
|
||||||
"packages-dev": [
|
"packages-dev": [
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,8 @@ class EpisodeActionReader extends CoreEpisodeActionReader
|
|||||||
* Specs : https://github.com/Podcast-Standards-Project/PSP-1-Podcast-RSS-Specification/blob/main/README.md.
|
* Specs : https://github.com/Podcast-Standards-Project/PSP-1-Podcast-RSS-Specification/blob/main/README.md.
|
||||||
*
|
*
|
||||||
* @return EpisodeActionExtraData[]
|
* @return EpisodeActionExtraData[]
|
||||||
* @throws \Exception if the XML data could not be parsed
|
*
|
||||||
|
* @throws \Exception if the XML data could not be parsed
|
||||||
*/
|
*/
|
||||||
public function parseRssXml(string $xmlString, ?int $fetchedAtUnix = null): array {
|
public function parseRssXml(string $xmlString, ?int $fetchedAtUnix = null): array {
|
||||||
$episodes = [];
|
$episodes = [];
|
||||||
|
@ -7,8 +7,10 @@ namespace OCA\GPodderSync\Core\EpisodeAction;
|
|||||||
class EpisodeActionReader
|
class EpisodeActionReader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param array $episodeActionsArray []
|
* @param array $episodeActionsArray []
|
||||||
|
*
|
||||||
* @return EpisodeAction[]
|
* @return EpisodeAction[]
|
||||||
|
*
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
public function fromArray(array $episodeActionsArray) {}
|
public function fromArray(array $episodeActionsArray) {}
|
||||||
|
@ -29,7 +29,8 @@ class PodcastData implements \JsonSerializable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return PodcastData
|
* @return PodcastData
|
||||||
* @throws \Exception if the XML data could not be parsed
|
*
|
||||||
|
* @throws \Exception if the XML data could not be parsed
|
||||||
*/
|
*/
|
||||||
public static function parseRssXml(string $xmlString, ?int $fetchedAtUnix = null) {}
|
public static function parseRssXml(string $xmlString, ?int $fetchedAtUnix = null) {}
|
||||||
|
|
||||||
@ -81,7 +82,8 @@ class PodcastData implements \JsonSerializable
|
|||||||
public function jsonSerialize(): mixed {}
|
public function jsonSerialize(): mixed {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param PodcastDataType $data
|
* @param PodcastDataType $data
|
||||||
|
*
|
||||||
* @return PodcastData
|
* @return PodcastData
|
||||||
*/
|
*/
|
||||||
public static function fromArray(array $data) {}
|
public static function fromArray(array $data) {}
|
||||||
|
@ -21,6 +21,7 @@ class EpisodeActionMapper extends QBMapper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return EpisodeActionEntity[]
|
* @return EpisodeActionEntity[]
|
||||||
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function findAll(int $sinceTimestamp, string $userId) {}
|
public function findAll(int $sinceTimestamp, string $userId) {}
|
||||||
|
@ -14,12 +14,14 @@ class EpisodeActionWriter
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return EpisodeActionEntity
|
* @return EpisodeActionEntity
|
||||||
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function save(EpisodeActionEntity $episodeActionEntity) {}
|
public function save(EpisodeActionEntity $episodeActionEntity) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return EpisodeActionEntity
|
* @return EpisodeActionEntity
|
||||||
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function update(EpisodeActionEntity $episodeActionEntity) {}
|
public function update(EpisodeActionEntity $episodeActionEntity) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user