Skip to content

Conversation

@nickvergessen
Copy link
Member

  • Resolves: #

Summary

TODO

  • ...

Checklist

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 except for the structures that are possibly implemented/extended by apps

@nickvergessen nickvergessen force-pushed the techdebt/noid/add-parameter-typehints branch from fe23079 to e271318 Compare September 19, 2024 17:46
@skjnldsv
Copy link
Member

Status ? :)

@provokateurin
Copy link
Member

I think we should also be able to do this with rector which would save a lot of work

@nickvergessen
Copy link
Member Author

But rector can not not do parameters only in classes and return types only on interfaces.

Copy link
Contributor

@miaulalala miaulalala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@blizzz blizzz mentioned this pull request Jan 8, 2025
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹

This was referenced Jan 14, 2025
This was referenced Jan 21, 2025
@blizzz blizzz mentioned this pull request Jan 29, 2025
1 task
@blizzz blizzz modified the milestones: Nextcloud 31, Nextcloud 32 Jan 29, 2025
@skjnldsv skjnldsv requested a review from a team as a code owner July 11, 2025 12:53
@skjnldsv skjnldsv requested review from leftybournes and nfebe and removed request for a team July 11, 2025 12:53
@skjnldsv
Copy link
Member

skjnldsv commented Jul 11, 2025

Still many issues

{
  "Exception": "Exception",
  "Message": "OCP\\AppFramework\\Controller::getResponderByHTTPHeader(): Argument #2 ($default) must be of type string, null given, called in /home/runner/work/server/server/lib/private/AppFramework/Http/Dispatcher.php on line 219 in file '/home/runner/work/server/server/lib/public/AppFramework/Controller.php' line 95",
  "Code": 0,
  "Trace": [
    {
      "file": "/home/runner/work/server/server/lib/private/AppFramework/App.php",
      "line": 161,
      "function": "dispatch",
      "class": "OC\\AppFramework\\Http\\Dispatcher",
      "type": "->",
      "args": [
        {
          "__class__": "OCA\\Testing\\Controller\\ConfigController"
        },
        "deleteAppValue"
      ]
    },
    {
      "file": "/home/runner/work/server/server/lib/private/Route/Router.php",
      "line": 321,
      "function": "main",
      "class": "OC\\AppFramework\\App",
      "type": "::",
      "args": [
        "OCA\\Testing\\Controller\\ConfigController",
        "deleteAppValue",
        {
          "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
        },
        {
          "appid": "core",
          "configkey": "shareapi_enabled",
          "_route": "ocs.testing.config.deleteappvalue"
        }
      ]
    },
    {
      "file": "/home/runner/work/server/server/ocs/v1.php",
      "line": 61,
      "function": "match",
      "class": "OC\\Route\\Router",
      "type": "->",
      "args": [
        "/ocsapp/apps/testing/api/v1/app/core/shareapi_enabled"
      ]
    }
  ],
  "File": "/home/runner/work/server/server/lib/private/AppFramework/Http/Dispatcher.php",
  "Line": 150,
  "Previous": {
    "Exception": "TypeError",
    "Message": "OCP\\AppFramework\\Controller::getResponderByHTTPHeader(): Argument #2 ($default) must be of type string, null given, called in /home/runner/work/server/server/lib/private/AppFramework/Http/Dispatcher.php on line 219",
    "Code": 0,
    "Trace": [
      {
        "file": "/home/runner/work/server/server/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 219,
        "function": "getResponderByHTTPHeader",
        "class": "OCP\\AppFramework\\Controller",
        "type": "->",
        "args": [
          "",
          null
        ]
      },
      {
        "file": "/home/runner/work/server/server/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 118,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OCA\\Testing\\Controller\\ConfigController"
          },
          "deleteAppValue"
        ]
      },
      {
        "file": "/home/runner/work/server/server/lib/private/AppFramework/App.php",
        "line": 161,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OCA\\Testing\\Controller\\ConfigController"
          },
          "deleteAppValue"
        ]
      },
      {
        "file": "/home/runner/work/server/server/lib/private/Route/Router.php",
        "line": 321,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::",
        "args": [
          "OCA\\Testing\\Controller\\ConfigController",
          "deleteAppValue",
          {
            "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
          },
          {
            "appid": "core",
            "configkey": "shareapi_enabled",
            "_route": "ocs.testing.config.deleteappvalue"
          }
        ]
      },
      {
        "file": "/home/runner/work/server/server/ocs/v1.php",
        "line": 61,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->",
        "args": [
          "/ocsapp/apps/testing/api/v1/app/core/shareapi_enabled"
        ]
      }
    ],
    "File": "/home/runner/work/server/server/lib/public/AppFramework/Controller.php",
    "Line": 95
  },
  "message": "OCP\\AppFramework\\Controller::getResponderByHTTPHeader(): Argument #2 ($default) must be of type string, null given, called in /home/runner/work/server/server/lib/private/AppFramework/Http/Dispatcher.php on line 219 in file '/home/runner/work/server/server/lib/public/AppFramework/Controller.php' line 95",
  "exception": {},
  "CustomMessage": "OCP\\AppFramework\\Controller::getResponderByHTTPHeader(): Argument #2 ($default) must be of type string, null given, called in /home/runner/work/server/server/lib/private/AppFramework/Http/Dispatcher.php on line 219 in file '/home/runner/work/server/server/lib/public/AppFramework/Controller.php' line 95"
}```

@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jul 11, 2025
This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
This was referenced Sep 25, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants