Skip to content

qodana fixes

qodana fixes #122

GitHub Actions / Qodana for PHP failed Mar 4, 2024 in 0s

7 new problems found by Qodana for PHP

Qodana for PHP

7 new problems were found

Inspection name Severity Problems
Null reference 🔶 Warning 1
Efferent coupling between objects ◽️ Notice 2
Class can be 'readonly' ◽️ Notice 2
Duplicated code fragment ◽️ Notice 1
General exception is thrown ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 33 in src/Service/GenericData/V1/Hydrator/Asset/ArchiveHydrator.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Duplicated code fragment

Duplicated code

Check notice on line 35 in src/State/ResetPasswordProcessor.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Efferent coupling between objects

\[EA\] High efferent coupling (20).

Check notice on line 35 in src/Service/GenericData/V1/Hydrator/AssetHydratorService.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Efferent coupling between objects

\[EA\] High efferent coupling (28).

Check warning on line 62 in src/State/ResetPasswordProcessor.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Null reference

\[EA\] Null pointer exception may occur here.

Check notice on line 16 in src/Dto/Asset/MetaData.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Class can be 'readonly'

Class can be 'readonly'

Check notice on line 16 in src/Dto/Asset/Permissions.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Class can be 'readonly'

Class can be 'readonly'

Check notice on line 86 in src/State/ResetPasswordProcessor.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

General exception is thrown

\[EA\] \\Exception is too general. Consider throwing one of SPL exceptions instead.