Skip to content

Commit c832e70

Browse files
committed
fix - invalid php versions
1 parent a79be3e commit c832e70

8 files changed

+13
-10
lines changed

tests/Original/219-st_reference_spacing.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
//version:80000,
2+
//version:8
33
($obj->get()&$var);
44
($obj->get()&($var));
55
($obj->property &$var);

tests/Original/219-st_reference_spacing.out

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?php
2-
($obj->get() & $var);
3-
($obj->get() & ($var));
4-
($obj->property & $var);
2+
//version:8
3+
($obj->get() &$var);
4+
($obj->get()&($var));
5+
($obj->property &$var);
56
$b = &$a;
67
function a(Typehint &$var) {
78

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
22
//passes:Default,CakePHPStyle
3-
//version:80000
3+
//version:8
44
$a = &$b;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<?php
22
//passes:Default,CakePHPStyle
3-
$a =& $b;
3+
//version:8
4+
$a = &$b;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
2-
//version:700000
32
//passes:MergeNamespaceWithOpenTag,NoSpaceAfterPHPDocBlocks,StripNewlineAfterCurlyOpen,StripNewlineAfterClassOpen,PrettyPrintDocBlocks,AlignTypehint,AlignDoubleSlashComments,GeneratePHPDoc,OrderMethod,DocBlockToComment,StrictComparison,WordWrap,PSR2EmptyFunction
3+
//version:7
44
$a . $b;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2-
//version:700000
2+
33
//passes:MergeNamespaceWithOpenTag,NoSpaceAfterPHPDocBlocks,StripNewlineAfterCurlyOpen,StripNewlineAfterClassOpen,PrettyPrintDocBlocks,AlignTypehint,AlignDoubleSlashComments,GeneratePHPDoc,OrderMethod,DocBlockToComment,StrictComparison,WordWrap,PSR2EmptyFunction
4+
//version:7
45
$a . $b;

tests/Original/255-function-return-reference.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// version:80000
2+
// version:8
33
function& aFunc() {}
44

55
class aClass {

tests/Original/255-function-return-reference.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// version:80000
2+
// version:8
33
function &aFunc() {}
44

55
class aClass {

0 commit comments

Comments
 (0)