Skip to content

Commit

Permalink
Merge pull request #864 from ergebnis/fix/target
Browse files Browse the repository at this point in the history
Fix: Target PHP versions
  • Loading branch information
localheinz authored Sep 15, 2023
2 parents c538145 + fabee3d commit 52ea8ae
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`5.15.1...main`][5.15.1...main].

### Fixed

- Fixed target PHP versions in `Config\Ruleset\Php53`, `Config\Ruleset\Php54`, `Config\Ruleset\Php55`, `Config\Ruleset\Php56`, and `Config\Ruleset\Php70` ([#864]), by [@localheinz]

## [`5.15.1`][5.15.1]

For a full diff see [`5.15.0...5.15.1`][5.15.0...5.15.1].
Expand Down Expand Up @@ -1143,6 +1147,7 @@ For a full diff see [`d899e77...1.0.0`][d899e77...1.0.0].
[#850]: https://github.com/ergebnis/php-cs-fixer-config/pull/850
[#856]: https://github.com/ergebnis/php-cs-fixer-config/pull/856
[#857]: https://github.com/ergebnis/php-cs-fixer-config/pull/857
[#864]: https://github.com/ergebnis/php-cs-fixer-config/pull/864

[@dependabot]: https://github.com/apps/dependabot
[@linuxjuggler]: https://github.com/linuxjuggler
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php53.php
Original file line number Diff line number Diff line change
Expand Up @@ -810,5 +810,5 @@ final class Php53 extends AbstractRuleSet implements ExplicitRuleSet
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 50300;
}
2 changes: 1 addition & 1 deletion src/RuleSet/Php54.php
Original file line number Diff line number Diff line change
Expand Up @@ -812,5 +812,5 @@ final class Php54 extends AbstractRuleSet implements ExplicitRuleSet
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 50400;
}
2 changes: 1 addition & 1 deletion src/RuleSet/Php55.php
Original file line number Diff line number Diff line change
Expand Up @@ -821,5 +821,5 @@ final class Php55 extends AbstractRuleSet implements ExplicitRuleSet
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 50500;
}
2 changes: 1 addition & 1 deletion src/RuleSet/Php56.php
Original file line number Diff line number Diff line change
Expand Up @@ -821,5 +821,5 @@ final class Php56 extends AbstractRuleSet implements ExplicitRuleSet
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 50600;
}
2 changes: 1 addition & 1 deletion src/RuleSet/Php70.php
Original file line number Diff line number Diff line change
Expand Up @@ -821,5 +821,5 @@ final class Php70 extends AbstractRuleSet implements ExplicitRuleSet
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 70000;
}
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php53Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -815,5 +815,5 @@ final class Php53Test extends ExplicitRuleSetTestCase
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 50300;
}
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php54Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -817,5 +817,5 @@ final class Php54Test extends ExplicitRuleSetTestCase
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 50400;
}
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php55Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -826,5 +826,5 @@ final class Php55Test extends ExplicitRuleSetTestCase
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 50500;
}
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php56Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -826,5 +826,5 @@ final class Php56Test extends ExplicitRuleSetTestCase
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 50600;
}
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php70Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -826,5 +826,5 @@ final class Php70Test extends ExplicitRuleSetTestCase
'less_and_greater' => true,
],
];
protected int $targetPhpVersion = 70100;
protected int $targetPhpVersion = 70000;
}

0 comments on commit 52ea8ae

Please sign in to comment.