Skip to content

Commit 5ea10ed

Browse files
committed
Template cleanup
1 parent e9203a4 commit 5ea10ed

File tree

34 files changed

+467
-121
lines changed

34 files changed

+467
-121
lines changed

.github/workflows/template-cleanup.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

COPYRIGHT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.
33
This source code is available separately under the following licenses:
44

55
A - Ibexa Business Use License Agreement (Ibexa BUL),
6-
version 2.4 or later versions (as license terms may be updated from time to time)
6+
version 2.3 or later versions (as license terms may be updated from time to time)
77
Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,
88
as described at: https://www.ibexa.co/product
99
For the full Ibexa BUL license text, please see:

LICENSE

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1-
Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.
1+
Copyright (C) 1999-2025 Ibexa AS. All rights reserved.
2+
This source code is provided under the license bundled below.
23

3-
This source code is available separately under the following licenses:
4-
5-
A - Ibexa Business Use License Agreement (Ibexa BUL),
6-
version 2.4 or later versions (as license terms may be updated from time to time)
7-
Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,
8-
as described at: https://www.ibexa.co/product
9-
For the full Ibexa BUL license text, please see:
10-
- LICENSE-bul file placed in the root of this source code, or
11-
- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
12-
13-
AND
14-
15-
B - Ibexa Trial and Test License Agreement (Ibexa TTL),
16-
version 2.2 or later versions (as license terms may be updated from time to time)
17-
Full Ibexa TTL license text below, or online on: https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
4+
The source code is available separately under the Ibexa BUL 2.3 License,
5+
granted by having a valid Ibexa Digital Experience Platform (DXP) subscription:
6+
- https://www.ibexa.co/products
7+
- https://www.ibexa.co/software-information/licenses-and-agreements/ibexa-business-use-license-agreement-ibexa-bul-version-2.3
188

9+
To get access to the full source code under TTL license below,
10+
reach out to Ibexa AS for evaluation access:
11+
- https://www.ibexa.co/about-ibexa/contact-us
1912

2013
----------------------------------------------------------
2114

@@ -25,14 +18,14 @@ Ibexa Trial and Test License Agreement ("Ibexa TTL") Version 2.2
2518
IMPORTANT: Please read the following license agreement carefully.
2619

2720
This license agreement is between Ibexa AS (Norwegian business
28-
registration no. 981 601 564, formerly eZ Systems AS), a Norwegian company
29-
("Licensor" or "Ibexa"), and a test or trial user ("Licensee" or "you").
30-
By installing all or any portion of the software (or authorizing any other
31-
person to do so), you accept the terms and conditions of this license.
32-
If you acquired the software without an opportunity to review this license
33-
and do not accept the license, you must: (a) not use the software and (b)
34-
return or delete the software, with your certification of deletion, within
35-
thirty (30) days of the acquire date.
21+
registration no. 981 601 564), a Norwegian company ("Licensor" or "Ibexa"),
22+
and a test or trial user ("Licensee" or "you"). By installing all or any
23+
portion of the software (or authorizing any other person to do so), you
24+
accept the terms and conditions of this license. If you acquired the
25+
software without an opportunity to review this license and do not accept
26+
the license, you must: (a) not use the software and (b) return or delete
27+
the software, with your certification of deletion, within thirty (30)
28+
days of the acquire date.
3629

3730
This license agreement is entered into in connection with Licensee's
3831
participation in testing a new version of Licensor software and is valid
@@ -44,9 +37,9 @@ The parties hereby agree to the following software license terms:
4437
1. Definitions
4538

4639
"Licensed Software" means the Ibexa Digital Experience Platform (DXP)
47-
or other Ibexa software product (such as eZ Platform Enterprise Edition,
48-
eZ Publish Platform) downloaded, ordered or otherwise legally acquired
49-
(licensed) by you from Ibexa (or other party authorized by Ibexa).
40+
or other software product (such as Ibexa Commerce) downloaded, ordered or
41+
otherwise legally acquired (licensed) by Licensee from Licensor (or
42+
other party authorized by the Licensor) under these terms.
5043

5144
"Licensed Copy" means one sample of the Licensed Software.
5245

@@ -285,8 +278,8 @@ Licensee at the address provided to Licensor (or authorized
285278
representative) at the time of order, and to Licensor at
286279

