style: 🎨 remove rule on php cs
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 1m8s
repod / nodejs (push) Successful in 1m7s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-11-10 16:01:21 +01:00
parent b7e114f131
commit c8fa87d03d
8 changed files with 14 additions and 7 deletions

View File

@ -13,7 +13,6 @@ class MyConfig extends Config
$rules = parent::getRules();
$rules['@PhpCsFixer'] = true;
$rules['curly_braces_position']['classes_opening_brace'] = 'next_line_unless_newline_at_signature_end';
$rules['phpdoc_separation'] = false;
$rules['phpdoc_to_comment'] = false;
return $rules;
}

View File

@ -17,9 +17,9 @@
},
"require-dev": {
"nextcloud/ocp": "^30.0.2",
"roave/security-advisories": "dev-latest",
"nextcloud/coding-standard": "^1.3.2",
"rector/rector": "^1.2.10",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "^5.26.1"
},
"config": {

2
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "1b3b97dd0074d6decb4ce7f570ef7d4e",
"content-hash": "f63004cd7dd2ace25dfec89f0ea70b76",
"packages": [],
"packages-dev": [
{

View File

@ -20,6 +20,7 @@ class EpisodeActionReader extends CoreEpisodeActionReader
* Specs : https://github.com/Podcast-Standards-Project/PSP-1-Podcast-RSS-Specification/blob/main/README.md.
*
* @return EpisodeActionExtraData[]
*
* @throws \Exception if the XML data could not be parsed
*/
public function parseRssXml(string $xmlString, ?int $fetchedAtUnix = null): array {

View File

@ -8,7 +8,9 @@ class EpisodeActionReader
{
/**
* @param array $episodeActionsArray []
*
* @return EpisodeAction[]
*
* @throws \InvalidArgumentException
*/
public function fromArray(array $episodeActionsArray) {}

View File

@ -29,6 +29,7 @@ class PodcastData implements \JsonSerializable
/**
* @return PodcastData
*
* @throws \Exception if the XML data could not be parsed
*/
public static function parseRssXml(string $xmlString, ?int $fetchedAtUnix = null) {}
@ -82,6 +83,7 @@ class PodcastData implements \JsonSerializable
/**
* @param PodcastDataType $data
*
* @return PodcastData
*/
public static function fromArray(array $data) {}

View File

@ -21,6 +21,7 @@ class EpisodeActionMapper extends QBMapper
/**
* @return EpisodeActionEntity[]
*
* @throws Exception
*/
public function findAll(int $sinceTimestamp, string $userId) {}

View File

@ -14,12 +14,14 @@ class EpisodeActionWriter
/**
* @return EpisodeActionEntity
*
* @throws Exception
*/
public function save(EpisodeActionEntity $episodeActionEntity) {}
/**
* @return EpisodeActionEntity
*
* @throws Exception
*/
public function update(EpisodeActionEntity $episodeActionEntity) {}