Skip to content

Commit 069a0cf

Browse files
committed
remove underscores from http properties (#347)
1 parent e0d2c22 commit 069a0cf

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

config/rector/sets/cakephp60.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,27 @@
203203
'Cake\Form\Form' => ['_schemaClass', '_schema', '_errors', '_data'],
204204
],
205205

206+
'Http' => [
207+
'Cake\Http\CorsBuilder' => ['_response', '_origin', '_isSsl', '_headers'],
208+
'Cake\Http\Client' => ['_cookies', '_mockAdapter', '_adapter'],
209+
'Cake\Http\Client\Adapter\Stream' => [
210+
'_context', '_contextOptions', '_sslContextOptions', '_stream', '_connectionErrors',
211+
],
212+
'Cake\Http\Client\FormData' => ['_boundary', '_hasFile', '_hasComplexPart', '_parts'],
213+
'Cake\Http\Client\Auth\Digest' => ['_client'],
214+
'Cake\Http\Client\Response' => ['_xml', '_json'],
215+
'Cake\Http\Middleware\CsrfProtectionMiddleware' => ['_config'],
216+
'Cake\Http\Middleware\SessionCsrfProtectionMiddleware' => ['_config'],
217+
'Cake\Http\Response' => [
218+
'_statusCodes', '_status', '_file', '_fileRange', '_charset', '_cacheDirectives',
219+
'_cookies', '_reasonPhrase', '_streamMode', '_streamTarget',
220+
],
221+
'Cake\Http\ServerRequest' => ['_environment', '_detectors', '_detectorCache'],
222+
'Cake\Http\Session' => ['_engine', '_started', '_lifetime', '_isCLI'],
223+
'Cake\Http\Session\DatabaseSession' => ['_table', '_timeout'],
224+
'Cake\Http\Session\CacheSession' => ['_options'],
225+
],
226+
206227
'ORM' => [
207228
'Cake\ORM\Association' => [
208229
'_name', '_className', '_bindingKey', '_foreignKey', '_conditions',

0 commit comments

Comments
 (0)