Skip to content

Commit f3c42b1

Browse files
authored
Merge pull request #220 from nextcloud/automated/noid/stable2.7-update-workflows
[stable2.7] ci(actions): Update workflow templates from organization template repository
2 parents cfb6efe + 3179578 commit f3c42b1

32 files changed

Lines changed: 1834 additions & 486 deletions

‎.github/actions-lock.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
22
# SPDX-License-Identifier: MIT
3-
c5893d7af1998af66d22f8c171ff4448 lint-info-xml.yml
3+
023b664746d1f2e09a9aaaac772ff7f5 lint-info-xml.yml
44
870b483dbcbca59479211270d61546dd lint-php-cs.yml
55
ee2b04d185b82fe7dd6fe6d83c6c7b45 lint-php.yml
66
d676be1ed03142832d8e712962f5961c phpunit-mysql.yml

‎.github/workflows/lint-info-xml.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2828
with:
2929
persist-credentials: false
30+
sparse-checkout: |
31+
appinfo/
3032
3133
- name: Download schema
3234
run: wget https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/api/v1/release/info.xsd

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}
6666
},
6767
"require-dev": {
68-
"nextcloud/ocp": "dev-master"
68+
"nextcloud/ocp": "dev-stable32"
6969
},
7070
"autoload-dev": {
7171
"psr-4": {

‎composer.lock‎

Lines changed: 29 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/AppInfo/Application.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function __construct(array $urlParams = []) {
6565
/**
6666
* @param IRegistrationContext $context
6767
*/
68+
#[\Override]
6869
public function register(IRegistrationContext $context): void {
6970
$context->registerCapability(PublicCapabilities::class);
7071

@@ -103,6 +104,7 @@ function (GenericEvent $event) {
103104
*
104105
* @throws Throwable
105106
*/
107+
#[\Override]
106108
public function boot(IBootContext $context): void {
107109
$this->globalSiteSelector = $context->getAppContainer()->get(GlobalSiteSelector::class);
108110
$this->logger = $context->getServerContainer()->get(LoggerInterface::class);

‎lib/BackgroundJobs/UpdateLookupServer.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function __construct(
3030
$this->setTimeSensitivity(IJob::TIME_SENSITIVE);
3131
}
3232

33+
#[\Override]
3334
protected function run($argument) {
3435
if (!$this->globalSiteSelector->isSlave()) {
3536
return;

‎lib/Command/GlobalScaleDiscovery.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,15 @@ public function __construct(
2525
parent::__construct();
2626
}
2727

28+
#[\Override]
2829
protected function configure(): void {
2930
parent::configure();
3031
$this->setName('globalsiteselector:discovery')
3132
->addOption('current', '', InputOption::VALUE_NONE, 'display current data')
3233
->setDescription('run a discovery request over Global Scale to get details about each instances');
3334
}
3435

36+
#[\Override]
3537
protected function execute(InputInterface $input, OutputInterface $output): int {
3638
if ($input->getOption('current')) {
3739
$output->writeln(json_encode($this->appConfig->getValueArray(Application::APP_ID, ConfigLexicon::GS_TOKENS), JSON_PRETTY_PRINT));

‎lib/Command/UsersUpdate.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function __construct(Slave $slave) {
2727
/**
2828
*
2929
*/
30+
#[\Override]
3031
protected function configure() {
3132
parent::configure();
3233
$this->setName('globalsiteselector:users:update')
@@ -40,6 +41,7 @@ protected function configure() {
4041
*
4142
* @return int
4243
*/
44+
#[\Override]
4345
protected function execute(InputInterface $input, OutputInterface $output): int {
4446
$this->slave->batchUpdate();
4547

‎lib/ConfigLexicon.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ class ConfigLexicon implements ILexicon {
1717
public const GS_TOKENS = 'globalScaleTokens';
1818
public const LOCAL_TOKEN = 'localToken';
1919

20+
#[\Override]
2021
public function getStrictness(): Strictness {
2122
return Strictness::IGNORE;
2223
}
2324

2425
/**
2526
* @inheritDoc
2627
*/
28+
#[\Override]
2729
public function getAppConfigs(): array {
2830
return [
2931
new Entry(key: self::GS_TOKENS, type: ValueType::ARRAY, defaultRaw: [], definition: 'list of token+host to navigate through GlobalScale', lazy: true),
@@ -34,6 +36,7 @@ public function getAppConfigs(): array {
3436
/**
3537
* @inheritDoc
3638
*/
39+
#[\Override]
3740
public function getUserConfigs(): array {
3841
return [
3942
];

‎lib/Listeners/AddContentSecurityPolicyListener.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public function __construct(
2929
) {
3030
}
3131

32+
#[\Override]
3233
public function handle(Event $event): void {
3334
if (!$event instanceof AddContentSecurityPolicyEvent) {
3435
return;

0 commit comments

Comments
 (0)