This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/PropertyAccess
Nicolas Grekas 47f2aee4a5 minor #28675 [CS] Enforces null type hint on last position in phpDocs (carusogabriel)
This PR was merged into the 2.8 branch.

Discussion
----------

[CS] Enforces null type hint on last position in phpDocs

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | -   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | - <!-- required for new features -->

As a majority in our codebase, the `null` typehint usually comes in the last position in phpDocs.

Commits
-------

efbba25577 [CS] Enforces null type hint on last position in phpDocs
2018-10-02 14:08:28 +02:00
..
Exception Enable the fixer enforcing fully-qualified calls for compiler-optimized functions 2018-07-24 12:05:38 +02:00
Tests fix type error handling when writing values 2018-08-17 19:56:06 +02:00
.gitignore
CHANGELOG.md [PropertyAccess] Show property path in all exception messages 2015-02-04 17:34:04 +01:00
composer.json Merge branch '2.7' into 2.8 2018-05-01 15:52:40 -07:00
LICENSE fixed years in copyright 2018-01-03 08:23:28 +01:00
phpunit.xml.dist fail when detecting risky tests 2017-04-12 09:39:27 +02:00
PropertyAccess.php [2.7][DX] Use constant message contextualisation for deprecations 2017-12-20 15:36:51 +01:00
PropertyAccessor.php [CS] Remove empty comment 2018-10-02 00:29:33 -03:00
PropertyAccessorBuilder.php Remove useless docblocks 2017-10-29 10:49:53 +01:00
PropertyAccessorInterface.php Merge branch '2.3' into 2.7 2016-03-22 09:55:46 +01:00
PropertyPath.php Consistently throw exceptions on a single line 2018-09-08 14:44:02 +02:00
PropertyPathBuilder.php [CS] Enforces null type hint on last position in phpDocs 2018-10-02 00:12:00 -03:00
PropertyPathInterface.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
PropertyPathIterator.php [DI] minor docblock fixes 2017-10-24 13:40:19 +02:00
PropertyPathIteratorInterface.php
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
StringUtil.php Enable the fixer enforcing fully-qualified calls for compiler-optimized functions 2018-07-24 12:05:38 +02:00

PropertyAccess Component

The PropertyAccess component provides function to read and write from/to an object or array using a simple string notation.

Resources