Skip to content

Commit 5ccd573

Browse files
committed
Merge pull request #40 from Hywan/fix_typo
In english, no horizontal space before “!”
2 parents 7e0d193 + e5263aa commit 5ccd573

File tree

13 files changed

+28
-28
lines changed

13 files changed

+28
-28
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Features
1717
- Userland API
1818
- SAPI Agnostic - Easily Integrated
1919
- PHP Configuration File Support
20-
- JIT Super Globals - Set Your Own !!
20+
- JIT Super Globals - Set Your Own!!
2121
- Optional readline Support - Comfortable Terminal Operation
2222
- Remote Debugging Support - Bundled Java GUI
2323
- Easy Operation - See Help :)

phpdbg_break.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ PHPDBG_BREAK(lineno) /* {{{ */
105105
if (PHPDBG_G(exec)) {
106106
phpdbg_set_breakpoint_file(phpdbg_current_file(TSRMLS_C), param->num TSRMLS_CC);
107107
} else {
108-
phpdbg_error("Execution context not set !");
108+
phpdbg_error("Execution context not set!");
109109
}
110110
} break;
111111

phpdbg_cmd.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ PHPDBG_API phpdbg_input_t *phpdbg_read_input(char *buffered TSRMLS_DC) /* {{{ */
472472
if ((!(PHPDBG_G(flags) & PHPDBG_IS_REMOTE) && !phpdbg_write(phpdbg_get_prompt(TSRMLS_C))) ||
473473
!fgets(buf, PHPDBG_MAX_CMD, PHPDBG_G(io)[PHPDBG_STDIN])) {
474474
/* the user has gone away */
475-
phpdbg_error("Failed to read console !");
475+
phpdbg_error("Failed to read console!");
476476
PHPDBG_G(flags) |= (PHPDBG_IS_QUITTING|PHPDBG_IS_DISCONNECTED);
477477
zend_bailout();
478478
return NULL;
@@ -489,7 +489,7 @@ PHPDBG_API phpdbg_input_t *phpdbg_read_input(char *buffered TSRMLS_DC) /* {{{ */
489489

490490
if (!cmd) {
491491
/* the user has gone away */
492-
phpdbg_error("Failed to read console !");
492+
phpdbg_error("Failed to read console!");
493493
PHPDBG_G(flags) |= (PHPDBG_IS_QUITTING|PHPDBG_IS_DISCONNECTED);
494494
zend_bailout();
495495
return NULL;
@@ -646,7 +646,7 @@ PHPDBG_API int phpdbg_do_cmd(const phpdbg_command_t *command, phpdbg_input_t *in
646646

647647
rc = command->handler(&param, input TSRMLS_CC);
648648

649-
/* only set last command when it is worth it ! */
649+
/* only set last command when it is worth it! */
650650
if ((rc != FAILURE) &&
651651
!(PHPDBG_G(flags) & PHPDBG_IS_INITIALIZING)) {
652652
PHPDBG_G(lcmd) = (phpdbg_command_t*) command;
@@ -661,7 +661,7 @@ PHPDBG_API int phpdbg_do_cmd(const phpdbg_command_t *command, phpdbg_input_t *in
661661
} else {
662662
/* this should NEVER happen */
663663
phpdbg_error(
664-
"No function executed !!");
664+
"No function executed!!");
665665
}
666666

667667
return rc;

phpdbg_help.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ PHPDBG_HELP(run) /* {{{ */
201201
PHPDBG_HELP(eval) /* {{{ */
202202
{
203203
phpdbg_help_header();
204-
phpdbg_writeln("Access to eval() allows you to change the environment during execution, careful though !!");
204+
phpdbg_writeln("Access to eval() allows you to change the environment during execution, careful though!!");
205205
phpdbg_writeln(EMPTY);
206206
phpdbg_notice("Examples");
207207
phpdbg_writeln("\t%seval $variable", phpdbg_get_prompt(TSRMLS_C));
@@ -293,7 +293,7 @@ PHPDBG_HELP(break) /* {{{ */
293293
++break_command;
294294
}
295295
}
296-
phpdbg_writeln("Note: Conditional breaks are costly, use them sparingly !");
296+
phpdbg_writeln("Note: Conditional breaks are costly, use them sparingly!");
297297
phpdbg_help_footer();
298298
return SUCCESS;
299299
} /* }}} */
@@ -415,7 +415,7 @@ PHPDBG_HELP(list) /* {{{ */
415415
phpdbg_writeln("\t%sl c myClass", phpdbg_get_prompt(TSRMLS_C));
416416
phpdbg_writeln("\tWill print the source of \"myClass\"");
417417
phpdbg_writeln(EMPTY);
418-
phpdbg_writeln("Note: before listing functions you must have a populated function table, try compile !!");
418+
phpdbg_writeln("Note: before listing functions you must have a populated function table, try compile!!");
419419
phpdbg_writeln(EMPTY);
420420
phpdbg_notice("The parameters enclosed by [] are usually optional, but help avoid ambigious commands");
421421
phpdbg_writeln(EMPTY);
@@ -561,7 +561,7 @@ PHPDBG_HELP(shell) /* {{{ */
561561
phpdbg_writeln("\t%s- ls /usr/src/php-src", phpdbg_get_prompt(TSRMLS_C));
562562
phpdbg_writeln("\tWill execute ls /usr/src/php-src, displaying the output in the console");
563563
phpdbg_writeln(EMPTY);
564-
phpdbg_writeln("Note: read only commands please !");
564+
phpdbg_writeln("Note: read only commands please!");
565565
phpdbg_help_footer();
566566
return SUCCESS;
567567
} /* }}} */
@@ -583,8 +583,8 @@ PHPDBG_HELP(options) /* {{{ */
583583
phpdbg_writeln(" -I\tN/A\t\t\tIgnore default .phpdbginit");
584584
phpdbg_writeln(" -O\t-Omy.oplog\t\tSets oplog output file");
585585
phpdbg_writeln(" -r\tN/A\t\t\tRun execution context");
586-
phpdbg_writeln(" -E\tN/A\t\t\tEnable step through eval, careful !");
587-
phpdbg_writeln(" -S\t-Scli\t\t\tOverride SAPI name, careful !");
586+
phpdbg_writeln(" -E\tN/A\t\t\tEnable step through eval, careful!");
587+
phpdbg_writeln(" -S\t-Scli\t\t\tOverride SAPI name, careful!");
588588
#ifndef _WIN32
589589
phpdbg_writeln(" -l\t-l4000\t\t\tSetup remote console ports");
590590
phpdbg_writeln(" -a\t-a192.168.0.3\t\tSetup remote console bind address");

