Skip to content
GitHub Actions / Qodana for PHP failed Jan 26, 2024 in 0s

30 new problems found by Qodana for PHP

Qodana for PHP

30 new problems were found

Inspection name Severity Problems
Missing strict types declaration 🔴 Failure 1
Line is longer than allowed by code style 🔶 Warning 6
Undefined class 🔶 Warning 4
Undefined namespace 🔶 Warning 2
Null reference 🔶 Warning 1
One-time use variables 🔶 Warning 1
Property can be 'readonly' ◽️ Notice 5
Unnecessary double quotes ◽️ Notice 2
Yoda/regular conditions style usage ◽️ Notice 1
Efferent coupling between objects ◽️ Notice 1
Non-optimal if conditions ◽️ Notice 1
Redundant optional argument ◽️ Notice 1
Traditional syntax array literal detected ◽️ Notice 1
Unnecessary local variable ◽️ Notice 1
Unused import ◽️ 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 51 in src/State/ResetPasswordProcessor.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Yoda/regular conditions style usage

\[EA\] Regular conditions style should be used instead.

Check notice on line 26 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 warning on line 96 in src/State/ResetPasswordProcessor.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Line is longer than allowed by code style

Line is longer than allowed by code style (\> 120 columns)

Check warning on line 55 in src/DependencyInjection/PimcoreStudioApiExtension.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Line is longer than allowed by code style

Line is longer than allowed by code style (\> 120 columns)

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Line is longer than allowed by code style

Line is longer than allowed by code style (\> 120 columns)

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Line is longer than allowed by code style

Line is longer than allowed by code style (\> 120 columns)

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Line is longer than allowed by code style

Line is longer than allowed by code style (\> 120 columns)

Check warning on line 55 in src/DependencyInjection/PimcoreStudioApiExtension.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Line is longer than allowed by code style

Line is longer than allowed by code style (\> 120 columns)

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Non-optimal if conditions

\[EA\] This condition execution costs less than the previous one.

Check warning on line 49 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 warning on line 28 in src/State/AssetProvider.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

One-time use variables

\[EA\] Variable $test is redundant.

Check failure on line 1 in src/Serializer/AssetNormalizer.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Missing strict types declaration

Strict types declaration is missing

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Property can be 'readonly'

Property can be 'readonly'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Property can be 'readonly'

Property can be 'readonly'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Property can be 'readonly'

Property can be 'readonly'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Property can be 'readonly'

Property can be 'readonly'

Check notice on line 17 in src/Serializer/AssetNormalizer.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Property can be 'readonly'

Property can be 'readonly'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Redundant optional argument

Argument matches the parameter's default value

Check notice on line 21 in src/Serializer/AssetNormalizer.php

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Traditional syntax array literal detected

Traditional syntax array literal used

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'LostPasswordEvent'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'AdminEvents'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'AdminEvents'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined class

Undefined class 'LostPasswordEvent'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined namespace

Undefined namespace 'Login'

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

See this annotation in the file changed.

@github-actions github-actions / Qodana for PHP

Undefined namespace

Undefined namespace 'Event'