Skip to content

Commit

Permalink
Merge pull request #177 from nextcloud/backport/176/stable26
Browse files Browse the repository at this point in the history
[stable26] build step updates
  • Loading branch information
blizzz authored Mar 7, 2023
2 parents 127579b + 816b542 commit b78c932
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"autoload": {
"psr-4": {
"OCA\\SharePoint\\": "lib/"
}
},
"config": {
"autoloader-suffix": "SharePoint",
"platform": {
"php": "8.0"
}
Expand Down
5 changes: 5 additions & 0 deletions composer/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

declare(strict_types=1);

require_once __DIR__ . '/../vendor/autoload.php';
1 change: 0 additions & 1 deletion krankerl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

before_cmds = [
"composer install --no-dev",
"composer remove --update-no-dev cweagans/composer-patches"
]
2 changes: 0 additions & 2 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

namespace OCA\SharePoint\AppInfo;

require_once __DIR__ . '/../../vendor/autoload.php';

use OCA\SharePoint\Listener\ExternalStoragesRegistrationListener;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
Expand Down

0 comments on commit b78c932

Please sign in to comment.