Skip to content

Commit f2ac77b

Browse files
Merge branch '4.x-dev' into update-resposne-class
2 parents 506bf34 + 57db085 commit f2ac77b

21 files changed

+401
-270
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# Unix-style newlines with a newline ending every file
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.github/ export-ignore
2+
docs/ export-ignore
3+
Tests/ export-ignore
4+
.editorconfig export-ignore
5+
.git-blame-ignore-revs export-ignore
6+
.gitattributes export-ignore
7+
.gitignore export-ignore
8+
phpstan.neon export-ignore
9+
phpunit.xml.dist export-ignore
10+
ruleset.xml export-ignore

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI Joomla Framework
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: 15 2 * * 1
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
framework-ci:
15+
uses: joomla-framework/.github/.github/workflows/workflow-v4.yml@main

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# IDE Related Files #
2+
.buildpath
3+
.project
4+
.settings
5+
.DS_Store
6+
.idea
7+
8+
# Composer and test related files #
9+
vendor/
10+
composer.phar
11+
composer.lock
12+
phpunit.xml
13+
phpunit.*.xml
14+
.phpunit.cache/
15+
.idea/
16+
/.phpunit.result.cache
17+
/.phpunit.cache/

SECURITY.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
These versions are currently being supported with security updates:
6+
7+
| Version | Supported |
8+
|---------| ------------------ |
9+
| 4.x.x | :white_check_mark: |
10+
11+
## Reporting a Vulnerability
12+
13+
To report a security issue in the core Joomla! CMS or Framework, or with a joomla.org website, please submit
14+
[the form on our portal](https://developer.joomla.org/security/contact-the-team.html) containing as much detail
15+
as possible about the issue. Additional information about our security team and their processes may be found on
16+
our [Security page](https://developer.joomla.org/security.html).
17+
18+
To report an issue in a Joomla! extension, please submit it to the [Vulnerable Extensions List](https://vel.joomla.org/submit-vel).
19+
20+
For support with a site which has been attacked, please visit the [Joomla! Forum](https://forum.joomla.org/viewforum.php?f=714).

composer.json

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
{
2-
"name": "joomla-framework/ai",
2+
"name": "joomla/ai",
33
"type": "joomla-package",
44
"description": "Joomla AI Package",
55
"keywords": ["joomla", "framework", "ai"],
66
"homepage": "https://github.com/joomla-projects/gsoc25_ai_framework",
77
"license": "GPL-2.0-or-later",
8-
"repositories": [
9-
{
10-
"type": "vcs",
11-
"url": "https://github.com/joomla-framework/http.git"
12-
}
13-
],
148
"require": {
15-
"php": "^8.1.0",
16-
"joomla/http": "~4.0",
17-
"joomla/filesystem": "~4.0"
9+
"php": "^8.3.0",
10+
"joomla/http": "^4.0",
11+
"joomla/filesystem": "^4.0"
1812
},
1913
"require-dev": {
20-
"phpunit/phpunit": "^9.5.28"
14+
"phpunit/phpunit": "^12.0",
15+
"squizlabs/php_codesniffer": "^3.10.2",
16+
"phpstan/phpstan": "^2.1.17",
17+
"phpstan/phpstan-deprecation-rules": "^2.0.3"
2118
},
2219
"autoload": {
2320
"psr-4": {

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* [Overview](overview.md)

docs/overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Overview
2+
3+
The AI package provides an abstraction layer to access the services of several AI providers.

phpstan.neon

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
includes:
3+
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
4+
5+
parameters:
6+
level: 5
7+
phpVersion: 80300
8+
reportUnmatchedIgnoredErrors: false
9+
paths:
10+
- src

phpunit.xml.dist

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit bootstrap="Tests/bootstrap.php" colors="false">
3+
<php>
4+
<env name="JOOMLA_TEST_DB_DRIVER" value="mysqli" />
5+
<env name="JOOMLA_TEST_DB_HOST" value="mysqli" />
6+
<env name="JOOMLA_TEST_DB_PORT" value="3306" />
7+
<env name="JOOMLA_TEST_DB_USER" value="root" />
8+
<env name="JOOMLA_TEST_DB_PASSWORD" value="" />
9+
<env name="JOOMLA_TEST_DB_DATABASE" value="joomla_ut" />
10+
<env name="JOOMLA_TEST_DB_PREFIX" value="" />
11+
12+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
13+
</php>
14+
<testsuites>
15+
<testsuite name="Unit">
16+
<directory>Tests/Command</directory>
17+
<directory>Tests/Monitor</directory>
18+
<directory>Tests/Query</directory>
19+
<directory>Tests/Service</directory>
20+
<file>Tests/AbstractDatabaseDriverTestCase.php</file>
21+
<file>Tests/DatabaseAwareTraitTest.php</file>
22+
<file>Tests/DatabaseExporterTest.php</file>
23+
<file>Tests/DatabaseFactoryTest.php</file>
24+
<file>Tests/DatabaseImporterTest.php</file>
25+
<file>Tests/DatabaseIteratorTest.php</file>
26+
<file>Tests/DatabaseQueryTest.php</file>
27+
</testsuite>
28+
</testsuites>
29+
</phpunit>

0 commit comments

Comments
 (0)