You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.9 KiB

3 years ago
  1. <?php
  2. /**
  3. * @copyright Copyright (c) 2016, ownCloud, Inc.
  4. *
  5. * @author Joas Schilling <coding@schilljs.com>
  6. * @author Morris Jobke <hey@morrisjobke.de>
  7. *
  8. * @license AGPL-3.0
  9. *
  10. * This code is free software: you can redistribute it and/or modify
  11. * it under the terms of the GNU Affero General Public License, version 3,
  12. * as published by the Free Software Foundation.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU Affero General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Affero General Public License, version 3,
  20. * along with this program. If not, see <http://www.gnu.org/licenses/>
  21. *
  22. */
  23. namespace OC\App\CodeChecker;
  24. class PrivateCheck extends AbstractCheck {
  25. /**
  26. * @return string
  27. */
  28. protected function getLocalDescription() {
  29. return 'private';
  30. }
  31. /**
  32. * @return array
  33. */
  34. public function getLocalClasses() {
  35. return [
  36. // classes replaced by the public api
  37. 'OC_API' => '6.0.0',
  38. 'OC_App' => '6.0.0',
  39. 'OC_AppConfig' => '6.0.0',
  40. 'OC_Avatar' => '6.0.0',
  41. 'OC_BackgroundJob' => '6.0.0',
  42. 'OC_Config' => '6.0.0',
  43. 'OC_DB' => '6.0.0',
  44. 'OC_Files' => '6.0.0',
  45. 'OC_Helper' => '6.0.0',
  46. 'OC_Hook' => '6.0.0',
  47. 'OC_Image' => '6.0.0',
  48. 'OC_JSON' => '6.0.0',
  49. 'OC_L10N' => '6.0.0',
  50. 'OC_Log' => '6.0.0',
  51. 'OC_Mail' => '6.0.0',
  52. 'OC_Preferences' => '6.0.0',
  53. 'OC_Search_Provider' => '6.0.0',
  54. 'OC_Search_Result' => '6.0.0',
  55. 'OC_Request' => '6.0.0',
  56. 'OC_Response' => '6.0.0',
  57. 'OC_Template' => '6.0.0',
  58. 'OC_User' => '6.0.0',
  59. 'OC_Util' => '6.0.0',
  60. ];
  61. }
  62. /**
  63. * @return array
  64. */
  65. public function getLocalConstants() {
  66. return [];
  67. }
  68. /**
  69. * @return array
  70. */
  71. public function getLocalFunctions() {
  72. return [];
  73. }
  74. /**
  75. * @return array
  76. */
  77. public function getLocalMethods() {
  78. return [];
  79. }
  80. }