Permalink
Browse files

[Propel] fixed some CS.

  • Loading branch information...
1 parent 411a0ea commit aff6e755c5881e104c753f223f57d38a135aa0ea Hugo Hamon committed May 22, 2012
Showing with 1,497 additions and 1,496 deletions.
  1. +2 −2 src/Propel/Common/Pluralizer/PluralizerInterface.php
  2. +2 −2 src/Propel/Common/Pluralizer/SimpleEnglishPluralizer.php
  3. +2 −2 src/Propel/Common/Pluralizer/StandardEnglishPluralizer.php
  4. +2 −2 src/Propel/Generator/Behavior/AlternativeCodingStandards/AlternativeCodingStandardsBehavior.php
  5. +4 −4 src/Propel/Generator/Behavior/Timestampable/TimestampableBehavior.php
  6. +2 −2 src/Propel/Generator/Behavior/Validate/ValidateBehavior.php
  7. +53 −53 src/Propel/Generator/Builder/DataModelBuilder.php
  8. +45 −45 src/Propel/Generator/Builder/Om/AbstractOMBuilder.php
  9. +3 −3 src/Propel/Generator/Builder/Om/AbstractObjectBuilder.php
  10. +7 −7 src/Propel/Generator/Builder/Om/AbstractPeerBuilder.php
  11. +14 −14 src/Propel/Generator/Builder/Om/ClassTools.php
  12. +1 −1 src/Propel/Generator/Builder/Om/ExtensionObjectBuilder.php
  13. +1 −1 src/Propel/Generator/Builder/Om/ExtensionPeerBuilder.php
  14. +2 −2 src/Propel/Generator/Builder/Om/ExtensionQueryBuilder.php
  15. +1 −1 src/Propel/Generator/Builder/Om/InterfaceBuilder.php
  16. +84 −83 src/Propel/Generator/Builder/Om/ObjectBuilder.php
  17. +43 −43 src/Propel/Generator/Builder/Om/PeerBuilder.php
  18. +13 −13 src/Propel/Generator/Builder/Om/QueryBuilder.php
  19. +1 −1 src/Propel/Generator/Builder/Om/QueryInheritanceBuilder.php
  20. +5 −5 src/Propel/Generator/Builder/Om/TableMapBuilder.php
  21. +14 −14 src/Propel/Generator/Builder/Sql/DataSQLBuilder.php
  22. +2 −2 src/Propel/Generator/Builder/Sql/Mssql/MssqlDataSQLBuilder.php
  23. +3 −3 src/Propel/Generator/Builder/Sql/Pgsql/PgsqlDataSQLBuilder.php
  24. +1 −1 src/Propel/Generator/Builder/Sql/Sqlite/SqliteDataSQLBuilder.php
  25. +4 −4 src/Propel/Generator/Builder/Util/SchemaReader.php
  26. +7 −7 src/Propel/Generator/Config/GeneratorConfig.php
  27. +4 −4 src/Propel/Generator/Config/GeneratorConfigInterface.php
  28. +3 −3 src/Propel/Generator/Config/QuickGeneratorConfig.php
  29. +2 −2 src/Propel/Generator/Config/XmlToArrayConverter.php
  30. +2 −2 src/Propel/Generator/Manager/AbstractManager.php
  31. +5 −5 src/Propel/Generator/Model/Behavior.php
  32. +11 −11 src/Propel/Generator/Model/Column.php
  33. +7 −7 src/Propel/Generator/Model/ColumnDefaultValue.php
  34. +1 −1 src/Propel/Generator/Model/ConstraintNameGenerator.php
  35. +15 −15 src/Propel/Generator/Model/Database.php
  36. +2 −2 src/Propel/Generator/Model/Diff/ColumnComparator.php
  37. +4 −4 src/Propel/Generator/Model/Diff/DatabaseComparator.php
  38. +3 −3 src/Propel/Generator/Model/Diff/IndexComparator.php
  39. +7 −7 src/Propel/Generator/Model/Diff/TableComparator.php
  40. +6 −6 src/Propel/Generator/Model/ForeignKey.php
  41. +6 −6 src/Propel/Generator/Model/Index.php
  42. +7 −7 src/Propel/Generator/Model/MappingModel.php
  43. +3 −3 src/Propel/Generator/Model/NameFactory.php
  44. +2 −2 src/Propel/Generator/Model/NameGenerator.php
  45. +9 −9 src/Propel/Generator/Model/PhpNameGenerator.php
  46. +9 −9 src/Propel/Generator/Model/PropelTypes.php
  47. +5 −5 src/Propel/Generator/Model/Schema.php
  48. +1 −1 src/Propel/Generator/Model/ScopedMappingModel.php
  49. +22 −22 src/Propel/Generator/Model/Table.php
  50. +3 −3 src/Propel/Generator/Model/VendorInfo.php
  51. +65 −60 src/Propel/Generator/Platform/DefaultPlatform.php
  52. +21 −21 src/Propel/Generator/Platform/MysqlPlatform.php
  53. +5 −5 src/Propel/Generator/Platform/OraclePlatform.php
  54. +7 −7 src/Propel/Generator/Platform/PgsqlPlatform.php
  55. +28 −28 src/Propel/Generator/Platform/PlatformInterface.php
  56. +2 −2 src/Propel/Generator/Platform/SqlitePlatform.php
  57. +15 −15 src/Propel/Generator/Reverse/AbstractSchemaParser.php
  58. +2 −2 src/Propel/Generator/Reverse/MssqlSchemaParser.php
  59. +2 −2 src/Propel/Generator/Reverse/MysqlSchemaParser.php
  60. +2 −2 src/Propel/Generator/Reverse/OracleSchemaParser.php
  61. +3 −3 src/Propel/Generator/Reverse/PgsqlSchemaParser.php
  62. +6 −6 src/Propel/Generator/Reverse/SchemaParserInterface.php
  63. +1 −1 src/Propel/Generator/Reverse/SqliteSchemaParser.php
  64. +1 −1 src/Propel/Generator/Util/QuickBuilder.php
  65. +2 −2 src/Propel/Runtime/Adapter/AdapterFactory.php
  66. +28 −28 src/Propel/Runtime/Adapter/AdapterInterface.php
  67. +9 −9 src/Propel/Runtime/Adapter/MSSQL/MssqlPropelPDO.php
  68. +11 −11 src/Propel/Runtime/Adapter/Pdo/MssqlAdapter.php
  69. +14 −14 src/Propel/Runtime/Adapter/Pdo/MysqlAdapter.php
  70. +11 −11 src/Propel/Runtime/Adapter/Pdo/OracleAdapter.php
  71. +25 −25 src/Propel/Runtime/Adapter/Pdo/PdoAdapter.php
  72. +14 −14 src/Propel/Runtime/Adapter/Pdo/PgsqlAdapter.php
  73. +9 −9 src/Propel/Runtime/Adapter/Pdo/SqliteAdapter.php
  74. +2 −2 src/Propel/Runtime/Adapter/Pdo/SqlsrvAdapter.php
  75. +7 −7 src/Propel/Runtime/Collection/ArrayCollection.php
  76. +49 −49 src/Propel/Runtime/Collection/Collection.php
  77. +6 −6 src/Propel/Runtime/Collection/ObjectCollection.php
  78. +16 −16 src/Propel/Runtime/Collection/OnDemandCollection.php
  79. +6 −6 src/Propel/Runtime/Collection/OnDemandIterator.php
  80. +3 −3 src/Propel/Runtime/Connection/ConnectionInterface.php
  81. +1 −1 src/Propel/Runtime/Connection/ConnectionManagerMasterSlave.php
  82. +23 −23 src/Propel/Runtime/Connection/ConnectionWrapper.php
  83. +5 −5 src/Propel/Runtime/Connection/ProfilerConnectionWrapper.php
  84. +4 −4 src/Propel/Runtime/Connection/ProfilerStatementWrapper.php
  85. +7 −7 src/Propel/Runtime/Connection/StatementInterface.php
  86. +11 −11 src/Propel/Runtime/Connection/StatementWrapper.php
  87. +2 −2 src/Propel/Runtime/Formatter/AbstractFormatter.php
  88. +1 −1 src/Propel/Runtime/Formatter/ArrayFormatter.php
  89. +1 −1 src/Propel/Runtime/Formatter/ObjectFormatter.php
  90. +1 −1 src/Propel/Runtime/Formatter/OnDemandFormatter.php
  91. +27 −27 src/Propel/Runtime/Map/ColumnMap.php
  92. +15 −15 src/Propel/Runtime/Map/DatabaseMap.php
  93. +16 −16 src/Propel/Runtime/Map/RelationMap.php
  94. +71 −71 src/Propel/Runtime/Map/TableMap.php
  95. +39 −39 src/Propel/Runtime/Om/BaseObject.php
  96. +80 −80 src/Propel/Runtime/Om/NodeObject.php
  97. +18 −18 src/Propel/Runtime/Om/Persistent.php
  98. +2 −2 src/Propel/Runtime/Parser/AbstractParser.php
  99. +12 −12 src/Propel/Runtime/Parser/CsvParser.php
  100. +6 −6 src/Propel/Runtime/Parser/JsonParser.php
  101. +6 −6 src/Propel/Runtime/Parser/XmlParser.php
  102. +6 −6 src/Propel/Runtime/Parser/YamlParser.php
  103. +9 −9 src/Propel/Runtime/Propel.php
  104. +119 −119 src/Propel/Runtime/Query/Criteria.php
  105. +22 −22 src/Propel/Runtime/Query/Criterion.php
  106. +15 −15 src/Propel/Runtime/Query/Join.php
  107. +64 −64 src/Propel/Runtime/Query/ModelCriteria.php
  108. +1 −1 src/Propel/Runtime/Query/ModelCriterion.php
  109. +1 −1 src/Propel/Runtime/Query/ModelJoin.php
  110. +4 −4 src/Propel/Runtime/ServiceContainer/ServiceContainerInterface.php
  111. +4 −4 src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php
  112. +43 −48 src/Propel/Runtime/Util/BasePeer.php
  113. +4 −4 src/Propel/Runtime/Util/Profiler.php
  114. +2 −2 src/Propel/Runtime/Util/PropelColumnTypes.php
  115. +5 −5 src/Propel/Runtime/Util/PropelConditionalProxy.php
  116. +3 −3 src/Propel/Runtime/Util/PropelDateTime.php
  117. +18 −18 src/Propel/Runtime/Util/PropelModelPager.php
