Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: symfony/var-dumper
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.3.0
Choose a base ref
...
head repository: symfony/var-dumper
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.3.2
Choose a head ref
  • 3 commits
  • 2 files changed
  • 1 contributor

Commits on Jun 6, 2021

  1. Fix incompatible implicit float-to-int conversions

    Signed-off-by: Alexander M. Turek <me@derrabus.de>
    derrabus committed Jun 6, 2021
    Copy the full SHA
    a4763e9 View commit details
  2. Merge branch '4.4' into 5.2

    * 4.4:
      Fix incompatible implicit float-to-int conversions
      [Translation] Don't pass null to strtoupper()
      cs fix
      [DependencyInjection] Don't pass null to trim()
      Add return types to JsonSerializable implementations
      Fix Serializable deprecations triggered by token mocks
      Add missing security translations
    derrabus committed Jun 6, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    targos Michaël Zasso
    Copy the full SHA
    2382e8e View commit details
  3. Merge branch '5.2' into 5.3

    * 5.2:
      Fix incompatible implicit float-to-int conversions
      [Translation] Don't pass null to strtoupper()
      cs fix
      [String] Fix implicit float-to-int casts
      [DependencyInjection] Don't pass null to trim()
      Add return types to JsonSerializable implementations
      Fix Serializable deprecations triggered by token mocks
      Add missing security translations
    derrabus committed Jun 6, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    targos Michaël Zasso
    Copy the full SHA
    905a22c View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −1 Command/Descriptor/CliDescriptor.php
  2. +1 −1 Command/Descriptor/HtmlDescriptor.php
2 changes: 1 addition & 1 deletion Command/Descriptor/CliDescriptor.php
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ public function describe(OutputInterface $output, Data $data, array $context, in
$io = $output instanceof SymfonyStyle ? $output : new SymfonyStyle(new ArrayInput([]), $output);
$this->dumper->setColors($output->isDecorated());

$rows = [['date', date('r', $context['timestamp'])]];
$rows = [['date', date('r', (int) $context['timestamp'])]];
$lastIdentifier = $this->lastIdentifier;
$this->lastIdentifier = $clientId;

2 changes: 1 addition & 1 deletion Command/Descriptor/HtmlDescriptor.php
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ public function describe(OutputInterface $output, Data $data, array $context, in

private function extractDate(array $context, string $format = 'r'): string
{
return date($format, $context['timestamp']);
return date($format, (int) $context['timestamp']);
}

private function renderTags(array $tags): string