Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from TheDragonCode/2.x
Fixed bug with applying risky changes
- Loading branch information
Showing
18 changed files
with
139 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Config; | ||
|
||
require __DIR__ . '/main.php'; | ||
|
||
$rules['@PHP70Migration'] = true; | ||
$rules['@PHP70Migration:risky'] = true; | ||
$rules['@PHP71Migration'] = true; | ||
$rules['@PHP71Migration:risky'] = true; | ||
$rules['@PSR12:risky'] = true; | ||
|
||
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,4 @@ | |
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Config; | ||
|
||
require __DIR__ . '/main.php'; | ||
|
||
$rules['@PHP70Migration'] = true; | ||
$rules['@PHP70Migration:risky'] = true; | ||
$rules['@PHP71Migration'] = true; | ||
$rules['@PHP71Migration:risky'] = true; | ||
$rules['@PHP73Migration'] = true; | ||
$rules['@PSR12:risky'] = true; | ||
|
||
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,4 @@ | |
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Config; | ||
|
||
require __DIR__ . '/main.php'; | ||
|
||
$rules['@PHP70Migration'] = true; | ||
$rules['@PHP70Migration:risky'] = true; | ||
$rules['@PHP71Migration'] = true; | ||
$rules['@PHP71Migration:risky'] = true; | ||
$rules['@PHP73Migration'] = true; | ||
$rules['@PHP74Migration'] = true; | ||
$rules['@PHP74Migration:risky'] = true; | ||
$rules['@PSR12:risky'] = true; | ||
|
||
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,4 @@ | |
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Config; | ||
|
||
require __DIR__ . '/main.php'; | ||
|
||
$rules['@PHP70Migration'] = true; | ||
$rules['@PHP70Migration:risky'] = true; | ||
$rules['@PHP71Migration'] = true; | ||
$rules['@PHP71Migration:risky'] = true; | ||
$rules['@PHP73Migration'] = true; | ||
$rules['@PHP74Migration'] = true; | ||
$rules['@PHP74Migration:risky'] = true; | ||
$rules['@PHP80Migration'] = true; | ||
$rules['@PHP80Migration:risky'] = true; | ||
$rules['@PSR12:risky'] = true; | ||
|
||
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,4 @@ | |
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Config; | ||
|
||
require __DIR__ . '/main.php'; | ||
|
||
$rules['@PHP70Migration'] = true; | ||
$rules['@PHP71Migration'] = true; | ||
$rules['@PHP73Migration'] = true; | ||
$rules['@PHP74Migration'] = true; | ||
$rules['@PHP80Migration'] = true; | ||
$rules['@PHP81Migration'] = true; | ||
$rules['@PSR12:risky'] = true; | ||
|
||
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,4 @@ | |
return (new Config()) | ||
->setFinder($finder) | ||
->setUsingCache(false) | ||
->setRiskyAllowed(true) | ||
->setRules($rules); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Tests; | ||
|
||
use PHPUnit\Framework\TestCase as BaseTestCase; | ||
|