Skip to content

Commit f4b5ed5

Browse files
committed
Add Github Actions Workflow
Remove phan Set phpstan to v1 cleanup gitignore, rector inclusion
1 parent aa529fc commit f4b5ed5

File tree

4 files changed

+29
-353
lines changed

4 files changed

+29
-353
lines changed

.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-v3.yml@main

.gitignore

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

.phan/config.php

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

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
"joomla/registry": "^3.0",
1414
"phpunit/phpunit": "^9.5.28",
1515
"squizlabs/php_codesniffer": "^3.7.2",
16-
"phpstan/phpstan": "^2.0",
17-
"phpstan/phpstan-deprecation-rules": "^2.0",
18-
"phan/phan": "^5.4.2"
16+
"phpstan/phpstan": "1.12.27",
17+
"phpstan/phpstan-deprecation-rules": "1.2.1"
1918
},
2019
"suggest": {
2120
"joomla/database": "^3.0 Allows using database models",

0 commit comments

Comments
 (0)