phpdbg_info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ PHPDBG_INFO(literal) /* {{{ */
223223
literal++;
224224
}
225225
} else {
226-
phpdbg_error("Not executing !");
226+
phpdbg_error("Not executing!");
227227
}
228228

229229
return SUCCESS;
@@ -244,7 +244,7 @@ PHPDBG_INFO(memory) /* {{{ */
244244
phpdbg_writeln("|-------> Real:\t%.3f kB",
245245
(float) (zend_memory_peak_usage(1 TSRMLS_CC)/1024));
246246
} else {
247-
phpdbg_error("Memory Manager Disabled !");
247+
phpdbg_error("Memory Manager Disabled!");
248248
}
249249
return SUCCESS;
250250
} /* }}} */

phpdbg_prompt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ static inline void phpdbg_handle_exception(TSRMLS_D) /* }}} */
508508
EG(exception) = NULL;
509509

510510
phpdbg_error(
511-
"Uncaught %s !",
511+
"Uncaught %s!",
512512
Z_OBJCE(exception)->name);
513513

514514
/* call __toString */
@@ -716,15 +716,15 @@ PHPDBG_COMMAND(print) /* {{{ */
716716
PHPDBG_COMMAND(info) /* {{{ */
717717
{
718718
phpdbg_error(
719-
"No information command selected !");
719+
"No information command selected!");
720720

721721
return SUCCESS;
722722
} /* }}} */
723723

724724
PHPDBG_COMMAND(set) /* {{{ */
725725
{
726726
phpdbg_error(
727-
"No information command selected !");
727+
"No information command selected!");
728728

