Skip to content
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

Added code analyzer #8

Closed
Changes from 13 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ae0e855
Added code analyzer
Ambareen09 Oct 14, 2022
3f7dcc1
code fix till level 4
Ambareen09 Oct 25, 2022
b8e9e0b
level 5 checks fixed
Ambareen09 Oct 26, 2022
390e140
level 6 checks fixed
Ambareen09 Oct 26, 2022
4d91ca2
level 7 checks fixed
Ambareen09 Oct 26, 2022
09e361e
level 8 checks fixed
Ambareen09 Oct 26, 2022
085fede
level 7 ignored checks FIX
Ambareen09 Oct 30, 2022
b6278e9
level 8 ignored checks FIX
Ambareen09 Oct 30, 2022
e4a9c7d
Merge remote-tracking branch 'origin/main' into feat-4381-Add-Code-An…
Ambareen09 Jan 26, 2023
507f86e
Update composer.json
Ambareen09 Jan 26, 2023
29ef96d
chore: linter fixes
christyjacob4 Jan 27, 2023
40a8632
feat: phpstan fixes
christyjacob4 Jan 27, 2023
0676dd6
chore: linter fixes
christyjacob4 Jan 27, 2023
f389c9f
Update src/Utopia/Messaging/Adapter.php
christyjacob4 Jan 27, 2023
a9d83b0
Update src/Utopia/Messaging/Adapter.php
christyjacob4 Jan 27, 2023
305785d
Apply suggestions from code review
christyjacob4 Jan 27, 2023
a85971c
Apply suggestions from code review
christyjacob4 Jan 27, 2023
8a2cbda
Apply suggestions from code review
christyjacob4 Jan 27, 2023
6ff6b35
Update src/Utopia/Messaging/Adapters/SMS/TextMagic.php
christyjacob4 Jan 27, 2023
2f0c21c
Update tests/e2e/Base.php
christyjacob4 Jan 27, 2023
ad3b567
Update tests/e2e/Base.php
christyjacob4 Jan 27, 2023
4b75940
feat: fix code quality issues
christyjacob4 Feb 19, 2023
9f1acd9
Merge branch 'main' of https://github.com/utopia-php/messaging into f…
christyjacob4 Feb 19, 2023
b646039
feat: linter
christyjacob4 Feb 19, 2023
67d0887
fix: code quality issues
christyjacob4 Feb 19, 2023
dc02f71
fear: linter
christyjacob4 Feb 19, 2023
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
20 changes: 20 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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"
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -6,9 +6,10 @@
"license": "MIT",
"minimum-stability": "stable",
"scripts": {
"test": "vendor/bin/phpunit",
"test": "./vendor/bin/phpunit",
"lint": "./vendor/bin/pint --test",
"format": "./vendor/bin/pint"
"format": "./vendor/bin/pint",
"check": "./vendor/bin/phpstan analyse --level 8 src tests"
},
"autoload": {
"psr-4": {
@@ -28,7 +29,8 @@
"require-dev": {
"phpunit/phpunit": "9.5.*",
"phpmailer/phpmailer": "6.6.*",
"laravel/pint": "^1.2"
"laravel/pint": "^1.2",
"phpstan/phpstan": "^1.9"
},
"config": {
"platform": {
161 changes: 110 additions & 51 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading