Skip to content

Commit ff7a966

Browse files
minor #61371 chore: PHP CS Fixer - restore PHP / PHPUnit rulesets (keradus)
This PR was squashed before being merged into the 7.4 branch. Discussion ---------- chore: PHP CS Fixer - restore PHP / PHPUnit rulesets | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix CS <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT relates to symfony/symfony@5d4e211#r163638626 , showing: - possible improvements to codebase that those ruleset can still offer (especially when targetting newest possible target version) - and also preventing old way to still be in use, if someone forget to use new syntax/methods with love by [PHP Coding Standards Fixer](https://cs.symfony.com/) Commits ------- 92940de5e52 chore: PHP CS Fixer - restore PHP / PHPUnit rulesets
2 parents dd232b1 + 3b2cf68 commit ff7a966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Caster/GmpCasterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class GmpCasterTest extends TestCase
2525
public function testCastGmp()
2626
{
2727
$gmpString = gmp_init('1234');
28-
$gmpOctal = gmp_init(010);
28+
$gmpOctal = gmp_init(0o10);
2929
$gmp = gmp_init('01101');
3030
$gmpDump = <<<EODUMP
3131
array:1 [

0 commit comments

Comments
 (0)