Skip to content

Commit

Permalink
Merge branch 'master' of github.com:akaunting/laravel-money
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Sep 25, 2024
2 parents 2046c27 + 8eba16b commit d99a9e8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/check_imports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Check Imports

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

permissions:
contents: read

jobs:
check_imports:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress && composer require imanghafoori/php-imports-analyzer --dev

- name: Check Imports
run: ./vendor/bin/check_imports
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
![Downloads](https://img.shields.io/packagist/dt/akaunting/laravel-money)
![Tests](https://img.shields.io/github/actions/workflow/status/akaunting/laravel-money/tests.yml?label=tests)
[![StyleCI](https://github.styleci.io/repos/112121508/shield?style=flat&branch=master)](https://styleci.io/repos/112121508)
[![Check Imports](https://github.com/akaunting/laravel-money/actions/workflows/check_imports.yml/badge.svg?branch=master)](https://github.com/akaunting/laravel-money/actions/workflows/check_imports.yml)
[![License](https://img.shields.io/github/license/akaunting/laravel-money)](LICENSE.md)

This package intends to provide tools for formatting and conversion monetary values in an easy, yet powerful way for Laravel projects.
This package intends to provide tools for formatting and conversion of monetary values in an easy, yet powerful way for Laravel projects.

### Why not use the `moneyphp` package?

Expand Down
1 change: 0 additions & 1 deletion tests/Rules/CurrencyRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Akaunting\Money\Currency;
use Akaunting\Money\Rules\CurrencyRule;
use Akaunting\Money\Tests\TestCase;
use Illuminate\Support\Facades\Lang;

class CurrencyRuleTest extends TestCase
{
Expand Down

0 comments on commit d99a9e8

Please sign in to comment.