Skip to content

Update dependencies #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 0 additions & 93 deletions .drone.yml

This file was deleted.

75 changes: 75 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Deployment

on:
push:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
composer:
name: Install PHP dependencies
runs-on: ubuntu-latest
container: joomlaprojects/docker-images:php8.4
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache-php
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
- name: Install PHP dependencies
if: steps.cache-php.outputs.cache-hit != 'true'
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
composer config --global home
composer install --no-progress

code-style-php:
name: Check PHP code style
runs-on: ubuntu-latest
container: joomlaprojects/docker-images:php8.4
needs: [composer]
steps:
- uses: actions/checkout@v4
- uses: actions/cache/restore@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
- name: Check PHP code style
env:
PHP_CS_FIXER_IGNORE_ENV: true
run: vendor/bin/phpcs -p --report=full --extensions=php --standard=ruleset.xml src/ bin/ www/

phpstan:
name: Run PHPstan
runs-on: ubuntu-latest
container: joomlaprojects/docker-images:php8.4
needs: [code-style-php]
steps:
- uses: actions/checkout@v4
- uses: actions/cache/restore@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
- name: Run PHPstan
run: |
./vendor/bin/phpstan --error-format=github

deployment:
name: Deployment to server
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Update server
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd /home/fwjoomla/siteData
bin/framework update:server
65 changes: 33 additions & 32 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,48 @@
"homepage": "http://github.com/joomla/framework.joomla.org",
"license": "GPL-2.0-or-later",
"require": {
"php": "^8.1",
"php": "^8.3",
"ext-json": "*",
"ext-pdo": "*",
"fig/link-util": "^1.1",
"joomla/application": "^3.0",
"joomla/console": "^3.0",
"joomla/controller": "^3.0",
"joomla/database": "^3.0",
"joomla/di": "^3.0",
"joomla/event": "^3.0",
"joomla/filesystem": "^3.0",
"joomla/filter": "^3.0",
"joomla/github": "^3.0@dev",
"joomla/http": "^3.0",
"joomla/input": "^3.0",
"joomla/model": "^3.0",
"joomla/preload": "^3.0",
"joomla/registry": "^3.0",
"joomla/renderer": "^3.0",
"joomla/router": "^3.0",
"joomla/string": "^3.0",
"joomla/uri": "^3.0",
"joomla/utilities": "^3.0",
"joomla/view": "^3.0",
"laminas/laminas-diactoros": "^2.17",
"joomla/application": "^4.0",
"joomla/console": "^4.0",
"joomla/controller": "^4.0",
"joomla/database": "^4.0",
"joomla/di": "^4.0",
"joomla/event": "^4.0",
"joomla/filesystem": "^4.0",
"joomla/filter": "^4.0",
"joomla/github": "^4.0",
"joomla/http": "^4.0",
"joomla/input": "^4.0",
"joomla/model": "^4.0",
"joomla/preload": "^4.0",
"joomla/registry": "^4.0",
"joomla/renderer": "dev-4.x-dev",
"joomla/router": "^4.0",
"joomla/string": "^4.0",
"joomla/uri": "^4.0",
"joomla/utilities": "^4.0",
"joomla/view": "^4.0",
"laminas/laminas-diactoros": "^3.6.0",
"monolog/monolog": "^2.1",
"psr/link": "^1.0",
"psr/link": "^2.0",
"ramsey/uuid": "^4.0.1",
"robmorgan/phinx": "^0.16.1",
"symfony/asset": "^5.1.2",
"symfony/process": "^5.1.2",
"symfony/web-link": "^5.1.2",
"symfony/yaml": "^5.1.2",
"symfony/asset": "^v7.2.0",
"symfony/process": "^7.1.7.0",
"symfony/web-link": "^v7.3.0",
"symfony/yaml": "^v7.3.1",
"theiconic/php-ga-measurement-protocol": "^2.7.2",
"twig/twig": "^3.0"
"twig/twig": "^3.19.0.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.59",
"squizlabs/php_codesniffer": "~3.10",
"maximebf/debugbar": "^1.22.3",
"phpstan/phpstan": "^1.12"
"squizlabs/php_codesniffer": "^3.10",
"php-debugbar/php-debugbar": "^v2.2.4",
"phpstan/phpstan": "^2.1.19",
"phpstan/phpstan-deprecation-rules": "^2.0.3"
},
"replace": {
"paragonie/random_compat": "*"
Expand All @@ -56,7 +57,7 @@
},
"config": {
"platform": {
"php": "8.1.0"
"php": "8.3.0"
}
}
}
Loading