We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23006a0 commit d91c275Copy full SHA for d91c275
1 file changed
src/WP_CLI/REPL.php
@@ -28,6 +28,7 @@ public function start() {
28
29
if ( self::starts_with( self::non_expressions(), $line ) ) {
30
ob_start();
31
+ // phpcs:ignore Squiz.PHP.Eval.Discouraged -- This is meant to be a REPL, no way to avoid eval.
32
eval( $line );
33
$out = ob_get_clean();
34
if ( 0 < strlen( $out ) ) {
@@ -41,6 +42,7 @@ public function start() {
41
42
43
// Write directly to STDOUT, to sidestep any output buffers created by plugins
44
45
46
$evl = eval( $line );
47
48
0 commit comments