Skip to content

Commit

Permalink
Merge pull request #18 from green-code-initiative/ISSUE_17
Browse files Browse the repository at this point in the history
[ISSUE 17] correction EC34 deprecation rule + CHANGELOG.md update
  • Loading branch information
dedece35 authored Jan 12, 2024
2 parents 2112667 + a6dee13 commit f3a5a97
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- [#17](https://github.com/green-code-initiative/ecoCode-php/issues/17) Correction of error with deprecated EC34 rule
- Update ecocode-rules-specifications to 1.4.7

### Deleted

## [1.4.1] - 2024-01-06
Expand All @@ -36,6 +39,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#121](https://github.com/green-code-initiative/ecoCode/issues/121) new PHP rule : Multiple if-else statement + refactoring implementation
- [#205](https://github.com/green-code-initiative/ecoCode/issues/205) compatibility with SonarQube 10.1

[unreleased]: https://github.com/green-code-initiative/ecoCode-php/compare/v1.4.1...HEAD
[1.4.1]: https://github.com/green-code-initiative/ecoCode-php/compare/v1.4.0...1.4.1
[1.4.0]: https://github.com/green-code-initiative/ecoCode-php/compare/v0.0.0...1.4.0
## Comparison list

[unreleased](https://github.com/green-code-initiative/ecoCode-php/compare/1.4.1...HEAD)
[1.4.1](https://github.com/green-code-initiative/ecoCode-php/compare/1.4.0...1.4.1)
[1.4.0](https://github.com/green-code-initiative/ecoCode-php/releases/tag/1.4.0)
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<sonar-packaging.version>1.23.0.740</sonar-packaging.version>

<!-- temporary version waiting for real automatic release in ecocode repository -->
<ecocode-rules-specifications.version>1.4.6</ecocode-rules-specifications.version>
<ecocode-rules-specifications.version>1.4.7</ecocode-rules-specifications.version>

<maven-shade.version>3.5.0</maven-shade.version>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

@Rule(key = "EC35")
@DeprecatedRuleKey(repositoryKey = "gci-php", ruleKey = "S34")
@DeprecatedRuleKey(repositoryKey = "gci-php", ruleKey = "EC34")
@DeprecatedRuleKey(ruleKey = "EC34")

public class AvoidTryCatchWithFileOpenedCheck extends PHPSubscriptionCheck {

Expand Down

0 comments on commit f3a5a97

Please sign in to comment.