Hotfix: Undeprecate PhpEnvironement Response methods #3542

Closed
wants to merge 1,412 commits into
from
@ralphschindler
Zend Framework member

Simply b/c facilities have been added so that Zend\Mvc can send responses does not remove the requirement that a PhpEnvironment\Response must be able to send itself.

Also, Zend\Http does not have a dependency on Zend\Mvc, so changes in behavior in Zend\Mvc should be of no consequence to Zend\Http.

marc-mabe and others added some commits Jan 7, 2013
@marc-mabe marc-mabe Make sure StringWrapper::convert don't substring return value on inva…
…lid character + test
c3034a1
@marc-mabe marc-mabe removed unneccissary 'word-wrap-' prefix 0c8ad71
@weierophinney weierophinney Merge branch 'hotfix/3355' into develop
Forward port #3355
e9c7523
@weierophinney weierophinney Merge branch 'hotfix/3356' into develop
Forward port #3356
bede949
@weierophinney weierophinney Merge branch 'add-default-prototype-tags' of git://github.com/neeckel…
…oo/zf2 into hotfix/3357
7a52a17
@weierophinney weierophinney Merge branch 'hotfix/3357' into develop
Close #3357
d135a5c
@weierophinney weierophinney Merge branch 'hotfix/3362' into develop
Forward port #3362

Conflicts:
	library/Zend/Http/Client/Cookies.php
	library/Zend/Http/Cookies.php
	library/Zend/Soap/Client/Common.php
	library/Zend/Soap/Wsdl.php
317fc85
@weierophinney weierophinney Merge branch 'fix-doc-blocks' of git://github.com/neeckeloo/zf2 into …
…hotfix/3363
6972a99
@weierophinney weierophinney Merge branch 'hotfix/3363' into develop
Close #3363
f1ce2b8
@weierophinney weierophinney Merge branch 'hotfix/3369' into develop
Forward port #3369
56f883d
@weierophinney weierophinney Merge branch 'string' of git://github.com/marc-mabe/zf2 into feature/…
…3110
98c246e
@weierophinney weierophinney Merge branch 'feature/3110' into develop
Close #3110
1ca5cb9
@ralphschindler ralphschindler Merge branch 'fabiorphp-master' into develop 10b2b69
Marc Bennewitz removed test failing since PHP>=5.4
noted in #3110 (which added the test)
ceb37fa
@iwalz iwalz Fixed reviews b8a6aad
@iwalz iwalz Moved filter implementation to abstract hydrator 89815c7
@neeckeloo neeckeloo Fix unit tests f79e69b
@neeckeloo neeckeloo Fix doc block 757abfe
@neeckeloo neeckeloo Add other fromArray method 5e458d9
@neeckeloo neeckeloo Minor changes a4c5e41
@mwillbanks mwillbanks Provide default $_SESSION array superglobal proxy storage adapter to …
…play nicely with third party libraries and code
d904cb9
@mwillbanks mwillbanks Fixed Session Array Storage Test name 6f72b4d
@Maks3w Maks3w Merge pull request #3349 from weierophinney/feature/mvc-restful-methods
Provide support for more HTTP methods in the AbstractRestfulController
7c52c20
@iwalz iwalz Fixed complex composite bfdfac3
@iwalz iwalz Added filter to arrayserializable a534de4
@iwalz iwalz Filter feature to object property hydrator 6df9a4f
@iwalz iwalz Fixed code style 2e9fed8
@iwalz iwalz Added filter to reflection f18cd40
@iwalz iwalz Added number of parameter filter. Fixed #3352 fe0db12
@radnan radnan render view one last time in case of render.error
Try to render the view one last time in case a render.error is
triggered. If the view continues to throw exceptions, bail out and
just re-throw the exception.
89425f4
@radnan radnan cs fix 6efa07d
@radnan radnan test case for exception in view 2a16b00
@radnan radnan test case for additional events 93b5784
@Maks3w Maks3w Forward port #3387 ee94d3b
@Maks3w Maks3w Forward port #3391 2d0b2ba
@Maks3w Maks3w Forward port #3375 4745db6
@Maks3w Maks3w Forward port #3398 68ae440
@mwillbanks mwillbanks Merge branch 'master' of https://github.com/zendframework/zf2 into ho…
…tfix/zend-session-global-session-storage
92a947d
@mwillbanks mwillbanks Merge branch 'develop' of https://github.com/zendframework/zf2 into h…
…otfix/zend-session-global-session-storage
7f23e2c
@mwillbanks mwillbanks Resolved coding standard violation brought up in discussion, updated …
…readme to reflect BC break
1a086bd
@radnan radnan fix dispatcher to catch legitimate exceptions
All service managers throw the same ServiceNotFound and
ServiceNotCreated exceptions.

