|
113 | 113 | </chapter>
|
114 | 114 |
|
115 | 115 | <chapter title="Added suffixes for classes" id="added_suffixes_for_classes">
|
116 |
| - <table> |
117 |
| - <tr> |
118 |
| - <td>New Name</td> |
119 |
| - <td>Old Name</td> |
120 |
| - </tr> |
121 |
| - <tr> |
122 |
| - <td><code>Commands\InstallCommand</code></td> |
123 |
| - <td><code>Commands\Install</code></td> |
124 |
| - </tr> |
125 |
| - <tr> |
126 |
| - <td><code>Commands\MakeCommand</code></td> |
127 |
| - <td><code>Commands\Make</code></td> |
128 |
| - </tr> |
129 |
| - <tr> |
130 |
| - <td><code>Commands\OperationsCommand</code></td> |
131 |
| - <td><code>Commands\Operations</code></td> |
132 |
| - </tr> |
133 |
| - <tr> |
134 |
| - <td><code>Commands\FreshCommand</code></td> |
135 |
| - <td><code>Commands\Fresh</code></td> |
136 |
| - </tr> |
137 |
| - <tr> |
138 |
| - <td><code>Commands\RollbackCommand</code></td> |
139 |
| - <td><code>Commands\Rollback</code></td> |
140 |
| - </tr> |
141 |
| - <tr> |
142 |
| - <td><code>Commands\StatusCommand</code></td> |
143 |
| - <td><code>Commands\Status</code></td> |
144 |
| - </tr> |
145 |
| - <tr> |
146 |
| - <td><code>Processors\FreshProcessor</code></td> |
147 |
| - <td><code>Processors\Fresh</code></td> |
148 |
| - </tr> |
149 |
| - <tr> |
150 |
| - <td><code>Processors\InstallProcessor</code></td> |
151 |
| - <td><code>Processors\Install</code></td> |
152 |
| - </tr> |
153 |
| - <tr> |
154 |
| - <td><code>Processors\MakeProcessor</code></td> |
155 |
| - <td><code>Processors\Make</code></td> |
156 |
| - </tr> |
157 |
| - <tr> |
158 |
| - <td><code>Processors\OperationsProcessor</code></td> |
159 |
| - <td><code>Processors\Operations</code></td> |
160 |
| - </tr> |
161 |
| - <tr> |
162 |
| - <td><code>Processors\RollbackProcessor</code></td> |
163 |
| - <td><code>Processors\Rollback</code></td> |
164 |
| - </tr> |
165 |
| - <tr> |
166 |
| - <td><code>Processors\StatusProcessor</code></td> |
167 |
| - <td><code>Processors\Status</code></td> |
168 |
| - </tr> |
169 |
| - <tr> |
170 |
| - <td><code>Helpers\GitHelper</code></td> |
171 |
| - <td><code>Helpers\Git</code></td> |
172 |
| - </tr> |
173 |
| - <tr> |
174 |
| - <td><code>Helpers\SorterHelper</code></td> |
175 |
| - <td><code>Helpers\Sorter</code></td> |
176 |
| - </tr> |
177 |
| - <tr> |
178 |
| - <td><code>Services\MigratorService</code></td> |
179 |
| - <td><code>Services\Migrator</code></td> |
180 |
| - </tr> |
181 |
| - <tr> |
182 |
| - <td><code>Services\MutexService</code></td> |
183 |
| - <td><code>Services\Mutex</code></td> |
184 |
| - </tr> |
185 |
| - <tr> |
186 |
| - <td><code>Values\OptionsData</code></td> |
187 |
| - <td><code>Values\Options</code></td> |
188 |
| - </tr> |
189 |
| - </table> |
| 116 | + <compare> |
| 117 | + <code-block lang="php"> |
| 118 | + Commands\Install |
| 119 | + Commands\Make |
| 120 | + Commands\Operations |
| 121 | + Commands\Fresh |
| 122 | + Commands\Rollback |
| 123 | + Commands\Status |
| 124 | + Processors\Fresh |
| 125 | + Processors\Install |
| 126 | + Processors\Make |
| 127 | + Processors\Operations |
| 128 | + Processors\Rollback |
| 129 | + Processors\Status |
| 130 | + Helpers\Git |
| 131 | + Helpers\Sorter |
| 132 | + Services\Migrator |
| 133 | + Services\Mutex |
| 134 | + Values\Options |
| 135 | + </code-block> |
| 136 | + <code-block lang="php"> |
| 137 | + Commands\InstallCommand |
| 138 | + Commands\MakeCommand |
| 139 | + Commands\OperationsCommand |
| 140 | + Commands\FreshCommand |
| 141 | + Commands\RollbackCommand |
| 142 | + Commands\StatusCommand |
| 143 | + Processors\FreshProcessor |
| 144 | + Processors\InstallProcessor |
| 145 | + Processors\MakeProcessor |
| 146 | + Processors\OperationsProcessor |
| 147 | + Processors\RollbackProcessor |
| 148 | + Processors\StatusProcessor |
| 149 | + Helpers\GitHelper |
| 150 | + Helpers\SorterHelper |
| 151 | + Services\MigratorService |
| 152 | + Services\MutexService |
| 153 | + Values\OptionsData |
| 154 | + </code-block> |
| 155 | + </compare> |
190 | 156 | </chapter>
|
191 | 157 |
|
192 | 158 | <chapter title="Renamed traits" id="renamed_traits">
|
193 |
| - <table> |
194 |
| - <tr> |
195 |
| - <td>New Name</td> |
196 |
| - <td>Old Name</td> |
197 |
| - </tr> |
198 |
| - <tr> |
199 |
| - <td><code>Concerns\HasAbout</code></td> |
200 |
| - <td><code>Concerns\About</code></td> |
201 |
| - </tr> |
202 |
| - <tr> |
203 |
| - <td><code>Concerns\HasArtisan</code></td> |
204 |
| - <td><code>Concerns\Artisan</code></td> |
205 |
| - </tr> |
206 |
| - <tr> |
207 |
| - <td><code>Concerns\HasIsolatable</code></td> |
208 |
| - <td><code>Concerns\Isolatable</code></td> |
209 |
| - </tr> |
210 |
| - <tr> |
211 |
| - <td><code>Concerns\HasOptionable</code></td> |
212 |
| - <td><code>Concerns\Optionable</code></td> |
213 |
| - </tr> |
214 |
| - </table> |
| 159 | + <compare> |
| 160 | + <code-block lang="php"> |
| 161 | + Concerns\About |
| 162 | + Concerns\Artisan |
| 163 | + Concerns\Isolatable |
| 164 | + Concerns\Optionable |
| 165 | + </code-block> |
| 166 | + <code-block lang="php"> |
| 167 | + Concerns\HasAbout |
| 168 | + Concerns\HasArtisan |
| 169 | + Concerns\HasIsolatable |
| 170 | + Concerns\HasOptionable |
| 171 | + </code-block> |
| 172 | + </compare> |
215 | 173 | </chapter>
|
216 | 174 |
|
217 | 175 | <chapter title="Removed deprecated methods and properties" id="removed_deprecated_methods_and_properties">
|
|
221 | 179 | class:
|
222 | 180 | </p>
|
223 | 181 |
|
224 |
| - <table> |
225 |
| - <tr> |
226 |
| - <td>Removed</td> |
227 |
| - <td>Use Instead</td> |
228 |
| - </tr> |
229 |
| - <tr> |
230 |
| - <td><code>protected bool $once</code></td> |
231 |
| - <td><code>protected bool shouldOnce(): bool</code></td> |
232 |
| - </tr> |
233 |
| - <tr> |
234 |
| - <td><code>protected array|string|null $environment</code></td> |
235 |
| - <td><code>protected bool shouldRun(): bool</code></td> |
236 |
| - </tr> |
237 |
| - <tr> |
238 |
| - <td><code>protected array|string|null $exceptEnvironment</code></td> |
239 |
| - <td><code>protected bool shouldRun(): bool</code></td> |
240 |
| - </tr> |
241 |
| - <tr> |
242 |
| - <td><code>protected bool $before</code></td> |
243 |
| - <td><code>protected bool needBefore(): bool</code></td> |
244 |
| - </tr> |
245 |
| - <tr> |
246 |
| - <td><code>public function getConnection(): ?string</code></td> |
247 |
| - <td>Not used</td> |
248 |
| - </tr> |
249 |
| - <tr> |
250 |
| - <td><code>public function isOnce(): bool</code></td> |
251 |
| - <td><code>protected bool shouldOnce(): bool</code></td> |
252 |
| - </tr> |
253 |
| - <tr> |
254 |
| - <td><code>public function enabledTransactions(): bool</code></td> |
255 |
| - <td><code>public function withinTransactions(): bool</code></td> |
256 |
| - </tr> |
257 |
| - <tr> |
258 |
| - <td><code>public function transactionAttempts(): int</code></td> |
259 |
| - <td>It is indicated in the settings</td> |
260 |
| - </tr> |
261 |
| - <tr> |
262 |
| - <td><code>public function onEnvironment(): array</code></td> |
263 |
| - <td><code>protected bool shouldRun(): bool</code></td> |
264 |
| - </tr> |
265 |
| - <tr> |
266 |
| - <td><code>public function exceptEnvironment(): array</code></td> |
267 |
| - <td><code>protected bool shouldRun(): bool</code></td> |
268 |
| - </tr> |
269 |
| - <tr> |
270 |
| - <td><code>public function allow(): bool</code></td> |
271 |
| - <td><code>protected bool shouldRun(): bool</code></td> |
272 |
| - </tr> |
273 |
| - <tr> |
274 |
| - <td><code>public function hasBefore(): bool</code></td> |
275 |
| - <td><code>protected bool needBefore(): bool</code></td> |
276 |
| - </tr> |
277 |
| - <tr> |
278 |
| - <td><code>public function isAsync(): bool</code></td> |
279 |
| - <td><code>protected bool needAsync(): bool</code></td> |
280 |
| - </tr> |
281 |
| - </table> |
| 182 | + <compare> |
| 183 | + <code-block lang="php"> |
| 184 | + protected bool $once |
| 185 | + protected array|string | null $environment |
| 186 | + protected array|string | null $exceptEnvironment |
| 187 | + protected bool $before |
| 188 | + public function getConnection(): ?string |
| 189 | + public function isOnce(): bool |
| 190 | + public function enabledTransactions(): bool |
| 191 | + public function transactionAttempts(): int |
| 192 | + public function onEnvironment(): array |
| 193 | + public function exceptEnvironment(): array |
| 194 | + public function allow(): bool |
| 195 | + public function hasBefore(): bool |
| 196 | + public function isAsync(): bool |
| 197 | + </code-block> |
| 198 | + <code-block lang="php"> |
| 199 | + protected bool shouldOnce(): bool |
| 200 | + protected bool shouldRun(): bool |
| 201 | + protected bool shouldRun(): bool |
| 202 | + protected bool needBefore(): bool |
| 203 | + Not used |
| 204 | + protected bool shouldOnce(): bool |
| 205 | + public function withinTransactions(): bool |
| 206 | + It is indicated in the settings |
| 207 | + protected bool shouldRun(): bool |
| 208 | + protected bool shouldRun(): bool |
| 209 | + protected bool shouldRun(): bool |
| 210 | + protected bool needBefore(): bool |
| 211 | + protected bool needAsync(): bool |
| 212 | + </code-block> |
| 213 | + </compare> |
282 | 214 | </chapter>
|
283 | 215 | </topic>
|
0 commit comments