minor #40035 Streamline dataproviders (OskarStark)

This PR was merged into the 4.4 branch.

Discussion
----------

Streamline dataproviders

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | ---
| License       | MIT
| Doc PR        | ---

No need to create extra PR's on other branches, no more occurrences 👍

Commits
-------

025079b051 Streamline dataproviders
This commit is contained in:
Nyholm 2021-02-02 21:50:21 +01:00
commit 90e82546d2
No known key found for this signature in database
GPG Key ID: D6332DE2B6F8FA38
4 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@ use Symfony\Component\Routing\RequestContext;
class HttpFoundationExtensionTest extends TestCase
{
/**
* @dataProvider getGenerateAbsoluteUrlData()
* @dataProvider getGenerateAbsoluteUrlData
*/
public function testGenerateAbsoluteUrl($expected, $path, $pathinfo)
{
@ -116,7 +116,7 @@ class HttpFoundationExtensionTest extends TestCase
}
/**
* @dataProvider getGenerateRelativePathData()
* @dataProvider getGenerateRelativePathData
*/
public function testGenerateRelativePath($expected, $path, $pathinfo)
{

View File

@ -728,7 +728,7 @@ class RequestTest extends TestCase
}
/**
* @dataProvider getRelativeUriForPathData()
* @dataProvider getRelativeUriForPathData
*/
public function testGetRelativeUriForPath($expected, $pathinfo, $path)
{

View File

@ -20,7 +20,7 @@ use Symfony\Component\Routing\RequestContext;
class UrlHelperTest extends TestCase
{
/**
* @dataProvider getGenerateAbsoluteUrlData()
* @dataProvider getGenerateAbsoluteUrlData
*/
public function testGenerateAbsoluteUrl($expected, $path, $pathinfo)
{
@ -113,7 +113,7 @@ class UrlHelperTest extends TestCase
}
/**
* @dataProvider getGenerateRelativePathData()
* @dataProvider getGenerateRelativePathData
*/
public function testGenerateRelativePath($expected, $path, $pathinfo)
{

View File

@ -29,7 +29,7 @@ trait CallbacksTestTrait
}
/**
* @dataProvider provideInvalidCallbacks()
* @dataProvider provideInvalidCallbacks
*/
public function testUncallableCallbacks($callbacks)
{