-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump doctrine/coding-standard to latest
- Loading branch information
Showing
29 changed files
with
59 additions
and
158 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 |
---|---|---|
|
@@ -8,19 +8,13 @@ | |
use Metadata\Cache\ClearableCacheInterface; | ||
use Symfony\Component\HttpKernel\CacheClearer\CacheClearerInterface; | ||
|
||
/** | ||
* @author Alexander Strizhak <[email protected]> | ||
*/ | ||
/** @author Alexander Strizhak <[email protected]> */ | ||
class CacheClearer implements CacheClearerInterface | ||
{ | ||
/** | ||
* @var CacheInterface|ClearableCacheInterface | ||
*/ | ||
/** @var CacheInterface|ClearableCacheInterface */ | ||
private $cache; | ||
|
||
/** | ||
* @param CacheInterface|ClearableCacheInterface $cache | ||
*/ | ||
/** @param CacheInterface|ClearableCacheInterface $cache */ | ||
public function __construct(CacheInterface $cache) | ||
{ | ||
$this->cache = $cache; | ||
|
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 |
---|---|---|
|
@@ -8,22 +8,14 @@ | |
use Symfony\Component\Finder\Finder; | ||
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface; | ||
|
||
/** | ||
* @author Asmir Mustafic <[email protected]> | ||
*/ | ||
/** @author Asmir Mustafic <[email protected]> */ | ||
class CacheWarmer implements CacheWarmerInterface | ||
{ | ||
/** | ||
* @var MetadataFactoryInterface | ||
*/ | ||
/** @var MetadataFactoryInterface */ | ||
private $metadataFactory; | ||
/** | ||
* @var string[] | ||
*/ | ||
/** @var string[] */ | ||
private $includePaths = []; | ||
/** | ||
* @var string[] | ||
*/ | ||
/** @var string[] */ | ||
private $excludePaths = []; | ||
|
||
public function __construct(array $includePaths, MetadataFactoryInterface $metadataFactory, array $excludePaths = []) | ||
|
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
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 |
---|---|---|
|
@@ -8,13 +8,11 @@ | |
use JMS\Serializer\EventDispatcher\EventSubscriberInterface; | ||
use JMS\Serializer\EventDispatcher\ObjectEvent; | ||
|
||
/** | ||
* @author Adrien Brault <[email protected]> | ||
*/ | ||
/** @author Adrien Brault <[email protected]> */ | ||
class StopwatchEventSubscriber implements EventSubscriberInterface | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
* {@inheritDoc} | ||
*/ | ||
public static function getSubscribedEvents() | ||
{ | ||
|
@@ -31,14 +29,10 @@ public static function getSubscribedEvents() | |
*/ | ||
private $stopwatch; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
/** @var string */ | ||
private $name; | ||
|
||
/** | ||
* @var object | ||
*/ | ||
/** @var object */ | ||
private $rootObject; | ||
|
||
public function __construct($stopwatch, $name = 'jms_serializer') | ||
|
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,9 +12,9 @@ | |
* | ||
* Basically provides access to JMSSerializer from PHP templates | ||
* | ||
* @author Rafał Wrzeszcz <[email protected]> | ||
* | ||
* @deprecated use Twig instead | ||
* | ||
* @author Rafał Wrzeszcz <[email protected]> | ||
*/ | ||
class SerializerHelper extends Helper | ||
{ | ||
|
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,11 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace JMS\SerializerBundle\Tests\DependencyInjection\Fixture; | ||
|
||
class DefaultValuePropObject | ||
{ | ||
private string $foo = "some-value"; | ||
private string $foo = 'some-value'; | ||
|
||
public function __construct(private string $boo = "another-value") { | ||
public function __construct(private string $boo = 'another-value') | ||
{ | ||
} | ||
} |
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
Oops, something went wrong.