Improved error message
add deprecation log (#12618)
issue 12664
[Stopwatch] added __toString on StopwatchEvent
minor #12650 add deprecation log (#12618) (phramz)

This PR was merged into the 2.7 branch.

Discussion
----------

add deprecation log (#12618)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12618
| License       | MIT
| Doc PR        |

Commits
-------

7d9afd7 add deprecation log (#12618)
feature #12666 [Hackday][Stopwatch] added __toString on StopwatchEvent (damienalexandre)

This PR was merged into the 2.7 branch.

Discussion
----------

[Hackday][Stopwatch] added __toString on StopwatchEvent

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12152
| License       | MIT
| Doc PR        | no

This allow to just print the events in a log or something.

```php
$stopwatch = new Stopwatch();
$event = $stopwatch->start('foo', 'cat');

echo $event; // cat: 0.00 MiB - 0 ms
```

Commits
-------

0b88a23 [Stopwatch] added __toString on StopwatchEvent
minor #12673 [Form] [Hackday] [2.7] Add a deprecation note about the `form_enctype` helper (mrcmorales)

This PR was merged into the 2.7 branch.

Discussion
----------

[Form] [Hackday] [2.7] Add a deprecation note about the `form_enctype` helper

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12664
| License       | MIT
| Doc PR        |

Commits
-------

2061a88 issue 12664
Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface
minor #12715 Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface (aferrandini)

This PR was merged into the 2.7 branch.

Discussion
----------

Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12678
| License       | MIT

Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface

Commits
-------

4b3f135 Deprecate interface Symfony\Component\Validator\PropertyMetadataInterface
[Validator] add deprecation log (#12665)
[Console] add deprecation log (#12707)
minor #12722 [Console] add deprecation log (#12707) (kbsali)

This PR was merged into the 2.7 branch.

Discussion
----------

[Console] add deprecation log (#12707)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12707
| License       | MIT
| Doc PR        |

This adds depreciation note for the Symfony\Component\Console\Helper\TableHelper class.

Commits
-------

a1a4ece [Console] add deprecation log (#12707)
minor #12691 [Validator] add deprecation log to class ApcCache (#12665) (kbsali)

This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] add deprecation log to class ApcCache (#12665)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12665
| License       | MIT
| Doc PR        |

This adds depreciation note for the Symfony\Component\Validator\Mapping\Cache\ApcCache class.

Commits
-------

881ed1e [Validator] add deprecation log (#12665)
minor #12598 Improved error message (WouterJ)

This PR was merged into the 2.7 branch.

Discussion
----------

Improved error message

If no alternatives could be found, the error message is: "Attempted to call method "getContents" on class "SebastianBergmann\Diff\Diff"." This doesn't point out any error, as it doesn't tell you that the method does not exists. This PR tries to fix this.

Commits
-------

5076a77 Improved error message
[Validator] add deprecation log (#12674)