10000 fix(phpdoc) remove html code from throws phpdoc. phpstan don't like this · FriendsOfSymfony1/symfony1@e6e9f94 · GitHub
[go: up one dir, main page]

Skip to content

Commit e6e9f94

Browse files
connorhuthePanz
authored andcommitted
fix(phpdoc) remove html code from throws phpdoc. phpstan don't like this
1 parent d90dc72 commit e6e9f94

30 files changed

+79
-79
lines changed

lib/cache/sfCache.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct($options = array())
5050
*
5151
* * lifetime (optional): The default life time (default value: 86400)
5252
*
53-
* @throws <b>sfInitializationException</b> If an error occurs while initializing this sfCache instance
53+
* @throws sfInitializationException If an error occurs while initializing this sfCache instance
5454
*/
5555
public function initialize($options = array())
5656
{

lib/config/sfCacheConfigHandler.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class sfCacheConfigHandler extends sfYamlConfigHandler
2626
*
2727
* @return string Data to be written to a cache file
2828
*
29-
* @throws <b>sfConfigurationException</b> If a requested configuration file does not exist or is not readable
30-
* @throws <b>sfParseException</b> If a requested configuration file is improperly formatted
31-
* @throws <b>sfInitializationException</b> If a cache.yml key check fails
29+
* @throws sfConfigurationException If a requested configuration file does not exist or is not readable
30+
* @throws sfParseException If a requested configuration file is improperly formatted
31+
* @throws sfInitializationException If a cache.yml key check fails
3232
*/
3333
public function execute($configFiles)
3434
{

lib/config/sfConfigCache.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(sfApplicationConfiguration $configuration)
4949
*
5050
* @return string An absolute filesystem path to the cache filename associated with this specified configuration file
5151
*
52-
* @throws <b>sfConfigurationException</b> If a requested configuration file does not exist
52+
* @throws sfConfigurationException If a requested configuration file does not exist
5353
*
5454
* @see sfConfiguration::getConfigPaths()
5555
*/
@@ -175,7 +175,7 @@ public function registerConfigHandler($handler, $class, $params = array())
175175
* @param array $configs An array of absolute filesystem paths to configuration files
176176
* @param string $cache An absolute filesystem path to the cache file that will be written
177177
*
178-
* @throws <b>sfConfigurationException</b> If a requested configuration file does not have an associated configuration handler
178+
* @throws sfConfigurationException If a requested configuration file does not have an associated configuration handler
179179
*/
180180
protected function callHandler($handler, $configs, $cache)
181181
{
@@ -251,7 +251,7 @@ protected function getHandler($name)
251251
/**
252252
* Loads all configuration application and module level handlers.
253253
*
254-
* @throws <b>sfConfigurationException</b> If a configuration related error occurs
254+
* @throws sfConfigurationException If a configuration related error occurs
255255
*/
256256
protected function loadConfigHandlers()
257257
{

lib/config/sfConfigHandler.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct($parameters = null)
4141
*
4242
* @param array $parameters An associative array of initialization parameters
4343
*
44-
* @throws <b>sfInitializationException</b> If an error occurs while initializing this ConfigHandler
44+
* @throws sfInitializationException If an error occurs while initializing this ConfigHandler
4545
*/
4646
public function initialize($parameters = null)
4747
{
@@ -56,8 +56,8 @@ public function initialize($parameters = null)
5656
*
5757
* @return string Data to be written to a cache file
5858
*
59-
* @throws <b>sfConfigurationException</b> If a requested configuration file does not exist or is not readable
60-
* @throws <b>sfParseException</b> If a requested configuration file is improperly formatted
59+
* @throws sfConfigurationException If a requested configuration file does not exist or is not readable
60+
* @throws sfParseException If a requested configuration file is improperly formatted
6161
*/
6262
abstract public function execute($configFiles);
6363

lib/config/sfFactoryConfigHandler.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class sfFactoryConfigHandler extends sfYamlConfigHandler
2727
*
2828
* @return string Data to be written to a cache file
2929
*
30-
* @throws <b>sfConfigurationException</b> If a requested configuration file does not exist or is not readable
31-
* @throws <b>sfParseException</b> If a requested configuration file is improperly formatted
30+
* @throws sfConfigurationException If a requested configuration file does not exist or is not readable
31+
* @throws sfParseException If a requested configuration file is improperly formatted
3232
*/
3333
public function execute($configFiles)
3434
{

lib/config/sfSecurityConfigHandler.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class sfSecurityConfigHandler extends sfYamlConfigHandler
2424
*
2525
* @return string Data to be written to a cache file
2626
*
27-
* @throws <b>sfConfigurationException</b> If a requested configuration file does not exist or is not readable
28-
* @throws <b>sfParseException</b> If a requested configuration file is improperly formatted
29-
* @throws <b>sfInitializationException</b> If a view.yml key check fails
27+
* @throws sfConfigurationException If a requested configuration file does not exist or is not readable
28+
* @throws sfParseException If a requested configuration file is improperly formatted
29+
* @throws sfInitializationException If a view.yml key check fails
3030
*/
3131
public function execute($configFiles)
3232
{

lib/config/sfViewConfigHandler.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class sfViewConfigHandler extends sfYamlConfigHandler
2424
*
2525
* @return string Data to be written to a cache file
2626
*
27-
* @throws <b>sfConfigurationException</b> If a requested configuration file does not exist or is not readable
28-
* @throws <b>sfParseException</b> If a requested configuration file is improperly formatted
29-
* @throws <b>sfInitializationException</b> If a view.yml key check fails
27+
* @throws sfConfigurationException If a requested configuration file does not exist or is not readable
28+
* @throws sfParseException If a requested configuration file is improperly formatted
29+
* @throws sfInitializationException If a view.yml key check fails
3030
*/
3131
public function execute($configFiles)
3232
{

lib/database/sfDatabase.class.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct($parameters = array())
4646
*
4747
* @param array $parameters An associative array of initialization parameters
4848
*
49-
* @throws <b>sfInitializationException</b> If an error occurs while initializing this sfDatabase object
49+
* @throws sfInitializationException If an error occurs while initializing this sfDatabase object
5050
*/
5151
public function initialize($parameters = array())
5252
{
@@ -57,7 +57,7 @@ public function initialize($parameters = array())
5757
/**
5858
* Connects to the database.
5959
*
60-
* @throws <b>sfDatabaseException</b> If a connection could not be created
60+
* @throws sfDatabaseException If a connection could not be created
6161
*/
6262
abs B41A tract public function connect();
6363

@@ -69,7 +69,7 @@ abstract public function connect();
6969
*
7070
* @return mixed A database connection
7171
*
72-
* @throws <b>sfDatabaseException</b> If a connection could not be retrieved
72+
* @throws sfDatabaseException If a connection could not be retrieved
7373
*/
7474
public function getConnection()
7575
{
@@ -85,7 +85,7 @@ public function getConnection()
8585
*
8686
* @return mixed A database resource
8787
*
88-
* @throws <b>sfDatabaseException</b> If a resource could not be retrieved
88+
* @throws sfDatabaseException If a resource could not be retrieved
8989
*/
9090
public function getResource()
9191
{
@@ -163,7 +163,7 @@ public function setParameter($name, $value)
163163
/**
164164
* Executes the shutdown procedure.
165165
*
166-
* @throws <b>sfDatabaseException</b> If an error occurs while shutting down this database
166+
* @throws sfDatabaseException If an error occurs while shutting down this database
167167
*/
168168
abstract public function shutdown();
169169
}

lib/database/sfDatabaseManager.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(sfProjectConfiguration $configuration, $options = ar
4646
*
4747
* @param sfProjectConfiguration $configuration A sfProjectConfiguration instance
4848
*
49-
* @throws <b>sfInitializationException</b> If an error occurs while initializing this sfDatabaseManager object
49+
* @throws sfInitializationException If an error occurs while initializing this sfDatabaseManager object
5050
*/
5151
public function initialize(sfProjectConfiguration $configuration)
5252
{
@@ -90,7 +90,7 @@ public function setDatabase($name, sfDatabase $database)
9090
*
9191
* @return mixed A Database instance
9292
*
93-
* @throws <b>sfDatabaseException</b> If the requested database name does not exist
93+
* @throws sfDatabaseException If the requested database name does not exist
9494
*/
9595
public function getDatabase($name = 'default')
9696
{
@@ -115,7 +115,7 @@ public function getNames()
115115
/**
116116
* Executes the shutdown procedure.
117117
*
118-
* @throws <b>sfDatabaseException</b> If an error occurs while shutting down this DatabaseManager
118+
* @throws sfDatabaseException If an error occurs while shutting down this DatabaseManager
119119
*/
120120
public function shutdown()
121121
{

lib/database/sfMySQLDatabase.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class sfMySQLDatabase extends sfDatabase
3030
/**
3131
* Connects to the database.
3232
*
33-
* @throws <b>sfDatabaseException</b> If a connection could not be created
33+
* @throws sfDatabaseException If a connection could not be created
3434
*/
3535
public function connect()
3636
{
@@ -77,7 +77,7 @@ public function connect()
7777
/**
7878
* Execute the shutdown procedure.
7979
*
80-
* @throws <b>sfDatabaseException</b> If an error occurs while shutting down this database
80+
* @throws sfDatabaseException If an error occurs while shutting down this database
8181
*/
8282
public function shutdown()
8383
{

0 commit comments

Comments
 (0)
0