minor #28930 [Security] Fix "exclude-from-classmap" (acasademont)

This PR was merged into the 2.8 branch.

Discussion
----------

[Security] Fix "exclude-from-classmap"

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

The "/Tests/" directory doesn't exist in the Security Component, tests are located within the Security components folders and none of the tests were being excluded in an --classmap-authoritative dump of the autoload.

Commits
-------

7b256a985d [Security] Fix "exclude-from-classmap"
This commit is contained in:
Fabien Potencier 2018-10-20 08:57:09 +02:00
commit 6a50405483
1 changed files with 4 additions and 1 deletions

View File

@ -55,7 +55,10 @@
"autoload": {
"psr-4": { "Symfony\\Component\\Security\\": "" },
"exclude-from-classmap": [
"/Tests/"
"/Core/Tests/",
"/Csrf/Tests/",
"/Guard/Tests/",
"/Http/Tests/"
]
},
"minimum-stability": "dev",