Skip to content

Commit 0753b2e

Browse files
committed
Fix dev:console
1 parent 1dc4296 commit 0753b2e

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
RECENT CHANGES
22
==============
33

4+
7.3.1
5+
-----
6+
7+
- Fix: dev:console broken after psysh update (by Christian Münch)
8+
49
7.3.0
510
-----
611

composer.lock

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/N98/Magento/Application.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Application extends BaseApplication
4747
/**
4848
* @var string
4949
*/
50-
const APP_VERSION = '7.3.0';
50+
const APP_VERSION = '7.3.1';
5151

5252
/**
5353
* @var int

src/N98/Magento/Command/Developer/ConsoleCommand.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
9797
error_reporting(E_ERROR | E_WARNING | E_PARSE);
9898
$config = new Configuration();
9999

100-
$php5Parser = new Parser\Php5(new Lexer\Emulative());
101-
$php7Parser = new Parser\Php7(new Lexer\Emulative());
100+
$php8Parser = new Parser\Php8(new Lexer\Emulative());
102101

103-
$parser = new Parser\Multiple([$php5Parser, $php7Parser]);
104-
$cleaner = new CodeCleaner($parser);
102+
$cleaner = new CodeCleaner($php8Parser);
105103
$config->setCodeCleaner($cleaner);
106104

107105
$consoleOutput = new ShellOutput();

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.0
1+
7.3.1

0 commit comments

Comments
 (0)