Commit eea8d30
File tree
6 files changed
+35
-11
lines changedFilter options
- src/Symfony/Component/RateLimiter
- Policy
- Tests/Policy
6 files changed
+35
-11
lines changedsrc/Symfony/Component/RateLimiter/Policy/FixedWindowLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/FixedWindowLimiter.php+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
66 | 66 |
|
67 | 67 |
|
68 | 68 |
|
69 |
| - |
| 69 | + |
70 | 70 |
|
71 | 71 |
|
72 | 72 |
|
| ||
77 | 77 |
|
78 | 78 |
|
79 | 79 |
|
80 |
| - |
| 80 | + |
81 | 81 |
|
82 | 82 |
|
83 | 83 |
|
|
src/Symfony/Component/RateLimiter/Policy/TokenBucket.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/TokenBucket.php+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
82 | 82 |
|
83 | 83 |
|
84 | 84 |
|
85 |
| - |
| 85 | + |
86 | 86 |
|
87 | 87 |
|
88 | 88 |
|
|
src/Symfony/Component/RateLimiter/Policy/TokenBucketLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/TokenBucketLimiter.php+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
88 | 88 |
|
89 | 89 |
|
90 | 90 |
|
91 |
| - |
92 |
| - |
| 91 | + |
| 92 | + |
93 | 93 |
|
94 |
| - |
| 94 | + |
95 | 95 |
|
96 | 96 |
|
97 | 97 |
|
|
src/Symfony/Component/RateLimiter/Policy/Window.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/Window.php-5Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
68 | 68 |
|
69 | 69 |
|
70 | 70 |
|
71 |
| - |
72 |
| - |
73 |
| - |
74 |
| - |
75 |
| - |
76 | 71 |
|
77 | 72 |
|
78 | 73 |
|
|
src/Symfony/Component/RateLimiter/Tests/Policy/FixedWindowLimiterTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/FixedWindowLimiterTest.php+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
| 17 | + |
17 | 18 |
|
18 | 19 |
|
19 | 20 |
|
| ||
90 | 91 |
|
91 | 92 |
|
92 | 93 |
|
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
93 | 107 |
|
94 | 108 |
|
95 | 109 |
|
|
src/Symfony/Component/RateLimiter/Tests/Policy/TokenBucketLimiterTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/TokenBucketLimiterTest.php+15Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
17 | 17 |
|
18 | 18 |
|
19 | 19 |
|
| 20 | + |
20 | 21 |
|
21 | 22 |
|
22 | 23 |
|
| ||
114 | 115 |
|
115 | 116 |
|
116 | 117 |
|
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
117 | 132 |
|
118 | 133 |
|
119 | 134 |
|
|
0 commit comments