8000 autotests fail on mainbranch by victor-v-rad · Pull Request #430 · magento/magento-coding-standard · GitHub
[go: up one dir, main page]

Skip to content

autotests fail on mainbranch #430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class AddArrayAccessInterfaceReturnTypesTest extends AbstractRectorTestCase
/**
* @dataProvider provideData()
*/
public function test(SmartFileInfo $fileInfo): void
public function test(string $fileInfo): void
{
$this->doTestFileInfo($fileInfo);
$this->doTestFile($fileInfo);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class ReplaceMbStrposNullLimitTest extends AbstractRectorTestCase
/**
* @dataProvider provideData()
*/
public function test(SmartFileInfo $fileInfo): void
public function test(string $fileInfo): void
{
$this->doTestFileInfo($fileInfo);
$this->doTestFile($fileInfo);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class ReplaceNewDateTimeNullTest extends AbstractRectorTestCase
/**
* @dataProvider provideData()
*/
public function test(SmartFileInfo $fileInfo): void
public function test(string $fileInfo): void
{
$this->doTestFileInfo($fileInfo);
$this->doTestFile($fileInfo);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class ReplacePregSplitNullLimitTest extends AbstractRectorTestCase
/**
* @dataProvider provideData()
*/
public function test(SmartFileInfo $fileInfo): void
public function test(string $fileInfo): void
{
$this->doTestFileInfo($fileInfo);
$this->doTestFile($fileInfo);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A set of Magento rules for [PHP_CodeSniffer](https://github.com/squizlabs/PHP_Co

## Installation within a Magento 2 site

To use within your Magento 2 project you can use:
To TEST use within your Magento 2 project you can use:

```bash
composer require --dev magento/magento-coding-standard
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ext-dom": "*",
"phpcompatibility/php-compatibility": "^9.3",
"squizlabs/php_codesniffer": "^3.6.1",
"rector/rector": "^0.13.0"
"rector/rector": "^0.14.8"
},
"require-dev": {
"phpunit/phpunit": "^9.5.8"
Expand Down
73 changes: 35 additions & 38 deletions composer.lock

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

0