Olena Orobei

Results 10 issues of Olena Orobei

### Rule All new PHP files MUST have strict type mode enabled by starting with `declare(strict_types=1)`;. All updated PHP files SHOULD have strict type mode enabled. PHP interfaces SHOULD NOT...

proposal
need to discuss
new rule
technical guidelines
version specifiс
waiting for feedback
Progress: PR created

### Rule PHPDoc formatting for functions and methods. **Acceptance Criteria:** - Sniff covers described on [DevDocs requirements](https://devdocs.magento.com/guides/v2.3/coding-standards/docblock-standard-general.html): > **Functions and methods should have:** >A short description in case it adds...

accepted
new rule
Progress: dev in progress

### Problem Overview Some of the rules like `strict_types` were introduced in later Magento versions and are not applicable to earlier ones. Magento Marketplace still checks the code of extensions...

proposal
need to discuss
version specifiс

### Description All rules that do not apply on test files need to have one more exclude. ``` xml */tests/* ``` ### AC - Rules contain additional exclude. - Additional...

enhancement
Progress: good first issue
Progress: dev in progress

### Background When creating a Block class, a Block class could set its PHTML template in multiple ways: Through XML layout, through a call to `$this->setTemplate()` and through a variable...

proposal
need to discuss
new rule

### Description `Magento2.Classes.ObjectInstantiation` Detects direct object instantiation via `new` keyword. The test run of `Magento2.Classes.ObjectInstantiation` rule againstMagento2 codebase found >2000 issues. Some of them look like false-positive. Examples: ``` Direct...

proposal
need to discuss
new rule

Since I forgot about https://github.com/magento/architecture/pull/161 and force-pushed to my `master`, creating new PR. Hopefully this PR will get the second wind 🙂 ## Problem The use of JSON data format...

dev-guild

Fix and unskip the tests that include user login to adobe stock for 1.0-develop and 2.0-develop ### Actual result (*) #1 ![image](https://user-images.githubusercontent.com/51680850/77906520-c093f300-7290-11ea-9261-cb10638d1315.png) #2 ![image](https://user-images.githubusercontent.com/51680850/77906649-f5a04580-7290-11ea-85fd-69118db9d5bf.png)

has dependency
MFTF tests
Priority: P3
Severity: S3

CurrencyPrecision module contains logic that might be useful for Magento core. Need to investigate the possibility to move CurrencyPrecision to Magento core. Target version - 2.4.x.

enhancement

Describe why the use of Object Manager is considered as a bad practice. ### Acceptance criteria 1. `ObjectManagerSniff.md` file is created. 2. Explanation about why the use of Object Manager...

documentation
accepted
Progress: good first issue