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

Feature/larev pint analyzer #10

Merged
merged 4 commits into from
Jun 26, 2024
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
8 changes: 8 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
with:
fetch-depth: 0

- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: vendor
key: composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
composer-

- name: Checkout repository
uses: actions/checkout@v2

Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Sample workflow for validating and linting PHP code with Laravel Pint
name: Pint

on:
push:
branches:
- 'Feature/*'

jobs:
phpstan:
runs-on: ubuntu-24.04

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: vendor
key: composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
composer-

- name: Checkout repository
uses: actions/checkout@v2

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: composer

- name: Install dependencies
run: composer install

- name: Run PHPStan
run: composer pint
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

[![Latest Version on Packagist](https://img.shields.io/packagist/v/oscabrera/model-repository.svg?style=flat-square)](https://packagist.org/packages/oscabrera/model-repository)
[![Total Downloads](https://img.shields.io/packagist/dt/oscabrera/model-repository.svg?style=flat-square)](https://packagist.org/packages/oscabrera/model-repository)

[![VitePress](https://github.com/oscabrera/model-repository/actions/workflows/deploy.yml/badge.svg)](https://github.com/oscabrera/model-repository/actions/workflows/deploy.yml)
[![PHPStan](https://github.com/oscabrera/model-repository/actions/workflows/phpstan.yml/badge.svg)](https://github.com/oscabrera/model-repository/actions/workflows/phpstan.yml)
[![Pint](https://github.com/oscabrera/model-repository/actions/workflows/pint.yml/badge.svg)](https://github.com/oscabrera/model-repository/actions/workflows/pint.yml)

[![built with Codeium](https://codeium.com/badges/main)](https://codeium.com)


Expand Down
179 changes: 0 additions & 179 deletions ci-scripts/Analyzer.php

This file was deleted.

Loading
Loading