Browse code

Revert Contao 5 compatibility because of notification center incompatibilities between 1.7 and 2.x

Benjamin Roth authored on08/05/2025 11:24:57
Showing1 changed files
... ...
@@ -15,11 +15,11 @@
15 15
     },
16 16
     "require": {
17 17
         "php": "^7.4 || ^8.0",
18
-        "contao/core-bundle": "^4.13 || ^5.3",
19
-        "symfony/config": "^5.4 || ^6.0 || ^7.0",
20
-        "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
21
-        "symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
22
-        "terminal42/notification_center": "^1.6 || ^2.0"
18
+        "contao/core-bundle": "^4.13",
19
+        "symfony/config": "^5.4",
20
+        "symfony/dependency-injection": "^5.4",
21
+        "symfony/http-kernel": "^5.4",
22
+        "terminal42/notification_center": "^1.7"
23 23
     },
24 24
     "require-dev": {
25 25
         "bamarni/composer-bin-plugin": "^1.5",
Browse code

Change copyright comments

Benjamin Roth authored on07/05/2025 10:31:59
Showing1 changed files
... ...
@@ -15,11 +15,11 @@
15 15
     },
16 16
     "require": {
17 17
         "php": "^7.4 || ^8.0",
18
-        "contao/core-bundle": "^4.13",
19
-        "symfony/config": "^5.4",
20
-        "symfony/dependency-injection": "^5.4",
21
-        "symfony/http-kernel": "^5.4",
22
-        "terminal42/notification_center": "1.6.10"
18
+        "contao/core-bundle": "^4.13 || ^5.3",
19
+        "symfony/config": "^5.4 || ^6.0 || ^7.0",
20
+        "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
21
+        "symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
22
+        "terminal42/notification_center": "^1.6 || ^2.0"
23 23
     },
24 24
     "require-dev": {
25 25
         "bamarni/composer-bin-plugin": "^1.5",
Browse code

Update

Benjamin Roth authored on26/07/2023 13:13:48
Showing1 changed files
... ...
@@ -18,7 +18,8 @@
18 18
         "contao/core-bundle": "^4.13",
19 19
         "symfony/config": "^5.4",
20 20
         "symfony/dependency-injection": "^5.4",
21
-        "symfony/http-kernel": "^5.4"
21
+        "symfony/http-kernel": "^5.4",
22
+        "terminal42/notification_center": "1.6.10"
22 23
     },
23 24
     "require-dev": {
24 25
         "bamarni/composer-bin-plugin": "^1.5",
... ...
@@ -43,7 +44,8 @@
43 44
         "allow-plugins": {
44 45
             "bamarni/composer-bin-plugin": true,
45 46
             "contao-components/installer": true,
46
-            "contao/manager-plugin": true
47
+            "contao/manager-plugin": true,
48
+            "contao-community-alliance/composer-plugin": true
47 49
         }
48 50
     },
49 51
     "extra": {
Browse code

Only use lowercase in bundle name

Benjamin Roth authored on26/07/2023 09:52:04
Showing1 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 {
2
-    "name": "vonRotenberg/contao-memberfiles-bundle",
2
+    "name": "vonrotenberg/contao-memberfiles-bundle",
3 3
     "description": "Contao bundle for managing member files",
4 4
     "license": "commercial",
5 5
     "type": "contao-bundle",
Browse code

Initial commit

Benjamin Roth authored on17/07/2023 11:30:34
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,66 @@
1
+{
2
+    "name": "vonRotenberg/contao-memberfiles-bundle",
3
+    "description": "Contao bundle for managing member files",
4
+    "license": "commercial",
5
+    "type": "contao-bundle",
6
+    "authors": [
7
+        {
8
+            "name": "Benjamin Roth",
9
+            "homepage": "https://www.vonrotenberg.de"
10
+        }
11
+    ],
12
+    "homepage": "https://www.vonrotenberg.de",
13
+    "support": {
14
+        "issues": "https://www.vonrotenberg.de"
15
+    },
16
+    "require": {
17
+        "php": "^7.4 || ^8.0",
18
+        "contao/core-bundle": "^4.13",
19
+        "symfony/config": "^5.4",
20
+        "symfony/dependency-injection": "^5.4",
21
+        "symfony/http-kernel": "^5.4"
22
+    },
23
+    "require-dev": {
24
+        "bamarni/composer-bin-plugin": "^1.5",
25
+        "contao/manager-plugin": "^2.0",
26
+        "phpunit/phpunit": "^9.5",
27
+        "symfony/phpunit-bridge": "^6.1"
28
+    },
29
+    "conflict": {
30
+        "contao/manager-plugin": "<2.0 || >=3.0"
31
+    },
32
+    "autoload": {
33
+        "psr-4": {
34
+            "vonRotenberg\\MemberfilesBundle\\": "src/"
35
+        }
36
+    },
37
+    "autoload-dev": {
38
+        "psr-4": {
39
+            "vonRotenberg\\MemberfilesBundle\\Tests\\": "tests/"
40
+        }
41
+    },
42
+    "config": {
43
+        "allow-plugins": {
44
+            "bamarni/composer-bin-plugin": true,
45
+            "contao-components/installer": true,
46
+            "contao/manager-plugin": true
47
+        }
48
+    },
49
+    "extra": {
50
+        "bamarni-bin": {
51
+            "bin-links": false,
52
+            "target-directory": "tools"
53
+        },
54
+        "contao-manager-plugin": "vonRotenberg\\MemberfilesBundle\\ContaoManager\\Plugin"
55
+    },
56
+    "scripts": {
57
+        "all": [
58
+            "@unit-tests",
59
+            "@ecs",
60
+            "@phpstan"
61
+        ],
62
+        "ecs": "@php tools/ecs/vendor/bin/ecs check src tests --config ecs.php --fix --ansi",
63
+        "phpstan": "@php tools/phpstan/vendor/bin/phpstan analyze --ansi",
64
+        "unit-tests": "@php vendor/bin/phpunit --colors=always"
65
+    }
66
+}