Skip to content

feat: destructive change linter with --allow-destructive flag#174

Open
jasdeepkhalsa wants to merge 2 commits into
masterfrom
feature/destructive-change-linter
Open

feat: destructive change linter with --allow-destructive flag#174
jasdeepkhalsa wants to merge 2 commits into
masterfrom
feature/destructive-change-linter

fix: restore existing tests broken by DestructiveLinter default-blocking

37d71f4
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 20, 2026 in 23s

Annotations

Check failure on line 20 in src/Linter/LintResult.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add curly braces around the nested statement(s).

See more on https://sonarcloud.io/project/issues?id=DBDiff_DBDiff&issues=AZ7iI3s7utz5k-8tUx7J&open=AZ7iI3s7utz5k-8tUx7J&pullRequest=174

Check failure on line 23 in src/Linter/DestructiveLinter.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=DBDiff_DBDiff&issues=AZ7iI3wWutz5k-8tUx7L&open=AZ7iI3wWutz5k-8tUx7L&pullRequest=174

Check failure on line 27 in src/Linter/LintResult.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add curly braces around the nested statement(s).

See more on https://sonarcloud.io/project/issues?id=DBDiff_DBDiff&issues=AZ7iI3s7utz5k-8tUx7K&open=AZ7iI3s7utz5k-8tUx7K&pullRequest=174