Commit 6df1a43
committed
minor symfony#61299 replace PHPUnit annotations with attributes (xabbuh)
This PR was merged into the 7.4 branch.
Discussion
----------
replace PHPUnit annotations with attributes
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
Commits
-------
982f89c replace PHPUnit annotations with attributesFile tree
1,020 files changed
+4500
-8493
lines changed- src/Symfony
- Bridge
- Doctrine/Tests
- ArgumentResolver
- DataCollector
- DependencyInjection
- Form
- ChoiceList
- Type
- Middleware
- Debug
- IdleConnection
- PropertyInfo
- Security/RememberMe
- Types
- Validator
- Constraints
- Monolog/Tests
- Formatter
- Handler
- FingersCrossed
- PhpUnit/Tests
- DeprecationErrorHandler
- FailTests
- Fixtures/coverage/tests
- Metadata
- PsrHttpMessage/Tests
- Factory
- Functional
- Twig/Tests
- Command
- Extension
- Mime
- NodeVisitor
- TokenParser
- Translation
- Validator/Constraints
- Bundle
- DebugBundle/Tests/DependencyInjection
- FrameworkBundle/Tests
- CacheWarmer
- Command
- Console/Descriptor
- Controller
- DependencyInjection
- Compiler
- Fixtures/Descriptor
- Functional
- Routing
- Secrets
- Test
- Translation
- SecurityBundle/Tests
- DataCollector
- Debug
- DependencyInjection
- Compiler
- Security/Factory
- Functional
- Security
- TwigBundle/Tests
- DependencyInjection
- Functional
- WebProfilerBundle/Tests
- Controller
- Csp
- DependencyInjection
- EventListener
- Profiler
- Resources
- Twig
- Component
- AssetMapper/Tests
- Command
- Compiler
- Parser
- ImportMap
- Resolver
- Asset/Tests
- VersionStrategy
- BrowserKit/Tests
- Cache/Tests
- Adapter
- Marshaller
- Messenger
- Traits
- Clock/Tests
- Config/Tests
- Builder
- Definition
- Builder
- Dumper
- Loader
- Resource
- Util
- Console/Tests
- CI
- Command
- Completion
- DependencyInjection
- Descriptor
- Formatter
- Helper
- Input
- Logger
- Output
- Question
- SignalRegistry
- Style
- Tester/Constraint
- CssSelector/Tests
- Node
- Parser
- Handler
- Shortcut
- XPath
- DependencyInjection/Tests
- Argument
- Attribute
- Compiler
- Config
- Dumper
- Exception
- Extension
- LazyProxy/PhpDumper
- Loader
- Configurator
- ParameterBag
- DomCrawler/Tests
- Field
- Dotenv/Tests
- Command
- Emoji/Tests
- ErrorHandler/Tests
- ErrorEnhancer
- ErrorRenderer
- Exception
- EventDispatcher/Tests/Debug
- ExpressionLanguage/Tests
- Node
- Filesystem/Tests
- Finder/Tests
- Comparator
- Iterator
- Form/Tests
- ChoiceList/Factory
- Command
- Console/Descriptor
- DependencyInjection
- Extension
- Core
- DataMapper
- DataTransformer
- EventListener
- Type
- Csrf/Type
- PasswordHasher/Type
- Validator
- Constraints
- ViolationMapper
- Resources
- Util
- HtmlSanitizer/Tests
- TextSanitizer
- HttpClient/Tests
- DataCollector
- Exception
- Response
- Retry
- HttpFoundation/Tests
- File
- RateLimiter
- RequestMatcher
- Session
- Attribute
- Storage
- Handler
- Proxy
- Test/Constraint
- HttpKernel/Tests
- Controller
- ArgumentResolver
- DataCollector
- Debug
- DependencyInjection
- EventListener
- Event
- Exception
- Fragment
- HttpCache
- Log
- Profiler
- Intl/Tests
- Data/Bundle
- Reader
- Writer
- Util
- JsonPath/Tests
- Tokenizer
- JsonStreamer/Tests
- Read
- Write
- Ldap/Tests
- Adapter/ExtLdap
- Security
- Lock/Tests
- Store
- Strategy
- Mailer
- Bridge
- AhaSend/Tests/Transport
- Amazon/Tests/Transport
- Azure/Tests/Transport
- Brevo/Tests/Transport
- MailPace/Tests/Transport
- Mailchimp/Tests/Transport
- MailerSend/Tests/Transport
- Mailgun/Tests/Transport
- Mailjet/Tests/Transport
- Mailomat/Tests/Transport
- Mailtrap/Tests/Transport
- Postal/Tests/Transport
- Postmark/Tests/Transport
- Resend/Tests/Transport
- Scaleway/Tests/Transport
- Sendgrid/Tests
- RemoteEvent
- Transport
- Webhook
- Sweego/Tests/Transport
- Tests
- EventListener
- Exception
- Transport
- Smtp
- Stream
- Messenger
- Bridge
- AmazonSqs/Tests/Transport
- Amqp/Tests/Transport
- Beanstalkd/Tests/Transport
- Doctrine/Tests/Transport
- Redis/Tests/Transport
- Tests
- Command
- EventListener
- Handler
- Middleware
- Retry
- Transport
- InMemory
- Sender
- Serialization
- Normalizer
- Mime/Tests
- Crypto
- Notifier
- Bridge
- Bandwidth/Tests
- Bluesky/Tests
- ClickSend/Tests
- Firebase/Tests
- FortySixElks/Tests
- GoIp/Tests
- KazInfoTeh/Tests
- MessageMedia/Tests
- MicrosoftTeams/Tests
- Action
- Input
- Section
- Mobyt/Tests
- OvhCloud/Tests
- Plivo/Tests
- RingCentral/Tests
- SimpleTextin/Tests
- Sipgate/Tests
- Slack/Tests
- SmsBiuras/Tests
- Smsapi/Tests
- Smsbox/Tests
- Smsense/Tests
- Smsmode/Tests
- SpotHit/Tests
- Telegram/Tests
- Termii/Tests
- Twilio/Tests
- Tests
- Channel
- Event
- Exception
- Message
- Recipient
- Transport
- ObjectMapper/Tests
- OptionsResolver/Tests
- PasswordHasher/Tests
- Command
- Hasher
- Process/Tests
- PropertyAccess/Tests
- PropertyInfo/Tests
- DependencyInjection
- Extractor
- RateLimiter/Tests
- Policy
- Routing/Tests
- Attribute
- Generator
- Loader
- Matcher
- Dumper
- Requirement
- Scheduler/Tests
- Generator
- Messenger/Serializer/Normalizer
- Trigger
- Security
- Core
- Tests
- Authentication/Token
- Authorization
- Voter
- Resources
- User
- Validator/Constraints
- Test
- Csrf/Tests
- TokenGenerator
- TokenStorage
- Http/Tests
- AccessToken/Oidc
- Authentication
- Authenticator
- AccessToken
- Passport/Badge
- EventListener
- Firewall
- LoginLink
- RememberMe
- Semaphore/Tests
- Store
- Serializer/Tests
- Attribute
- Context
- Encoder
- Normalizer
- DependencyInjection
- Encoder
- Mapping/Factory
- NameConverter
- Normalizer
- Features
- Stopwatch/Tests
- String/Tests
- Inflector
- Slugger
- Translation
- Bridge
- Crowdin/Tests
- Loco/Tests
- Lokalise/Tests
- Phrase/Tests
- Tests
- Command
- DependencyInjection
- Exception
- Extractor
- Formatter
- Loader
- Provider
- Util
- TypeInfo/Tests
- TypeResolver
- Type
- Uid/Tests
- Command
- Validator/Tests
- Constraints
- DependencyInjection
- Mapping/Loader
- Resources
- Util
- Validator
- VarDumper
- Tests
- Caster
- Command
- Descriptor
- Dumper
- ContextProvider
- Test
- VarExporter/Tests
- WebLink/Tests
- Webhook/Tests/Controller
- Workflow/Tests
- Attribute
- Debug
- Dumper
- Event
- Yaml/Tests
- Command
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,020 files changed
+4500
-8493
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 113 | + | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 139 | + | |
143 | 140 | | |
144 | 141 | | |
145 | 142 | | |
| |||
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 152 | + | |
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
| |||
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | | - | |
203 | | - | |
204 | | - | |
| 201 | + | |
205 | 202 | | |
206 | 203 | | |
207 | 204 | | |
| |||
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
148 | | - | |
149 | | - | |
150 | | - | |
| 149 | + | |
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
| |||
187 | 186 | | |
188 | 187 | | |
189 | 188 | | |
190 | | - | |
191 | | - | |
192 | | - | |
| 189 | + | |
193 | 190 | | |
194 | 191 | | |
195 | 192 | | |
| |||
270 | 267 | | |
271 | 268 | | |
272 | 269 | | |
273 | | - | |
274 | | - | |
275 | | - | |
| 270 | + | |
276 | 271 | | |
277 | 272 | | |
278 | 273 | | |
| |||
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
115 | | - | |
116 | | - | |
| 115 | + | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
148 | | - | |
149 | | - | |
150 | | - | |
| 147 | + | |
151 | 148 | | |
152 | 149 | | |
153 | 150 | | |
| |||
188 | 185 | | |
189 | 186 | | |
190 | 187 | | |
191 | | - | |
192 | | - | |
193 | | - | |
| 188 | + | |
194 | 189 | | |
195 | 190 | | |
196 | 191 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
85 | | - | |
86 | 85 | | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
| 101 | + | |
104 | 102 | | |
105 | 103 | | |
106 | 104 | | |
| |||
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 118 | + | |
123 | 119 | | |
124 | 120 | | |
125 | 121 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 123 | + | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 54 | + | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
Lines changed: 9 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
| |||
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 111 | + | |
116 | 112 | | |
117 | 113 | | |
118 | 114 | | |
| |||
140 | 136 | | |
141 | 137 | | |
142 | 138 | | |
143 | | - | |
144 | | - | |
145 | | - | |
| 139 | + | |
146 | 140 | | |
147 | 141 | | |
148 | 142 | | |
| |||
179 | 173 | | |
180 | 174 | | |
181 | 175 | | |
182 | | - | |
183 | | - | |
184 | | - | |
| 176 | + | |
185 | 177 | | |
186 | 178 | | |
187 | 179 | | |
| |||
237 | 229 | | |
238 | 230 | | |
239 | 231 | | |
240 | | - | |
241 | | - | |
242 | | - | |
| 232 | + | |
243 | 233 | | |
244 | 234 | | |
245 | 235 | | |
| |||
263 | 253 | | |
264 | 254 | | |
265 | 255 | | |
266 | | - | |
267 | | - | |
268 | | - | |
| 256 | + | |
269 | 257 | | |
270 | 258 | | |
271 | 259 | | |
| |||
0 commit comments