Skip to content
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
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ body:
label: "🐘 PHP Version"
description: "What version of PHP are you running?"
options:
- PHP 7.3.x
- PHP 7.4.x
- PHP 8.0
- Different version (specify in environment)
validations:
required: true
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "CodeQL"

on: [pull_request]
jobs:
lint:
name: CodeQL
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2

- run: git checkout HEAD^2

- name: Run CodeQL
run: |
docker run --rm -v $PWD:/app composer sh -c \
"composer install --profile --ignore-platform-reqs && composer check"

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $app->run($request, $response);

## System Requirements

Utopia Framework requires PHP 7.3 or later. We recommend using the latest PHP version whenever possible.
Utopia Framework requires PHP 8.0 or later. We recommend using the latest PHP version whenever possible.

## More from Utopia

Expand Down
8 changes: 5 additions & 3 deletions composer.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
},
"scripts": {
"lint": "./vendor/bin/pint --test",
"format": "./vendor/bin/pint"
"format": "./vendor/bin/pint",
"check": "./vendor/bin/phpstan analyse -l 5 src tests"
},
"require": {
"php": ">=8.0.0"
"php": ">=8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5.25",
"vimeo/psalm": "4.27.0",
"laravel/pint": "^1.2"
"laravel/pint": "^1.2",
"phpstan/phpstan": "1.9.x-dev"
}
}
Loading