Skip to content

Commit

Permalink
Rework entire code structure (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin authored Oct 4, 2024
1 parent 926243c commit 5ee9957
Show file tree
Hide file tree
Showing 148 changed files with 6,091 additions and 4,814 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
on:
push:
branches: [ 'master' ]
pull_request:
branches: [ 'master' ]

permissions:
contents: read

jobs:
run:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-versions: [ '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]

name: Run Unit Test on PHP ${{ matrix.php-versions }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Check the PHP version
run: php -v

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run test suite
run: vendor/bin/phpunit --coverage-clover=coverage.clover

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
.php-cs-fixer.cache
.phpintel
.phpunit.result.cache
build
combustor.bak
combustor.yml
composer.lock
docs
tests/Fixture/Sample/controllers
tests/Fixture/Sample/models
tests/Fixture/Sample/views
vendor
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

All notable changes to `Combustor` will be documented in this file.

## [1.3.0](https://github.com/rougin/transcribe/compare/v1.2.4...v1.3.0) - Unreleased

### Added
- Command for creating `combustor.yml` configuration file
- Fields that can be excluded through `excluded_files`
- Specify customized `application` path using `app_path`

### Changed
- Code coverage provider to `Codecov`
- Code documentation by `php-cs-fixer`
- Improved code quality by `phpstan`
- Main argument `name` to `table` in `Commands`
- Simplified code structure
- Workflow provider to `Github Actions`

### Removed
- Options to strictly conform in coding style of `Codeigniter`:
- `--camel`
- `--keep`
- `--lowercase`
- `CONTRIBUTING.md`

## [1.2.4](https://github.com/rougin/combustor/compare/v1.2.3...v1.2.4) - 2018-04-18

### Fixed
Expand Down
22 changes: 0 additions & 22 deletions CONDUCT.md

This file was deleted.

29 changes: 0 additions & 29 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Rougin Gutib
Copyright (c) Rougin Gutib

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 5ee9957

Please sign in to comment.