-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
23 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ | |
* @author Théo Fidry <[email protected]> | ||
* @author Juliette Reinders Folmer <[email protected]> | ||
* @author Alessandro Chitolina <[email protected]> | ||
* | ||
* @private | ||
*/ | ||
final class Php extends FileExtensionCompactor | ||
|
@@ -218,7 +219,7 @@ private function retokenizeAttribute(array &$tokens, int $opener): ?array | |
// Multi-line attribute or attribute containing something which looks like a PHP close tag. | ||
// Retokenize the rest of the file after the attribute opener. | ||
if (null === $closer) { | ||
foreach (array_slice($tokens, ($opener + 1)) as $token) { | ||
foreach (array_slice($tokens, $opener + 1) as $token) { | ||
$attributeBody .= $token->text; | ||
} | ||
|
||
|
@@ -230,12 +231,12 @@ private function retokenizeAttribute(array &$tokens, int $opener): ?array | |
if (null !== $closer) { | ||
array_splice( | ||
$tokens, | ||
($opener + 1), | ||
$opener + 1, | ||
count($tokens), | ||
array_slice($subTokens, ($closer + 1)), | ||
array_slice($subTokens, $closer + 1), | ||
); | ||
|
||
$subTokens = array_slice($subTokens, 0, ($closer + 1)); | ||
$subTokens = array_slice($subTokens, 0, $closer + 1); | ||
} | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -46,6 +46,7 @@ | |
* @author Fabien Potencier <[email protected]> | ||
* @author Bernhard Schussek <[email protected]> | ||
* @author Thomas Schulz <[email protected]> | ||
* | ||
* @private | ||
*/ | ||
final class FileSystem extends SymfonyFilesystem | ||
|
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
|
||
/** | ||
* @internal | ||
* | ||
* @private | ||
*/ | ||
final class MapFile | ||
|
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
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 |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
|
||
/** | ||
* @runInSeparateProcess | ||
* | ||
* @coversNothing | ||
*/ | ||
class PhpUnitAnnotationsTest extends TestCase | ||
|