-
-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to new phpstan rules, add static fixes (#18)
* update to new phpstan rules, add static fixes * [ci-review] Rector Rectify Co-authored-by: kaizen-ci <info@kaizen-ci.org>
- Loading branch information
1 parent
70ef6eb
commit f8b0ac3
Showing
12 changed files
with
83 additions
and
70 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
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
File renamed without changes.
12 changes: 7 additions & 5 deletions
12
...r/EditorConfigIdiosyncraticParserTest.php → ...orConfigParser/EditorConfigParserTest.php
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
File renamed without changes.
40 changes: 0 additions & 40 deletions
40
packages/FileFormatter/Contract/EditorConfig/EditorConfigParserInterface.php
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Rector\FileFormatter\ValueObject; | ||
|
||
final class EditorConfigOption | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public const INDENT_STYLE = 'indent_style'; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public const INDENT_SIZE = 'indent_size'; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public const END_OF_LINE = 'end_of_line'; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public const INSERT_FINAL_NEWLINE = 'insert_final_newline'; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public const TAB_WIDTH = 'tab_width'; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace PhpCsFixer\Tokenizer; | ||
|
||
if (class_exists('PhpCsFixer\Tokenizer\Tokens')) { | ||
return; | ||
} | ||
|
||
final class Tokens extends \SplFixedArray | ||
{ | ||
|
||
} |