287280
Attn: Software Licensing Dept/CLA,
288-
Ibexa AS,
289-
Solligata 2,
281+
Ibexa AS
282+
Solligata 2
290283
0254 Oslo
291284
Norway
292285

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
Ibexa DXP \<Package name\>
2-
====================
1+
# cloud
2+
3+
This package is part of [Ibexa DXP](https://ibexa.co).
4+
5+
To use this package, [install Ibexa DXP](https://doc.ibexa.co/en/latest/install/).
6+
7+
<!-- This package contains the ... functionality for [Ibexa DXP](ibexa.co). -->
38

49
## COPYRIGHT
10+
511
Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.
612

713
## LICENSE
14+
815
This source code is available separately under the following licenses:
916

1017
A - Ibexa Business Use License Agreement (Ibexa BUL),

behat_suites.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
imports:
2+
- ../../ibexa/behat/behat_ibexa_headless.yaml
3+
4+
browser:
5+
suites:
6+
cloud:
7+
paths:
8+
- '%paths.base%/features/browser'
9+
contexts:
10+
- Ibexa\Behat\API\Context\TestContext
11+
- Ibexa\Behat\Browser\Context\AuthenticationContext

composer.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"name": "ibexa/cloud",
3+
"license": "proprietary",
4+
"type": "ibexa-bundle",
5+
"keywords": [
6+
"ibexa-dxp"
7+
],
8+
"repositories": [
9+
{
10+
"type": "composer",
11+
"url": "https://updates.ibexa.co"
12+
}
13+
],
14+
"minimum-stability": "dev",
15+
"prefer-stable": true,
16+
"require": {
17+
"php": ">=8.3",
18+
"ibexa/core": "~5.0.x-dev",
19+
"symfony/config": "^7.3",
20+
"symfony/dependency-injection": "^7.3",
21+
"symfony/event-dispatcher": "^7.3",
22+
"symfony/http-foundation": "^7.3",
23+
"symfony/http-kernel": "^7.3",
24+
"symfony/yaml": "^7.3"
25+
},
26+
"require-dev": {
27+
"dama/doctrine-test-bundle": "^8.2",
28+
"deptrac/deptrac": "^3.0",
29+
"ibexa/behat": "~5.0.x-dev",
30+
"ibexa/code-style": "~2.1.0",
31+
"ibexa/phpstan": "~5.0.x-dev",
32+
"ibexa/rector": "~5.0.x-dev",
33+
"ibexa/test-core": "~5.0.x-dev",
34+
"phpstan/phpstan": "^2.0",
35+
"phpstan/phpstan-phpunit": "^2.0",
36+
"phpstan/phpstan-strict-rules": "^2",
37+
"phpstan/phpstan-symfony": "^2.0",
38+
"phpunit/phpunit": "^9.5",
39+
"symfony/phpunit-bridge": "^7.3"
40+
},
41+
"autoload": {
42+
"psr-4": {
43+
"Ibexa\\Bundle\\Cloud\\": "src/bundle/",
44+
"Ibexa\\Contracts\\Cloud\\": "src/contracts/",
45+
"Ibexa\\Cloud\\": "src/lib/"
46+
}
47+
},
48+
"autoload-dev": {
49+
"psr-4": {
50+
"Ibexa\\Tests\\Bundle\\Cloud\\": "tests/bundle/",
51+
"Ibexa\\Tests\\Integration\\Cloud\\": "tests/integration/",
52+
"Ibexa\\Tests\\Cloud\\": "tests/lib/"
53+
}
54+
},
55+
"scripts": {
56+
"fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php --show-progress=dots",
57+
"check-cs": "@fix-cs --dry-run",
58+
"test": "phpunit -c phpunit.xml.dist",
59+
"test-integration": "phpunit -c phpunit.integration.xml",
60+
"phpstan": "phpstan analyse -c phpstan.neon",
61+
"deptrac": "php vendor/bin/deptrac analyse"
62+
},
63+
"scripts-descriptions": {
64+
"fix-cs": "Automatically fixes code style in all files",
65+
"check-cs": "Run code style checker for all files",
66+
"test": "Run automatic tests",
67+
"test-integration": "Run integration tests",
68+
"phpstan": "Run static code analysis",
69+
"deptrac": "Run Deptrac architecture testing"
70+
},
71+
"extra": {
72+
"branch-alias": {
73+
"dev-main": "5.0.x-dev"
74+
}
75+
},
76+
"config": {
77+
"sort-packages": true,
78+
"allow-plugins": false
79+
}
80+
}

deptrac.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
deptrac:
2+
paths:
3+
- ./src
4+
layers:
5+
- name: Bundle
6+
collectors:
7+
- type: directory
8+
value: bundle/.*
9+
- name: Contracts
10+
collectors:
11+
- type: directory
12+
value: contracts/.*
13+
- name: Library
14+
collectors:
15+
- type: directory
16+
value: lib/.*
17+
ruleset:
18+
Bundle:
19+
- Bundle
20+
- Contracts
21+
- Library
22+
Contracts:
23+
- Contracts
24+
Library:
25+
- Contracts
26+
- Library
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@IbexaHeadless @IbexaExperience @IbexaCommerce
2+
Feature: An example test checking if user can login and if behat config is proper.
3+
4+
@javascript
5+
Scenario: User can log in as admin user
6+
Given I am logged as admin

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "cloud",
3+
"repository": "git@github.com:ibexa/cloud.git",
4+
"private": true,
5+
"prettier": "eslint-config-ibexa/prettier",
6+
"dependencies": {},
7+
"devDependencies": {
8+
"eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#v1.0.0"
9+
},
10+
"scripts": {
11+
"test": "yarn prettier-test && yarn eslint-test",
12+
"fix": "yarn prettier-test --write && yarn eslint-test --fix",
13+
"eslint-test": "eslint \"./src/bundle/Resources/**/*.js\"",
14+
"prettier-test": "yarn prettier \"./src/bundle/Resources/**/*.{js,scss}\" --check"
15+
}
16+
}

phpstan.neon

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
includes:
2+
- vendor/phpstan/phpstan-phpunit/extension.neon
3+
- vendor/phpstan/phpstan-symfony/extension.neon
4+
- vendor/phpstan/phpstan-strict-rules/rules.neon
5+
- vendor/ibexa/phpstan/extension.neon
6+
7+
parameters:
8+
level: 8
9+
paths:
10+
- src
11+
- tests
12+
checkMissingCallableSignature: true
13+
treatPhpDocTypesAsCertain: false

0 commit comments

Comments
 (0)