The dispatcher made no distinctions between:
* exceptions thrown in the event a controller can't be loaded; and
* exceptions thrown from initializers within ControllerLoader

The first case is a legitimate "controller-not-found" error
and can be tested for using the "ServiceManager::has()" method whereas
the second case needs to be caught and forwarded to a 500 status page.
fbaf0e6
@iwalz iwalz Implemented FilterProviderInterface and MethodMatchFilter ec3e41e
@iwalz iwalz Simplified code b89229f
radnan added test cases for mvc dispatch listener b784d82
@radnan radnan missing test asserts 3d3ad86
@Maks3w Maks3w Forward #3403 2050f57
@weierophinney weierophinney Merge branch 'hotfix/zend-session-global-session-storage' of git://gi…
…thub.com/mwillbanks/zf2 into feature/3404
c705251
@weierophinney weierophinney [#3404] Better description of change
- Detailed the reason for the change, provided code samples of affected an
  unaffected code, and expanded descriptions.
aff9574
@weierophinney weierophinney Merge branch 'feature/3404' into develop
Close #3404
778e997
@weierophinney weierophinney Merge branch 'hotfix/3412' into develop
Forward port #3412
874ac52
@ralphschindler ralphschindler Zend\Mvc\Controller\AbstractRestfulController:
- Fixed AbstractRestfulController to consult Content-type
- Made Json::decode use array notation by default
- Added property to set Json return type in controller
9fbf1a0
@ralphschindler ralphschindler ZendTest\Mvc\Controller\RestfulControllerTest
* reset the shared event manager so that test will pass when run with others
6acf370
@ralphschindler ralphschindler Zend\Mvc\Controller\AbstractRestController:
- fixed content-type header for hal+json
82feaab
@weierophinney weierophinney Merge branch 'hotfix/rest-controller-json-as-array' of git://github.c…
…om/ralphschindler/zf2 into hotfix/3414
6e031e1
@weierophinney weierophinney Merge branch 'hotfix/3414' into develop
Close #3414
0822749
@iwalz iwalz Removed dump df0327d
@cgmartin cgmartin Additional file comments for FileInput 7d265d4
@mwillbanks mwillbanks Added authentication validator to ease implementing authentication va…
…lidation on forms
ea39bf4
@mwillbanks mwillbanks Resolved coding standard violations 82ca7e8
@bakura10 bakura10 Allow to set arbitrary status code for Exception strategy 8c3673e
@bakura10 bakura10 Remove useless line f337855
@iwalz iwalz CS fixes 4052748
@weierophinney weierophinney Merge branch 'hotfix/3241' into develop
Forward port #3241
caa8d9a
@roelvanduijnhoven roelvanduijnhoven Add Chain authentication storage class. The Chain storage can be used to
chain multiple storages together.
2de258b
@roelvanduijnhoven roelvanduijnhoven Replaced tabs by spaces. c5c8ff7
@roelvanduijnhoven roelvanduijnhoven Add tests for Chain storage engine. ed78ab5
@roelvanduijnhoven roelvanduijnhoven Use correct plural of `storage`. d0a1b93
@roelvanduijnhoven roelvanduijnhoven Refactored isEmpty loop to be more readible. f471c90
@roelvanduijnhoven roelvanduijnhoven Renamed storageQueue to storageChain. 903df93
@roelvanduijnhoven roelvanduijnhoven Use PSR-2 as coding style. fbd8953
@mwillbanks mwillbanks Resolves: #2920 by throwing an exception when setId is called after t…
…he session has been started
ed0f800
@weierophinney weierophinney Merge branch 'hotfix/3295' into develop
Forward port #3295
5669636
@weierophinney weierophinney Merge branch 'feature/authentication-chain-storage' of git://github.c…
…om/roelvanduijnhoven/zf2 into feature/2718
a8448f8
@weierophinney weierophinney [#2718] CS fixes
- Remove leading/trailing space inside method argument lists.
99d6505
@weierophinney weierophinney Merge branch 'feature/2718' into develop
Close #2718
611d447
@weierophinney weierophinney Merge branch 'hotfix/3352' into develop
Forward port #3352
ff9fe67
@weierophinney weierophinney Merge branch 'patch-1' of git://github.com/marc-mabe/zf2 into hotfix/…
…3377
200d4ee
@weierophinney weierophinney Merge branch 'hotfix/3377' into develop
Close #3377
2a8ca79
@weierophinney weierophinney Merge branch 'improve-code-generators' of git://github.com/neeckeloo/…
…zf2 into feature/3378
319a681
@weierophinney weierophinney Merge branch 'feature/3378' into develop
Close #3378
ccb6638
@weierophinney weierophinney Merge branch 'patch-2' of git://github.com/radnan/zf2 into hotfix/3385 28c6cc2
@weierophinney weierophinney [#3385] Update logic bloc 0626cc2
@weierophinney weierophinney Merge branch 'hotfix/3385' into develop
Close #3385
60664ed
@weierophinney weierophinney Merge branch 'feature/3386' into develop
Forward port #3386
5aeecf4
@weierophinney weierophinney Merge branch 'hotfix/3396' into develop
Forward port #3396
a539116
@weierophinney weierophinney Merge branch 'patch-3' of git://github.com/radnan/zf2 into hotfix/3405 c65e757
@weierophinney weierophinney [#3405] CS fixes
- Indentation, trailing whitespace
79ad7f6
@weierophinney weierophinney Merge branch 'hotfix/3405' into develop
Close #3405
1699013
@weierophinney weierophinney Merge branch 'hotfix/3410' into develop
Forward port #3410
84a6efc
@weierophinney weierophinney Merge branch 'hotfix/3415' into develop
Forward port #3415
7019cfb
@weierophinney weierophinney Merge branch 'feature/file-input-comments' of git://github.com/cgmart…
…in/zf2 into hotfix/3418
5de1475
@weierophinney weierophinney Merge branch 'hotfix/3418' into develop
Close #3418
ed0fc53
@weierophinney weierophinney Merge branch 'hotfix/3348' into develop
Forward port #3423
524e5b3
@weierophinney weierophinney Merge branch 'hotfix/3424' into develop
Forward port #3424
5bbef56
@bakura10 bakura10 Only change if status 200 f7f9c41
@weierophinney weierophinney Merge branch 'hotfix/3429' into develop
Forward port #3429
11508cc
@weierophinney weierophinney Merge branch 'hotfix/session-id-called-after-session-started' of git:…
…//github.com/mwillbanks/zf2 into hotfix/3430
e4be905
@weierophinney weierophinney Merge branch 'hotfix/3430' into develop
Close #3430
1c1be19
@weierophinney weierophinney Merge branch 'arbitrary-status-exception' of git://github.com/bakura1…
…0/zf2 into hotfix/3421
8d407a8
@weierophinney weierophinney Merge branch 'hotfix/3421' into develop
Close #3421
a499ac5
Maks3w and others added some commits Jan 19, 2013
@Maks3w Maks3w Forward port #3441 cdd1012
@Maks3w Maks3w Forward port #3474 d92cfb1
@Maks3w Maks3w Merge pull request #3488 from vahid-sohrabloo/develop
Update library/Zend/Code/Generator/FileGenerator.php
ca6ba91
@Maks3w Maks3w Merge pull request #3483 from weierophinney/feature/json-strategy-cha…
…rset

[#2629] Add charset to Content-Type header
fe7cfad
@marc-mabe marc-mabe [Log] fixes #3366: Now Logger::registerErrorHandler() accepts an argu…
…ment to continue native error handler + The error <-> priority map is a public static array
a7920c0
@marc-mabe marc-mabe CS fixes 17eaf80
@marc-mabe marc-mabe Zend\Filter\Word\* no longer extends Zend\Filter\PregReplace but call…
… preg_replace directly
3e2acc0
@marc-mabe marc-mabe Added Zend\Stdlib\StringUtils::hasPcreUnicodeSupport() 4913c64
@marc-mabe marc-mabe Added missing use statements in Zend\Stdlib 4d1be72
@marc-mabe marc-mabe Added missing 'use ArrayIterator' and fixed renamed Cookie -> SetCook…
…ie in Zend\Http\Client\Cookies
1f32598
@marc-mabe marc-mabe Added missing 'use Zend\Uri\UriFactory' in Zend\Http\Header\SetCookie 5e1e560
@marc-mabe marc-mabe fixed RuntimeException -> Exception\RuntimeException in Zend\Log\Writ…
…er\MongoDB
581857a
@marc-mabe marc-mabe Added missing 'use ArrayIterator' and 'use Zend\Session\Exception' in…
… Zend\Session\Storage\SessionArrayStorage
96c5f5d
@marc-mabe marc-mabe Added missing 'use Zend\Stdlib\ResponseInterface' in Zend\Test\PHPUni…
…t\Controller\AbstractControllerTestCase
0ab71eb
@marc-mabe marc-mabe fixed FaultException -> Exception\FaultException in Zend\XmlRpc\Clien…
…t\ServerIntrospection
c7b9777
@prolic prolic add method to Zend\Http\Response\Stream
the content length is now exposed with getters and setters
7da4fc6
@prolic prolic add method to Zend\Http\Response\Stream
the content length is now exposed with getters and setters
fixed phpdoc
change atrribute $this->contentlength to getContentLength()
f932275
@blanchonvincent blanchonvincent Improve the plugin manager & the tests f1b0082
@blanchonvincent blanchonvincent Add flash messenger view helper & tests e5fe748
@blanchonvincent blanchonvincent Fix namespace constant name 26ce646
@ralphschindler ralphschindler Merge pull request #38 from weierophinney/feature/db-oracle-driver
Feature/db oracle driver
1adee24
@weierophinney weierophinney Merge branch 'AbstractRowGatewaysetFromArray' of git://github.com/odn…
…anref/zf2 into feature/2950
02d76ab
@weierophinney weierophinney Merge branch 'feature/2950' into develop
Close #2950
3d77fde
@weierophinney weierophinney Revert "Merge branch 'AbstractRowGatewaysetFromArray' of git://github…
….com/odnanref/zf2 into feature/2950"

This reverts commit 02d76ab, reversing
changes made to fe7cfad.
ab3cceb
@weierophinney weierophinney Merge branch 'hotfix/3393' into develop
Forward port #3393
bb69ede
@weierophinney weierophinney Merge branch 'hotfix/3439' into develop
Forward port #3439
d4270ef
@weierophinney weierophinney Merge branch 'hotfix/3425' into develop
Forward port #3425
ced0c9e
@weierophinney weierophinney Merge branch 'feature/module-dependencies' of git://github.com/Ocrami…
…us/zf2 into feature/3443

Conflicts:
	library/Zend/ModuleManager/Listener/ListenerOptions.php
b2a9687
@ralphschindler ralphschindler Added working integration tests for Zend\Db Oci8 driver 173c73f
@weierophinney weierophinney [#3443] Renamed getDependencyModules to getModuleDependencies b6719d6
@weierophinney weierophinney Merge branch 'feature/3443' into develop
Close #3443

Modified original to rename getDependencyModules to getModuleDependencies.
a087928
@weierophinney weierophinney Merge branch 'hotfix/3473' into develop
Forward port #3473
60845bc
@weierophinney weierophinney Merge branch 'hotfix/3477' into develop
Forward port #3477
cf9bba2
@weierophinney weierophinney Merge branch 'hotfix/3480' into develop
Forward port #3480
6d09819
@weierophinney weierophinney Merge branch 'hotfix/3491' into develop
Forward port #3491

Conflicts:
	tests/ZendTest/Code/Generator/PropertyGeneratorTest.php
b4c68bd
@weierophinney weierophinney Merge branch 'feature/3366' of git://github.com/marc-mabe/zf2 into fe…
…ature/3493
5519a08
@weierophinney weierophinney [#3493] Update registerErrorHandler to return previous handler c577663
@weierophinney weierophinney Merge branch 'feature/3493' into develop
Close #3493
Fixes #3366
6b6d5ea
@weierophinney weierophinney Merge branch 'hotfix/WordFilterShouldNotExtendPregReplace' of git://g…
…ithub.com/marc-mabe/zf2 into hotfix/3494
b05ffe9
@weierophinney weierophinney Merge branch 'hotfix/3494' into develop
Close #3494
f05f385
@weierophinney weierophinney Merge branch 'feature/StringUtils_hasPcreUnicodeSupport' of git://git…
…hub.com/marc-mabe/zf2 into feature/3495
a16eba1
@weierophinney weierophinney [#3495] Use StringUtils::hasPcreUnicodeSupport
- Updated Filter classes to use StringUtils::hasPcreUnicodeSupport
- AbstractFilter::hasPcreUnicodeSupport now proxies to
  StringUtils::hasPcreUnicodeSupport
  - docblock marks the method as deprecated
- Added zendframework/zend-stdlib to composer.json (should have been
  there regardless)
6e58907
@weierophinney weierophinney Merge branch 'feature/3495' into develop
Close #3495
f4a94bb
@weierophinney weierophinney Merge branch 'hotfix/missingUseStatements' of git://github.com/marc-m…
…abe/zf2 into hotfix/3496
d5820b9
@weierophinney weierophinney Merge branch 'hotfix/3496' into develop
Close #3496
d1e0897
@ralphschindler ralphschindler Fixed copyright year for Oci8 Driver 6a62913
@weierophinney weierophinney Merge branch 'stream' of git://github.com/prolic/zf2 into hotfix/3498 f08d0f8
@weierophinney weierophinney [#3498] Minor logic changes
- Cache return of method call -- prevents multiple fetches
- use "null !==" instead of "!is_null" (internal consistency)
8515df8
@weierophinney weierophinney Merge branch 'hotfix/3498' into develop
Close #3498
1432ed3
@weierophinney weierophinney Merge branch 'hotfix/3499' into develop
Forward port #3499
19d9156
@blanchonvincent blanchonvincent Fix special key "view_helper_config" 73c4034
@Maks3w Maks3w Forward port #3484 537f64d
@weierophinney weierophinney Merge branch 'features/port-supermessenger' of git://github.com/blanc…
…honvincent/zf2 into feature/3502

Conflicts:
	library/Zend/View/HelperPluginManager.php
ee57fc9
@weierophinney weierophinney Merge branch 'features/port-supermessenger' of git://github.com/blanc…
…honvincent/zf2 into feature/3502
39116d1
@weierophinney weierophinney [#3502] Point flashmessenger to factory class, not implementing class e8b693a
@weierophinney weierophinney Merge branch 'feature/3502' into develop
Close #3502
d66caae
@weierophinney weierophinney Removed all @category, @package, and @subpackage annotations
- Per #2743, and following on #2953 and discussion on the ML
- Also removes empty docblocks, and empty lines at the end of docblocks
- Library only; phpdoc is never run on tests anyways, and did not want to
  potentially create breakage due to test expectations that relied on
  annotations. At this time, all tests pass.
b8b7bbd
@weierophinney weierophinney Merge branch 'feature/db-oracle-driver' of git://github.com/ralphschi…
…ndler/zf2 into feature/3485
eb1a058
@weierophinney weierophinney [#3485] Strip @category, @package, and @subpackage annotations
- Pre-emptive measure, in light of #3508
- Only on new files
7a1305b
@weierophinney weierophinney [#3485] Update copyright year
- end at 2013
addbafd
@weierophinney weierophinney [#3485] CS fixes
- Trailing whitespace
0cbe9ed
@weierophinney weierophinney Merge branch 'feature/3485' into develop
Close #3485
7952179
@weierophinney weierophinney Remove category trait
- Was misspelled as "catagory", so my script missed it.
- also updated year to 2013
dd38a1b
@weierophinney weierophinney More catches from @Maks3w
- Many of the classes had malformed docblocks:

/**
* @package ...
* @subpackage ...
*/

- Some had subversion strings!
b47422f
@Maks3w Maks3w Merge branch 'feature/docblock-simplification' into develop c2aa18f
@radnan radnan replace native in_array with Stdlib 0fde1fb
@radnan radnan string/int safe inArray implementation 7778f97
@radnan radnan mark empty value as selected with form select b3d4940
@radnan radnan replace array_merge with ArrayUtils::merge eb8eabf
@spiffyjr spiffyjr Revert PR #3088 as discussed in #3265.
- Reverts a9aa0a2
- Reverts df6eb13
- Reverts 1ec40d0
517127b
@weierophinney weierophinney Merge branch 'hotfix/3513' into develop
Forward port #3513
247afaf
@weierophinney weierophinney Merge branch 'pr/revert-308' of git://github.com/spiffyjr/zf2 into ho…
…tfix/3511
ba2ecfe
@weierophinney weierophinney [#3511] Add missing import
- was missing RecursiveIteratorIterator
- Updated copyright year
499b7b4
@weierophinney weierophinney [#3511] Update copyright on reverted files
- Updates the copyright to 2013 on all files touched by revert
5c9fe94
@weierophinney weierophinney Merge branch 'hotfix/3511' into develop
Close #3511
Fixes #3265
aa22c2b
@weierophinney weierophinney Merge branch 'patch-1' of git://github.com/radnan/zf2 into hotfix/3510 0054079
@weierophinney weierophinney Merge branch 'hotfix/3510' into develop
Close #3510
Fixes #3370
2adf713
@weierophinney weierophinney Merge branch 'patch-4' of git://github.com/radnan/zf2 into feature/3509 d0e18c2
@weierophinney weierophinney Merge branch 'feature/3509' into develop
Close #3509
Fixes #3426
dcc3c04
@ralphschindler ralphschindler Initial Ibm Db2 driver classes 823e727
@ralphschindler ralphschindler Added working Ibm Db2 unit & integration tests 8c5e765
@ralphschindler ralphschindler Removed references of PDO inside IbmDb2 93d824d
@ralphschindler ralphschindler Fixed unit test groups, various variable names in Zend\Db IbmDb2 driver c37c303
@weierophinney weierophinney [#3517] CS fixes
- ran php-cs-fixer
d2265f9
@weierophinney weierophinney [#3517] File and class-level docblocks
- Removed all @package, @subpackage, and @category annotations
- Ensure year is 2013
- Ensure all files have file-level docblocks
f91b4ae
@weierophinney weierophinney [#3517] ensure all class members have docblocks 14ed79e
@weierophinney weierophinney Merge branch 'feature/3517' into develop
Close #3517
f5e47e7
@marc-mabe marc-mabe [Db] fixed use of two undefined classes/interfaces 4930be3
@samsonasik samsonasik [2.1] Fix variable Name and Resource on Oracle Driver Test 5e270a4
@samsonasik samsonasik fix trailing spaces 9782d7f
@Maks3w Maks3w Merge pull request #3524 from marc-mabe/hotfix/db_useOfUndefinedClasses
[2.1][Db] added two missing use statements
c51d3ca
@ralphschindler ralphschindler Merge branch 'patch-1' of git://github.com/prolic/zf2 into prolic-pat…
…ch-1
11a822c
@ralphschindler ralphschindler Merge pull request #3531 from samsonasik/dev.fixvarname
[2.1] Fix variable Name and Resource on Oracle Driver Test
58e8ec9
@ralphschindler ralphschindler Zend\Http\PhpEnvironment\Response:
* remove deprecation notices
c8847bd
@weierophinney
Zend Framework member
@Maks3w Maks3w closed this Jan 23, 2013
@ralphschindler
Zend Framework member

Damn, sorry- it's really hard to see what the target is in the PR form, and there is no way (current) to reassign the target.
Let's continue this inside: #3543

@ashawley

Any plans for persistent connections?

@ashawley

In the name of separation of responsibilities, the resource type should probably be checked in Statement::setResource()

@davidwindell

Ping @weierophinney this is a BC break, we've been extending this method since way before 2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment