Skip to content

Commit

Permalink
Fix dev:console
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Jan 31, 2024
1 parent 1dc4296 commit 0753b2e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
RECENT CHANGES
==============

7.3.1
-----

- Fix: dev:console broken after psysh update (by Christian Münch)

7.3.0
-----

Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/N98/Magento/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Application extends BaseApplication
/**
* @var string
*/
const APP_VERSION = '7.3.0';
const APP_VERSION = '7.3.1';

/**
* @var int
Expand Down
6 changes: 2 additions & 4 deletions src/N98/Magento/Command/Developer/ConsoleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
error_reporting(E_ERROR | E_WARNING | E_PARSE);
$config = new Configuration();

$php5Parser = new Parser\Php5(new Lexer\Emulative());
$php7Parser = new Parser\Php7(new Lexer\Emulative());
$php8Parser = new Parser\Php8(new Lexer\Emulative());

$parser = new Parser\Multiple([$php5Parser, $php7Parser]);
$cleaner = new CodeCleaner($parser);
$cleaner = new CodeCleaner($php8Parser);
$config->setCodeCleaner($cleaner);

$consoleOutput = new ShellOutput();
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.3.1

0 comments on commit 0753b2e

Please sign in to comment.