@@ -19,8 +19,8 @@
{
/**
* Generate a plural name based on the passed in root.
- * @param string $root The root that needs to be pluralized (e.g. Author)
- * @return string The plural form of $root.
+ * @param string $root The root that needs to be pluralized (e.g. Author)
+ * @return string The plural form of $root.
*/
public function getPluralForm($root);
}
@@ -21,8 +21,8 @@ class SimpleEnglishPluralizer implements PluralizerInterface
/**
* Generate a plural name based on the passed in root.
*
- * @param string $root The root that needs to be pluralized (e.g. Author)
- * @return string The plural form of $root (e.g. Authors).
+ * @param string $root The root that needs to be pluralized (e.g. Author)
+ * @return string The plural form of $root (e.g. Authors).
*/
public function getPluralForm($root)
{
@@ -112,8 +112,8 @@ class StandardEnglishPluralizer implements PluralizerInterface
/**
* Generate a plural name based on the passed in root.
- * @param string $root The root that needs to be pluralized (e.g. Author)
- * @return string The plural form of $root (e.g. Authors).
+ * @param string $root The root that needs to be pluralized (e.g. Author)
+ * @return string The plural form of $root (e.g. Authors).
*/
public function getPluralForm($root)
{
@@ -115,8 +115,8 @@ protected function filter(&$script)
/**
* Remove inline and codeblock comments from a PHP code string
- * @param string $code The input code
- * @return string The input code, without comments
+ * @param string $code The input code
+ * @return string The input code, without comments
*/
static public function stripComments($code)
{
@@ -50,8 +50,8 @@ public function modifyTable()
/**
* Get the setter of one of the columns of the behavior
*
- * @param string $column One of the behavior colums, 'create_column' or 'update_column'
- * @return string The related setter, 'setCreatedOn' or 'setUpdatedOn'
+ * @param string $column One of the behavior colums, 'create_column' or 'update_column'
+ * @return string The related setter, 'setCreatedOn' or 'setUpdatedOn'
*/
protected function getColumnSetter($column)
{
@@ -66,7 +66,7 @@ protected function getColumnConstant($columnName, $builder)
/**
* Add code in ObjectBuilder::preUpdate
*
- * @return string The code to put at the hook
+ * @return string The code to put at the hook
*/
public function preUpdate($builder)
{
@@ -78,7 +78,7 @@ public function preUpdate($builder)
/**
* Add code in ObjectBuilder::preInsert
*
- * @return string The code to put at the hook
+ * @return string The code to put at the hook
*/
public function preInsert($builder)
{
@@ -30,7 +30,7 @@ class ValidateBehavior extends Behavior
/**
* Add behavior methods to model class
*
- * @return string
+ * @return string
*/
public function objectMethods($builder)
{
@@ -213,7 +213,7 @@ protected function addLoadValidatorMetadataMethod()
/**
* Adds the validate() method.
- * @return string The code to be added to model class
+ * @return string The code to be added to model class
*/
protected function addValidateMethod()
{
Oops, something went wrong.

0 comments on commit aff6e75

Please sign in to comment.