Skip to content

Commit e19b909

Browse files
authored
Add PasswordHasher to StaticLabelApi (#162)
* Add PasswordHasher to StaticLabelApi * Mention that StaticLabelApi is only useful for testing
1 parent 0eb71a8 commit e19b909

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Api/Label/StaticLabelApi.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/**
88
* Dont fetch data from external source.
99
*
10+
* This class is only used in tests.
11+
*
1012
* @author Tobias Nyholm <[email protected]>
1113
*/
1214
class StaticLabelApi extends NullLabelApi
@@ -21,7 +23,7 @@ public function getComponentLabelsForRepository(Repository $repository): array
2123
'Feature', 'Filesystem', 'Finder', 'Form', 'FrameworkBundle',
2224
'HttpClient', 'HttpFoundation', 'HttpKernel', 'Inflector', 'Intl', 'Ldap',
2325
'Locale', 'Lock', 'Mailer', 'Messenger', 'Mime', 'MonologBridge', 'Notifier',
24-
'OptionsResolver', 'PhpUnitBridge', 'Process', 'PropertyAccess',
26+
'OptionsResolver', 'PasswordHasher', 'PhpUnitBridge', 'Process', 'PropertyAccess',
2527
'PropertyInfo', 'ProxyManagerBridge', 'Routing', 'Security',
2628
'SecurityBundle', 'Serializer', 'Stopwatch', 'String', 'Templating',
2729
'Translation', 'TwigBridge', 'TwigBundle', 'Uid', 'Validator', 'VarDumper',

0 commit comments

Comments
 (0)