The Symfony PHP framework
Clone or download
fabpot minor #29899 Simplify PHPUnit exception expectations (fabpot)
This PR was merged into the 4.3-dev branch.

Discussion
----------

Simplify PHPUnit exception expectations

| Q             | A
| ------------- | ---
| Branch?       | master
| 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 | n/a
| License       | MIT
| Doc PR        | n/a

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

eb75781 simplified PHPUnit exception expectations
Latest commit 18fb7f8 Jan 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.composer Drop hirak/prestissimo May 12, 2016
.github Merge branch '4.1' into 4.2 Jan 5, 2019
src/Symfony simplified PHPUnit exception expectations Jan 16, 2019
.appveyor.yml Merge branch '4.1' Sep 5, 2018
.editorconfig Update .editorconfig Sep 6, 2018
.gitignore Add appveyor.yml for C.I. on Windows Aug 25, 2015
.php_cs.dist Merge branch '4.1' into 4.2 Jan 10, 2019
.travis.yml Merge branch '4.1' into 4.2 Dec 6, 2018
CHANGELOG-4.0.md Merge branch '3.4' into 4.1 Aug 1, 2018
CHANGELOG-4.1.md updated CHANGELOG for 4.1.10 Jan 6, 2019
CHANGELOG-4.2.md updated CHANGELOG for 4.2.2 Jan 6, 2019
CODE_OF_CONDUCT.md Added the Code of Conduct file Oct 10, 2018
CONTRIBUTING.md Mention the community review guide Dec 18, 2016
CONTRIBUTORS.md update CONTRIBUTORS for 3.4.21 Jan 6, 2019
LICENSE update year in license files Jan 1, 2019
README.md Merge branch '2.8' into 3.4 May 25, 2018
UPGRADE-4.0.md Merge branch '2.8' into 3.4 May 31, 2018
UPGRADE-4.1.md Merge branch '4.0' into 4.1 May 31, 2018
UPGRADE-4.2.md [Contracts] extract LocaleAwareInterface out of TranslatorInterface Dec 5, 2018
UPGRADE-4.3.md [BrowserKit] marked Response as @Final Jan 14, 2019
UPGRADE-5.0.md [BrowserKit] marked Response as @Final Jan 14, 2019
composer.json Merge branch '4.2' Dec 6, 2018
link appending root of Contracts dir (where composer.json is located) Jul 31, 2018
phpunit [Debug] workaround opcache bug mutating "$this" !?! Nov 27, 2018
phpunit.xml.dist Merge branch '4.1' Nov 11, 2018

README.md

Symfony is a PHP framework for web applications and a set of reusable PHP components. Symfony is used by thousands of web applications (including BlaBlaCar.com and Spotify.com) and most of the popular PHP projects (including Drupal and Magento).

Installation

Documentation

Community

Contributing

Symfony is an Open Source, community-driven project with thousands of contributors. Join them contributing code or contributing documentation.

Security Issues

If you discover a security vulnerability within Symfony, please follow our disclosure procedure.

About Us

Symfony development is sponsored by SensioLabs, led by the Symfony Core Team and supported by Symfony contributors.