Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Magento2/Internal/FileProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function __construct(\PHP_CodeSniffer\Files\File $file, array $proxies =
{
$this->file = $file;
$this->proxies = $proxies;
$this->fixer = $file->fixer;
Copy link
Contributor

@bubasuma bubasuma May 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use magic methods _get()/_set() in order to fix the issue for all public properties.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is being removed in #452 (which I expect to be merged in this week), making further changes to this file seems like unnecessary work.

This change is the minimum required to make the tests pass. If you would like to add additional tests and write the necessary code to make them pass, please open a new pull request with those changes.

My recommendation would be to get this merged, then #453, then #452.

// parent constructor is not called intentionally
}

Expand Down