Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AllowDynamicProperties Attribute to classes #145

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Application_Bootstrap_Bootstrap
extends Zend_Application_Bootstrap_BootstrapAbstract
{
Expand Down
1 change: 1 addition & 0 deletions packages/zend-http/library/Zend/Http/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Http_Client
{
/**
Expand Down
1 change: 1 addition & 0 deletions packages/zend-http/library/Zend/Http/Header/SetCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Http_Header_SetCookie
{

Expand Down
1 change: 1 addition & 0 deletions packages/zend-json/library/Zend/Json/Decoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Json_Decoder
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Loader_Autoloader_Resource implements Zend_Loader_Autoloader_Interface
{
/**
Expand Down
1 change: 1 addition & 0 deletions packages/zend-pdf/library/Zend/Pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf
{
/**** Class Constants ****/
Expand Down
1 change: 1 addition & 0 deletions packages/zend-pdf/library/Zend/Pdf/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Parser
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
abstract class Zend_Pdf_Resource_Font_CidFont extends Zend_Pdf_Resource_Font
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_Courier extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_CourierBold extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_CourierBoldOblique extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_CourierOblique extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_Helvetica extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_HelveticaBold extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_HelveticaBoldOblique extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_HelveticaOblique extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_Symbol extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Instance Variables ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_TimesBold extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_TimesBoldItalic extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_TimesItalic extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_TimesRoman extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Public Interface ****/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Simple_Standard_ZapfDingbats extends Zend_Pdf_Resource_Font_Simple_Standard
{
/**** Instance Variables ****/
Expand Down
1 change: 1 addition & 0 deletions packages/zend-pdf/library/Zend/Pdf/Resource/Font/Type0.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Pdf_Resource_Font_Type0 extends Zend_Pdf_Resource_Font
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Stdlib_CallbackHandler
{
/**
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/AllTests/StreamWrapper/PhpInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_AllTests_StreamWrapper_PhpInput
{
protected static $_data;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Application/Bootstrap/BootstrapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Application
*/
#[AllowDynamicProperties]
class Zend_Application_Bootstrap_BootstrapTest extends PHPUnit_Framework_TestCase
{
public static function main()
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Cache/ClassFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public function throwException()
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Cache
*/
#[AllowDynamicProperties]
class Zend_Cache_ClassFrontendTest extends PHPUnit_Framework_TestCase
{
private $_instance1;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Cache/CoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Cache
*/
#[AllowDynamicProperties]
class Zend_Cache_CoreTest extends PHPUnit_Framework_TestCase
{
private $_instance;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Cache/FileFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Cache
*/
#[AllowDynamicProperties]
class Zend_Cache_FileFrontendTest extends PHPUnit_Framework_TestCase {

private $_instance1;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Cache/FunctionFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function foobar($param1, $param2)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Cache
*/
#[AllowDynamicProperties]
class Zend_Cache_FunctionFrontendTest extends PHPUnit_Framework_TestCase {

private $_instance;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Cache/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Cache_ManagerTest extends PHPUnit_Framework_TestCase
{

Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Cache/OutputFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Cache
*/
#[AllowDynamicProperties]
class Zend_Cache_OutputFrontendTest extends PHPUnit_Framework_TestCase {

private $_instance;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Cache/PageFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Cache
*/
#[AllowDynamicProperties]
class Zend_Cache_PageFrontendTest extends PHPUnit_Framework_TestCase {

private $_instance;
Expand Down
2 changes: 2 additions & 0 deletions tests/Zend/Captcha/DumbTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Captcha
*/
#[AllowDynamicProperties]
class Zend_Captcha_DumbTest extends PHPUnit_Framework_TestCase
{
/**
Expand Down Expand Up @@ -122,6 +123,7 @@ public function testRendersLabelUsingProvidedValue()
}
}

#[AllowDynamicProperties]
class Zend_Captcha_DumbTest_SessionContainer
{
protected static $_word;
Expand Down
2 changes: 2 additions & 0 deletions tests/Zend/Captcha/FigletTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Captcha
*/
#[AllowDynamicProperties]
class Zend_Captcha_FigletTest extends PHPUnit_Framework_TestCase
{
/**
Expand Down Expand Up @@ -315,6 +316,7 @@ public function testSetSessionWorks()
}
}

#[AllowDynamicProperties]
class Zend_Captcha_FigletTest_SessionContainer
{
protected static $_word;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Captcha/ReCaptchaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Captcha
*/
#[AllowDynamicProperties]
class Zend_Captcha_ReCaptchaTest extends PHPUnit_Framework_TestCase
{
/**
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Config/IniTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Config
*/
#[AllowDynamicProperties]
class Zend_Config_IniTest extends PHPUnit_Framework_TestCase
{
protected $_iniFileConfig;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Config/JsonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
#[AllowDynamicProperties]
class Zend_Config_JsonTest extends PHPUnit_Framework_TestCase
{
protected $_iniFileConfig;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Config/XmlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Config
*/
#[AllowDynamicProperties]
class Zend_Config_XmlTest extends PHPUnit_Framework_TestCase
{
protected $_xmlFileConfig;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Config/YamlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Config
*/
#[AllowDynamicProperties]
class Zend_Config_YamlTest extends PHPUnit_Framework_TestCase
{
public function setUp()
Expand Down
2 changes: 2 additions & 0 deletions tests/Zend/Controller/Action/Helper/AjaxContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
* @group Zend_Controller_Action
* @group Zend_Controller_Action_Helper
*/
#[AllowDynamicProperties]
class Zend_Controller_Action_Helper_AjaxContextTest extends PHPUnit_Framework_TestCase
{
/**
Expand Down Expand Up @@ -244,6 +245,7 @@ public function __call($method, $args) {
}
}

#[AllowDynamicProperties]
class Zend_Controller_Action_Helper_AjaxContextTestController extends Zend_Controller_Action
{
public $ajaxable = array(
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Controller/Action/Helper/AutoCompleteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
* @group Zend_Controller_Action
* @group Zend_Controller_Action_Helper
*/
#[AllowDynamicProperties]
class Zend_Controller_Action_Helper_AutoCompleteTest extends PHPUnit_Framework_TestCase
{
/**
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Controller/Action/Helper/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
/**
* Test class for Zend_Controller_Action_Helper_Cache
*/
#[AllowDynamicProperties]
class Zend_Controller_Action_Helper_CacheTest extends PHPUnit_Framework_TestCase
{

Expand Down
2 changes: 2 additions & 0 deletions tests/Zend/Controller/Action/Helper/ContextSwitchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
* @group Zend_Controller_Action
* @group Zend_Controller_Action_Helper
*/
#[AllowDynamicProperties]
class Zend_Controller_Action_Helper_ContextSwitchTest extends PHPUnit_Framework_TestCase
{
/**
Expand Down Expand Up @@ -921,6 +922,7 @@ public function testGetActionContextsReturnsFullListWhenArgumentIsNull()
}
}

#[AllowDynamicProperties]
class Zend_Controller_Action_Helper_ContextSwitchTestController extends Zend_Controller_Action
{
public $contextSwitch;
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Controller/Action/Helper/JsonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
* @group Zend_Controller_Action
* @group Zend_Controller_Action_Helper
*/
#[AllowDynamicProperties]
class Zend_Controller_Action_Helper_JsonTest extends PHPUnit_Framework_TestCase
{
/**
Expand Down
1 change: 1 addition & 0 deletions tests/Zend/Controller/Action/Helper/RedirectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
* @group Zend_Controller_Action
* @group Zend_Controller_Action_Helper
*/
#[AllowDynamicProperties]
class Zend_Controller_Action_Helper_RedirectorTest extends PHPUnit_Framework_TestCase
{
/**
Expand Down
Loading