summaryrefslogtreecommitdiffstats
path: root/Console_CommandLine-pr8.patch
blob: 08502937c88b6405176e7fe7acb0aaaf7b859942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
diff --git a/tests/console_commandline_addargument.phpt b/tests/console_commandline_addargument.phpt
index eb2e3af..7f7f689 100644
--- a/tests/console_commandline_addargument.phpt
+++ b/tests/console_commandline_addargument.phpt
@@ -27,7 +27,7 @@ $parser->addArgument('Some invalid name');
 --EXPECTF--
 array(4) {
   ["arg1"]=>
-  object(Console_CommandLine_Argument)#5 (8) {
+  object(Console_CommandLine_Argument)#%d (8) {
     ["multiple"]=>
     bool(false)
     ["optional"]=>
@@ -48,7 +48,7 @@ array(4) {
     }
   }
   ["arg2"]=>
-  object(Console_CommandLine_Argument)#6 (8) {
+  object(Console_CommandLine_Argument)#%d (8) {
     ["multiple"]=>
     bool(true)
     ["optional"]=>
@@ -69,7 +69,7 @@ array(4) {
     }
   }
   ["arg3"]=>
-  object(Console_CommandLine_Argument)#7 (8) {
+  object(Console_CommandLine_Argument)#%d (8) {
     ["multiple"]=>
     bool(true)
     ["optional"]=>
@@ -90,7 +90,7 @@ array(4) {
     }
   }
   ["arg4"]=>
-  object(Console_CommandLine_Argument)#8 (8) {
+  object(Console_CommandLine_Argument)#%d (8) {
     ["multiple"]=>
     bool(false)
     ["optional"]=>
diff --git a/tests/console_commandline_addoption.phpt b/tests/console_commandline_addoption.phpt
index 73da0ea..1386121 100644
--- a/tests/console_commandline_addoption.phpt
+++ b/tests/console_commandline_addoption.phpt
@@ -31,7 +31,7 @@ var_dump($parser->options);
 --EXPECTF--
 array(4) {
   ["opt1"]=>
-  object(Console_CommandLine_Option)#5 (14) {
+  object(Console_CommandLine_Option)#%d (14) {
     ["short_name"]=>
     string(2) "-a"
     ["long_name"]=>
@@ -65,7 +65,7 @@ array(4) {
     }
   }
   ["opt2"]=>
-  object(Console_CommandLine_Option)#6 (14) {
+  object(Console_CommandLine_Option)#%d (14) {
     ["short_name"]=>
     string(2) "-b"
     ["long_name"]=>
@@ -105,7 +105,7 @@ array(4) {
     }
   }
   ["list_opt2"]=>
-  object(Console_CommandLine_Option)#7 (14) {
+  object(Console_CommandLine_Option)#%d (14) {
     ["short_name"]=>
     NULL
     ["long_name"]=>
@@ -148,7 +148,7 @@ array(4) {
     }
   }
   ["opt3"]=>
-  object(Console_CommandLine_Option)#8 (14) {
+  object(Console_CommandLine_Option)#%d (14) {
     ["short_name"]=>
     NULL
     ["long_name"]=>
diff --git a/tests/console_commandline_parse_17.phpt b/tests/console_commandline_parse_17.phpt
index d3f8762..23e1444 100644
--- a/tests/console_commandline_parse_17.phpt
+++ b/tests/console_commandline_parse_17.phpt
@@ -18,8 +18,8 @@ try {
 }
 
 ?>
---EXPECT--
-object(Console_CommandLine_Result)#18 (4) {
+--EXPECTF--
+object(Console_CommandLine_Result)#%d (4) {
   ["options"]=>
   array(11) {
     ["true"]=>
diff --git a/tests/console_commandline_parse_18.phpt b/tests/console_commandline_parse_18.phpt
index 6efc149..93250c4 100644
--- a/tests/console_commandline_parse_18.phpt
+++ b/tests/console_commandline_parse_18.phpt
@@ -18,8 +18,8 @@ try {
 }
 
 ?>
---EXPECT--
-object(Console_CommandLine_Result)#16 (4) {
+--EXPECTF--
+object(Console_CommandLine_Result)#%d (4) {
   ["options"]=>
   array(4) {
     ["verbose"]=>
@@ -37,7 +37,7 @@ object(Console_CommandLine_Result)#16 (4) {
   ["command_name"]=>
   string(7) "install"
   ["command"]=>
-  object(Console_CommandLine_Result)#19 (4) {
+  object(Console_CommandLine_Result)#%d (4) {
     ["options"]=>
     array(2) {
       ["force"]=>
diff --git a/tests/console_commandline_parse_7.phpt b/tests/console_commandline_parse_7.phpt
index 1bfb6fd..de5c6af 100644
--- a/tests/console_commandline_parse_7.phpt
+++ b/tests/console_commandline_parse_7.phpt
@@ -18,8 +18,8 @@ try {
 }
 
 ?>
---EXPECT--
-object(Console_CommandLine_Result)#18 (4) {
+--EXPECTF--
+object(Console_CommandLine_Result)#%d (4) {
   ["options"]=>
   array(11) {
     ["true"]=>
diff --git a/tests/console_commandline_parse_8.phpt b/tests/console_commandline_parse_8.phpt
index ceba877..0925bbe 100644
--- a/tests/console_commandline_parse_8.phpt
+++ b/tests/console_commandline_parse_8.phpt
@@ -19,8 +19,8 @@ try {
 }
 
 ?>
---EXPECT--
-object(Console_CommandLine_Result)#18 (4) {
+--EXPECTF--
+object(Console_CommandLine_Result)#%d (4) {
   ["options"]=>
   array(11) {
     ["true"]=>