729729
return SUCCESS;
730730
} /* }}} */
@@ -744,7 +744,7 @@ PHPDBG_COMMAND(break) /* {{{ */
744744
if (PHPDBG_G(exec)) {
745745
phpdbg_set_breakpoint_file(phpdbg_current_file(TSRMLS_C), param->num TSRMLS_CC);
746746
} else {
747-
phpdbg_error("Execution context not set !");
747+
phpdbg_error("Execution context not set!");
748748
}
749749
break;
750750
case METHOD_PARAM:

phpdbg_set.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ PHPDBG_SET(oplog) /* {{{ */
178178
fclose(
179179
PHPDBG_G(oplog));
180180
} else {
181-
phpdbg_error("Oplog is not enabled !");
181+
phpdbg_error("Oplog is not enabled!");
182182
}
183183
} break;
184184
} break;

test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function test($x, $y = 0) {
3030
$dbg = new phpdbg();
3131

3232
var_dump(
33-
$dbg->isGreat("PHP Rocks !!"));
33+
$dbg->isGreat("PHP Rocks!!"));
3434

3535
foreach (test(1,2) as $gen)
3636
continue;

tests/run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ public function __construct(TestsConfiguration &$config, &$file) {
421421
}
422422

423423
/**
424-
* Obvious !!
424+
* Obvious!!
425425
*
426426
*/
427427
public function getResult() {

tutorials/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class phpdbg {
8080

8181
$dbg = new phpdbg();
8282

83-
var_dump($dbg->isGreat("PHP Rocks !!"));
83+
var_dump($dbg->isGreat("PHP Rocks!!"));
8484
?>
8585
```
8686

tutorials/java/src/phpdbg/ui/JConsole.form

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
</Component>
181181
<Component class="javax.swing.JTextField" name="input">
182182
<Properties>
183-
<Property name="toolTipText" type="java.lang.String" value="Enter phpdbg commands here !"/>
183+
<Property name="toolTipText" type="java.lang.String" value="Enter phpdbg commands here!"/>
184184
<Property name="enabled" type="boolean" value="false"/>
185185
</Properties>
186186
<Events>

tutorials/java/src/phpdbg/ui/JConsole.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
121121

122122
hostnameLabel.setText("Hostname:");
123123

124-
input.setToolTipText("Enter phpdbg commands here !");
124+
input.setToolTipText("Enter phpdbg commands here!");
125125
input.setEnabled(false);
126126
input.addKeyListener(new java.awt.event.KeyAdapter() {
127127
public void keyReleased(java.awt.event.KeyEvent evt) {
@@ -344,7 +344,7 @@ public String getHost() {
344344
if (address != null && address.length() > 0) {
345345
return address;
346346
} else {
347-
messageBox("Invalid hostname provided !", MessageType.WARN);
347+
messageBox("Invalid hostname provided!", MessageType.WARN);
348348
}
349349

350350
return null;
@@ -354,7 +354,7 @@ public Integer getStdinPort() {
354354
try {
355355
return Integer.parseInt(stdinPort.getText());
356356
} catch (NumberFormatException ex) {
357-
messageBox("Invalid stdin port provided !", MessageType.WARN);
357+
messageBox("Invalid stdin port provided!", MessageType.WARN);
358358
}
359359
return 0;
360360
}
@@ -363,7 +363,7 @@ public Integer getStdoutPort() {
363363
try {
364364
return Integer.parseInt(stdoutPort.getText());
365365
} catch (NumberFormatException ex) {
366-
messageBox("Invalid stdout port provided !", MessageType.WARN);
366+
messageBox("Invalid stdout port provided!", MessageType.WARN);
367367
}
368368
return 0;
369369
}

tutorials/simples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ phpdbg> print class myClassName
4242
Introspection doesn't only provide you with names, but the addresses of every opcode in every statement, which you may use to specify with as much precision as
4343
is possible where to break execution.
4444

45-
**There is a print command for particular methods, useful if a class is very large and your screen is not !**
45+
**There is a print command for particular methods, useful if a class is very large and your screen is not!**
4646

4747
At this point, break points are set; the next thing to do is issue the run command:
4848

0 commit comments

Comments
 (0)